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 » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Styling Category Widget


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 Mar 17, 2009, 03:58 PM
BigG
 
26 posts · Feb 2009
I would really like to style my category widget in the sidebar beyond what the theme control panels offers.
Specifically, I would like to give each category and subcategory item a background color and borders on both sides that change on rollover...basically styling them like buttons.
  #2  
Old Mar 23, 2009, 10:13 AM
BigG
 
26 posts · Feb 2009
Well I figured it out. Using the Firebug extension for Firefox, I figured out what CSS selector to add to the inserts box to target the categories widget. On mine the one that worked was:

Code:
#right #categories-381603721 .widget-content li.cat-item{}
I had to get more and more specific, and it finally worked when I added the #right selector.

I am using Category Order plugin in my Wordpress installation, so your CSS selector(s) for this may be different. But the key for me was getting more specific and adding selectors for it to work.

If you don't use Firebug already, you absolutely must start! It is an indispensable tool for looking into the structure of a page and figuring what css rules are being applied to any element. Once you have it installed you can right click on any element in a page and choose "Inspect Element" and it will show you that element in the source code. Good stuff!
  #3  
Old Mar 23, 2009, 10:41 AM
paulae's Avatar
paulae
 
1,332 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
Is Category Order working for you? I can't get it to work with Atahualpa. My categories are sorted either by ID or name, per the theme's options. I need them sorted differently but so far I have not found a plugin that will over-ride the theme's settings.

Thanks for the styling tip.

  #4  
Old Apr 16, 2009, 11:53 AM
BigG
 
26 posts · Feb 2009
Yes, Category Order seems to work fine for me.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing category order in category menu bar, not in sidebar cat. list paulae Page & Category Menu Bars 13 Mar 30, 2011 05:36 PM
[SOLVED] category widget can not display inline in v3.4 duping812 New Versions, & Updating 5 Jul 11, 2009 11:10 AM
Category title on category page, not on each post excerpt kicker paulae Excerpts, Read more, Pagination 4 Jun 22, 2009 11:33 AM
category widget reallylost Sidebars & Widgets 1 Jun 22, 2009 08:58 AM
Category ordering in widget pminner Sidebars & Widgets 2 Mar 15, 2009 07:37 AM


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


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