Jump to content
Stef's Coding Community
Susie

Extend hover color on menu

Recommended Posts

Okay, I just reworked the padding so that it will extend all the way, but I'm concerned that it will not work in all browsers. Can you guys check and let me know if the nav stays on one line for you? Thanks!

Share this post


Link to post
Share on other sites

Susie,

 

You can try adding padding-right: 51px to this:

#subnav li#menu-item-129 a

 

 

...which is around line 653.

 

 

Just keep in mind that if that last link were to be replace with another link then the #menu-item-129 will also likely change thus requiring to update the css.

Share this post


Link to post
Share on other sites

Susie, my suggestion was made prior to your changes. Doing my method will allow you to adjust that last menu link to the pixel and not break the menu itself.

Share this post


Link to post
Share on other sites

That works better. Thanks, Eddie! I've been staring at this for too long. :)

 

I didn't want to extend the menu items all the way over like that, but my client is insisting. They will just have to NOT change those links!! ;)

 

Thanks again.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...