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

Styling Category Widget


  #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,333 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 12:07 PM.


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