• 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

Simple Sidebars: Styling Individual Sidebars

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 › Simple Sidebars: Styling Individual Sidebars

This topic is: not resolved

Tagged: CSS Simple Sidebars

  • This topic has 23 replies, 8 voices, and was last updated 9 years, 5 months ago by simbasounds.
Viewing 4 posts - 21 through 24 (of 24 total)
← 1 2
  • Author
    Posts
  • September 12, 2015 at 2:11 am #165266
    Beezel
    Member

    Ok, thanks a lot:). I think I am "getting there" :D.

    October 23, 2015 at 8:13 am #168832
    kategorgeous
    Member

    Did you get a response to this? I want to reduce the width of one of my simple sidebars but cannot target it.

    Thanks
    Kate


    http://www.underbrella.co.uk
    Learn from yesterday, live for today, hope for tomorrow

    October 28, 2015 at 4:06 am #169333
    Beezel
    Member

    Hi,
    sorry for the late response. Unfortunately, simple sidebars cannot be targeted with custom css. To quote precisely the answer O got from the developer "the ID is used only for registering sidebars and it does not add that ID to use to target the sidebar to use for styling with css". The only way I know is to target the specific pages/posts where the sidebar appears (as was written earlier in this thread). I have eventually done the custom styling through my child theme, that is Dynamik Website Builder, combining some of its options. Sorry I couldn't be more helpful.

    January 13, 2016 at 2:03 pm #176409
    simbasounds
    Member

    Bump this suggestion. Simple Sidebars should ideally add a unique ID or class to the whole sidebar div.

    In line 102 of the plugin it is registered missing a 'class' parameter.

    //* Cycle through created sidebars, register them as widget areas
    foreach ( (array) $_sidebars as $id => $info ) {
        genesis_register_sidebar( array(
            'name'        => esc_html( $info['name'] ),
            'id'          => $id,
            'description' => esc_html( $info['description'] ),
            'editable'    => 1,
        ) );
    }

    Not that it would help: according to the codex - Function Reference/register sidebar "This class will only appear in the source of the WordPress Widget admin page. It will not be included in the frontend of your website."

    So I guess it could add a body class? eg. .ssidebar-my-sidebar-id

  • Author
    Posts
Viewing 4 posts - 21 through 24 (of 24 total)
← 1 2
  • 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

© 2025 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