Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   Icons in top menu (http://forum.bytesforall.com/showthread.php?t=19048)

danieln Dec 5, 2012 02:13 PM

Icons in top menu
 
Page: www.crnews.pl

I have a problem with the icons in the top menu. menus_menu1.css file entry is as follows:


#menu1 > li > a > i {
display: block;
width: 24px;
height: 24px;
margin: 0 auto 5px auto;
background: transparent url(%tpldir%/images/menu-icons-0090d3.png) 0 0 no-repeat;
}

#menu1 > li:hover > a > i {
background: transparent url(%tpldir%/images/menu-icons-0090d3.png) -24px 0 no-repeat;
}

#menu1 .page-tablety > a > i { background-position: 0px -48px ; }
#menu1 .page-laptopy > a > i { background-position: 0px -96px }
#menu1 .page-foto > a > i { background-position: 0px -120px; }
#menu1 .page-kino > a > i { background-position: 0px -144px; }
#menu1 .page-gry > a > i { background-position: 0px -144px; }
#menu1 .page-b2b > a > i { background-position: 0px -144px; }
#menu1 .page-eko > a > i { background-position: 0px -144px; }

#menu1 .page-tablety:hover > a > i { background-position: 0px -48px ; }
#menu1 .page-laptopy:hover > a > i { background-position: 0px -96px }
#menu1 .page-foto:hover > a > i { background-position: 0px -120px; }
#menu1 .page-kino:hover > a > i { background-position: 0px -144px; }
#menu1 .page-gry:hover > a > i { background-position: 0px -144px }
#menu1 .page-b2b:hover > a > i { background-position: 0px -144px; }
#menu1 .page-eko:hover > a > i { background-position: 0px -144px; }


Displays a star everywhere. Where is the mistake?

Virtualmotorpix Dec 6, 2012 05:49 AM

Where are you changing it?

juggledad Dec 6, 2012 06:29 AM

the problem is with the class names - change your permalinks to the default then to something else, check the CSS classes again and see if it works.


All times are GMT -6. The time now is 03:16 AM.

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