Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

icons for catogeries


  #1  
Old Sep 24, 2012, 11: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, 01:52 PM
lmilesw's Avatar
lmilesw
 
10,176 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, 02: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, 03:19 PM
lmilesw's Avatar
lmilesw
 
10,176 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, 03: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, 03: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, 03:59 PM
lmilesw's Avatar
lmilesw
 
10,176 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, 07: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, 07:07 AM
juggledad's Avatar
juggledad
 
23,765 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



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


All times are GMT -6. The time now is 04:25 PM.


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