Jump to content

Customizing top horizontal menu


Recommended Posts

Hi, I need some help on customising the top horizontal menu. I'm trying to centralise the whole menu, trying to achieve like what picture #3 is (see attached picture). I've tweaked the superfish-modified.css file here and there but ended up with #1 and #2 (on hover) in the picture. The alignment between the menu is not continuous. Anyone knows how can i make the whole home button length to be highlighted when the mouse hovers it instead of partially like in picture #1?

 

I'm also attaching the css file for anyone to check.

Thanks!

 

post-577414-0-42486000-1369554447_thumb.jpg

superfish-modified.css

Link to comment
Share on other sites

Hi,

You need to have the sf-menu>li>a set to display block, with a 100% width. Then, the sf-menu>li items must be wide as a percentage of the menu, depending of the number of items. Say, you have 4 items, every li must be 25% wide

Link to comment
Share on other sites

Hi androkot33,

 

Not quite actually. From your screenshot, imagine if the searchbar on the header is not there, then the menu (as in the word 'Home', 'Ipod', 'Accessories') would still be aligned to the left. I'm looking to centralize the whole menu on the header like picture #3 in my image attached earlier.

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...