Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

I can't change the menu icons (eventhough I modified the css files)


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jan 28, 2013, 07:00 PM
toolaba
 
4 posts · Jan 2013
Paris, France
Hello to everyone.
First of all, please apologize my poor english. I am not a native english speaker and I find it really difficult to read and understand what I find on the web.
I'm very enthusiastic about Montezuma. Unfortunately I can't manage to change the menu icons.
The url (a test, not consistent) :
www.woirgard.fr/blog
My main menu is made of three categories (id : 3, 7 & 4).
As I would like to have new icons instead of the star, I edit this from the "Using Menu Icons" section :


HTML Code:
/* Part 1- for default state: */
#menu1 .cat-?cat=3 > a > i { background-position: 0px -1944px; }
#menu1 .cat-?cat=7 > a > i { background-position: 0px -2352px; }
#menu1 .cat-?cat=4 > a > i { background-position: 0px -1728px; }
/* Part 2 - for hover state: */
#menu1 .cat-?cat=3:hover > a > i, #menu1 .cat-?cat=3.active > a > i { background-position: -24px -2184px; }
#menu1 .cat-?cat=7:hover > a > i, #menu1 .cat-?cat=7.active > a > i { background-position: -24px -2328px; }
#menu1 .cat-?cat=4:hover > a > i, #menu1 .cat-?cat=4.active > a > i { background-position: -24px -1752px; }

I copied this piece of code and pasted it within the menus_menu1.css file.
I did not replace any part of previously existing code, I added these lines of code.
I saved and had a look at my "new" site, but nothing changed.
Still this star, regardless which browser I'm using (Chrome, Firefox, IE)
I don't have a good standard in coding PHP and CSS, I certainly did something wrong...
But I can't see where...

Thanks in advance for your help.

toolaba

Last edited by lmilesw; Jan 28, 2013 at 08:02 PM.
  #2  
Old Jan 29, 2013, 04:47 AM
juggledad's Avatar
juggledad
 
22,077 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
what are your permalinks set to?
there is an issue with the creation of the CSS and it isn't always accurate. You should view the source of the page and make sure the CSS classes match what is being used on the page.
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Jan 29, 2013, 08:17 AM
toolaba
 
4 posts · Jan 2013
Paris, France
Thanks a lot for your reply, i could solve the problem by replacing this portion of code (and the other ones related) :
#menu1 .cat-?cat=3 > a > i { background-position: 0px -1944px; }
with :
#menu1 .cat-jour-nalisme > a > i { background-position: 0px -1944px; }

it seems that ?cat=3 did not provide what was expected...

by the way, my permalinks are set to : "article name"

toolaba

Bookmarks

Tags
css, menu icon

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Icons in top menu danieln Montezuma Theme 2 Dec 6, 2012 06:29 AM
Change Icons in Menu matejp Montezuma Theme 5 Oct 24, 2012 06:01 PM
Sub Menu item not showing eventhough sub menu page listed as sub page of parent page sanjayks Page & Category Menu Bars 8 May 5, 2012 02:34 PM
Upgrade overwrites header images and modified css files. grablife Forum How-To 2 Feb 17, 2010 05:33 AM
[SOLVED] Weird images dont change, when files changed in Dynamic Header?? Tamandua Header configuration & styling 1 Jan 23, 2010 10:28 AM


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


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