• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Style categories list in sidebar

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Style categories list in sidebar

This topic is: not resolved

Tagged: categories, lists, Sidebar

  • This topic has 3 replies, 2 voices, and was last updated 6 years, 11 months ago by Doug Edgington.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 8, 2016 at 3:04 am #180893
    cfhjag
    Member

    Hello all! I just wonder how I can change alignment and style the categories list in the sidebar?
    The image to the left is how I would like it to look and the image to the right is the current look of my categories list.

    Sidebar Categories

    Thank you!

    March 8, 2016 at 8:12 am #180905
    Doug Edgington
    Member

    If you are trying to apply it to the categories widget only, you could use something similar to the example below. The CSS classes used to style this area on your theme may be different.

    .sidebar .widget_categories ul li::before {
    // likely a ::before Pseudo-element controlling the arrows. This could be commented out
    }
    
    .sidebar .widget_categories ul li {
    	padding: 10px 0;
    	text-align: center;
    	font-weight: bold;
    	text-transform: uppercase;
    	border-bottom: 1px solid #ccc;
    }
    
    .sidebar .widget_categories ul li a {
    	text-decoration: none;
    }

    Doug Edgington
    http://www.dougedgington.com

    March 8, 2016 at 8:32 am #180907
    cfhjag
    Member

    Thanks for your reply Doug!
    Do you think this would be in the Genesis Sample theme or in Foodie Pro style.css?

    March 8, 2016 at 10:09 am #180916
    Doug Edgington
    Member

    What theme do you have activated? You would modify the styling for whatever theme you are using. The stylesheet is located at /wp-content/themes/theme-name/style.css.
    Keep in mind that the selectors used in my example may not be the same selectors used by the theme, but you should be able use the same style declarations that I used.


    Doug Edgington
    http://www.dougedgington.com

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble