Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

icons for catogeries


  #1  
Old Sep 24, 2012, 10:47 AM
pintoke88
 
4 posts · Sep 2012
Hi,

I am creating a menu using the categories and not the pages but finding a trouble trying to change the icons like you do for pages. Could someone please help me out with this.

P.S.: thank you in advance
  #2  
Old Sep 24, 2012, 12:52 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
Look in Using Menu Icons in the CSS Settings section
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Sep 24, 2012, 01:57 PM
pintoke88
 
4 posts · Sep 2012
Hi,

I tried what was given and this the code generated

/* Part 1- for default state: */
#menu1 .cat-?cat=1 > a > i { background-position: 0px 0px; }
#menu1 .cat-?cat=9 > a > i { background-position: 0px -24px; }

/* Part 2 - for hover state: */
#menu1 .cat-?cat=1:hover > a > i, #menu1 .cat-?cat=1.active > a > i { background-position: -24px 0px; }
#menu1 .cat-?cat=9:hover > a > i, #menu1 .cat-?cat=9.active > a > i { background-position: -24px -24px; }

I also entered some other no.s to get a different icon but no avail.

When tried using pages in menu the same code works fine??
Am i doing something wrong??
  #4  
Old Sep 24, 2012, 02:19 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
Do you have a menu 2 activated in the templates?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Sep 24, 2012, 02:42 PM
pintoke88
 
4 posts · Sep 2012
No,

I have created two menus "catmenu" and "pagemenu". I have assigned catmenu to Menu 1 and left the Menu 2 blank.

  #6  
Old Sep 24, 2012, 02:53 PM
pintoke88
 
4 posts · Sep 2012
Hi,

I figured out the problem

i just changed the code #menu1 .cat-?cat=1 > a > i { background-position: 0px 0px; } to

#menu1 .cat-android > a > i { background-position: 0px 0px; }

android being by category name

Thanks for ur support
  #7  
Old Sep 24, 2012, 02:59 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
What I meant is you have to code that menu into the page template(s). I not in my site at the moment but there are instructions in the theme options on how to "activate" the menus.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #8  
Old Sep 28, 2012, 06:00 AM
webwings
 
2 posts · Sep 2012
Hi, a bit of the same question, however my permalinks can't go to the nice way of having the titles mentioned, like news, instead of cat-?cat=1. So what do I have to insert into the menu_menu1.css file to get them?

Link: www.webwings.nl

Great theme! Love it, like the Atahualpa...
  #9  
Old Sep 28, 2012, 06:07 AM
juggledad's Avatar
juggledad
 
23,655 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
webwings: you need to look at a page then view the source and see what classes are created. For example, the HTML for one of your menu items is
HTML Code:
<li class="cat-sport"><a href="http://www.s9913.cp.hostnet.nl/category/sport">Sport</a></li>
so you would use 'cat-sport'. Now it is your assignment to find the others.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
catagories, menu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Menu Icons krystalls Montezuma Theme 7 Sep 22, 2012 10:46 AM
Add icons to a wordpress menubar starsailor Page & Category Menu Bars 0 Feb 25, 2010 06:30 AM
RSS icons disappear sirabi RSS, Feeds & Subscribing 1 Sep 15, 2009 09:02 AM


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


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