Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   menus with pictures (http://forum.bytesforall.com/showthread.php?t=15351)

todo1979 Sep 10, 2011 09:13 AM

menus with pictures
 
Hello everybody,
I'm facing a problem here and I need some help.
I want to add pictures to menus items. Right now I have this:

ul.rMenu li.menu-item-142 {
padding-left: 30px;
background-image: url(<?php echo $templateURI; ?>/images/question.png) !important;
}
ul.rMenu li.menu-item-142 hover{
padding-left: 30px;
background-image: url(<?php echo $templateURI; ?>/images/question.png) !important;
}

now, after I press the menu item, there is only 1 picture as I need it to be... if the menu item is not active and I hover it, there is also only 1 picture as I need it to be but, if I activate another menu item then, instead of only 1 picture displayed I get 10 of them occupying the entire width of the menu item, and I only need 1 picture to be displayed.

How can I fix that?

Thank you

lmilesw Sep 10, 2011 01:19 PM

Without a link to an example it's kind of hard to tell but it sounds like you need to set the image to not repeat.


All times are GMT -6. The time now is 02:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.