Home Forums Fashionic WordPress Theme Custom menu item background-color extending past sidebar on mouseover

This topic contains 2 replies, has 2 voices, and was last updated by  bree 3 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2141

    bree
    Participant

    Hi again!

    So I added a custom menu item to my navbar and its great except the background color on mouseover extends way past the sidebar unlike the normal menu. Here’s the code I added:

    .menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-1550 a  {
    display: block;
    background-image:url('http://ramadanjoy.com/wp-content/uploads/2014/01/khadija-annette-signature.png') !important;
    background-repeat: no-repeat;
    margin-left: 45px;
    height: 45px;
    text-indent: -9000px;
    }
    

    Thanks for your help!!
    Bree

    #2152

    Johnny
    Participant

    hi, please replace margin-left:45px with background-position: center; and manage adjust you background image size to align left with other menu items.
    Best

    #2156

    bree
    Participant

    Saved my bacon again- thank you. *Seriously* appreciate the great support for this theme!
    Bree

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

You must be logged in to reply to this topic.