Support » Themes and Templates » Child theme / menu

  • Hi,
    I’ve created a child theme to my current style. Everything is working fine and the child theme was well responding….until I tried insert an image in the menubar. I’ve added below code in the Child Style.css in order to replace text with an image and nothing happened:

    #menu-item-41 a {
    text-indent: -999em;
    width: 50px;
    background: url(‘http://sphereway.com/wp-content/uploads/2013/07/logo-valise-profil.png’) center center no-repeat !important;}

    #menu-item-41 a:hover {
    background: #EFEFEF url(‘http://sphereway.com/wp-content/uploads/2013/07/logo-valise-profil.png’) center center no-repeat !important;}

    I thought that maybe something was wrong with this piece of code but then I inserted the same code in the main Style.css and it is working perfectly fine that way.

    Can anyone tell me why my child style.css is not responding to this request?

    Thanks !

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Child theme / menu’ is closed to new replies.