Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

navigation around a picture


Go to End


2 Posts   1228 Views

Avatar
HanSolo

Community Member, 87 Posts

7 September 2010 at 9:10pm

Hi I have a problem that I am trying to solve.

I have a site where the logotype is in the middel of the navigation, how would the smartest way to solve this.

Se attached image for how it would look like.

Joakim

Attached Files
Avatar
3dgoo

Community Member, 135 Posts

8 September 2010 at 6:30pm

What I would do is not control the Menu by a control, but instead write up the navigation manually, and then make sure no one changes those 4 pages.

So write out the html like:

<a href="" class="menuLink">Historia</a>
<a href="" class="menuLink">Vara produkter</a>
<a href="" id="FloraLogo">Flora</a>
<a href="" class="menuLink">Svensk sommar</a>
<a href="" class="menuLink">Fragor och svar</a>

Then control the rest through css.

This is one of many ways to do it. Hope it gives you some ideas.