How to exclude one nav bar image from inheriting padding

Community Forums Forums General Discussion How to exclude one nav bar image from inheriting padding

This topic is: not resolved

This topic contains 3 replies, has 1 voice, and was last updated by  riryrery 2 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #14964


    I’m using the corporate theme with WP 3.5.1

    I added an image to the nav bar in our customized primary navigation menu by adding this code as a custom link:

    <img width=”133″ height=”20″ style=”margin-bottom: 0px; height: 34px; padding-bottom: 0px;” ; class=”alignnone size-full wp-image-107″ alt=”image name” src=” name.png”>

    Being part of the navigation menu, it inherits 15px padding on both sides and 14px padding above and below it in a blue highlight color that shows up whenever you hover over the image.

    I’d like to remove the padding that highlights on hover but I can’t remove it completely because I still need the remaining nav menu items to keep it.

    Is there any way to exclude the hover functions from this one image on the nav bar?

    If not, is there any way to add an image to the left of the nav bar where the image sits now without too much re-doing or coding?

    Any help would be appreciated.





    oops, the site is




    Anyone? This seems like a simple CSS exclusion or something. Please help!



    There used to be answers right away in the previous forum, I noticed it moved to a new forum – is there a lack of support with StudioPress now?

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.