• 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

Sidebar Background Color

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 › Sidebar Background Color

This topic is: not resolved

Tagged: Executive

  • This topic has 15 replies, 5 voices, and was last updated 7 years ago by tuppersex.
Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • July 22, 2013 at 7:49 pm #51970
    designbytracy
    Participant

    Is there any way that I can extend my sidebar background color to 100% of the height of the left column even if I don't have enough content in the sidebar to fill up the space? My design started from the Executive Theme.

    http://www.designbytracy.com/dev/105designstudioA/about-us/


    Tracy

    Design by Tracy | Twitter | Facebook | LinkedIn

    http://www.designbytracy.com/dev/105designstudioA/about-us/
    July 22, 2013 at 11:34 pm #51983
    dev
    Participant

    This is something people have been asking from WordPress for years.

    You could get one of those plugins that let you create and assign different sidebars to different pages and give each one a height:xxxpx in CSS, but that would be a lot of work. Maybe there is one that will do exactly what you want, but if so, I've never heard of it.

    Another way, a bit easer is to NOT show a sidebar and use the columns shortcode in a page and put what would be in the right sidebar into the far right column. I'm not sure if you can style the individual columns but I think you can.

    If you find a way, let us know.

    Dev
    http://www.NewMediaWebsiteDesign.com

    July 23, 2013 at 7:17 am #52034
    designbytracy
    Participant

    Ugh.

    I am going to be using Simple Sidebars so that I can setup a few different ones, so I might go ahead and assign the height, but I'm not really wanting to do that because I will want the content of the sidebars to be easily flexible.

    Ugh.


    Tracy

    Design by Tracy | Twitter | Facebook | LinkedIn

    July 23, 2013 at 7:42 am #52044
    designbytracy
    Participant

    Well, I figured out a way to cheat it. I added a background image to the content area with just that color behind the sidebar. It works great. I just need to test it responsively and make sure there are no issues, but think I can just drop the background for smaller screen sizes and it will be ok.


    Tracy

    Design by Tracy | Twitter | Facebook | LinkedIn

    July 23, 2013 at 8:42 am #52060
    dev
    Participant

    That seems to work well. I tried to replicate your code via Chrome/Inspect on the Agency theme:

    http://demo.studiopress.com/agency/layouts/cs

    #content-sidebar-wrap {
    background-image: url(images/content_bg.gif);
    float: left;
    width: 100%;
    }
    

    but it didn't work. You are using Executive and they are similar so I don't know what I did wrong. I could get your gif file:

    http://www.designbytracy.com/dev/105designstudioA/wp-content/themes/executive/images/content_bg.gif

    but it only displayed about 150px wide on the right... and I could not get it to widen, no matter what I did. Whatever you did, you solved a problem that a lot of people have been trying to solve.

    July 23, 2013 at 12:02 pm #52103
    designbytracy
    Participant

    That theme has a smaller width and my file was created 1140px wide. The code you used worked, it's just that the right side of the image was cutting off because it's too wide for that theme's width.


    Tracy

    Design by Tracy | Twitter | Facebook | LinkedIn

    July 23, 2013 at 12:13 pm #52107
    dev
    Participant

    I don't quite understand your analysis, but am not questioning it.

    Any idea how I can make this work for Agency theme?

    Thanks.

    July 23, 2013 at 12:16 pm #52108
    designbytracy
    Participant

    Yes, make your background image that you use 960px wide.


    Tracy

    Design by Tracy | Twitter | Facebook | LinkedIn

    July 24, 2013 at 8:29 pm #52392
    ken
    Member
    This reply has been marked as private.
    July 24, 2013 at 8:36 pm #52394
    designbytracy
    Participant

    Yes, it's posted above in the thread. I still need to work through a few responsive issues.


    Tracy

    Design by Tracy | Twitter | Facebook | LinkedIn

    July 24, 2013 at 9:29 pm #52402
    ken
    Member
    This reply has been marked as private.
    July 24, 2013 at 9:32 pm #52403
    ken
    Member
    This reply has been marked as private.
    July 25, 2013 at 9:26 am #52448
    designbytracy
    Participant

    CSS edits to the child theme are the correct way to make modifications and customize your site, making use of the parent-child heirarchy. Yes, if you were to update your child theme, it would override, but that doesn't really happen. Studiopress sends out all updates through the parent or framework Genesis so your edits will stay.


    Tracy

    Design by Tracy | Twitter | Facebook | LinkedIn

    August 7, 2013 at 7:22 pm #54782
    designbytracy
    Participant

    Just to finish this up, I wanted to note that I added some more CSS to make sure the background didn't appear on my full-width pages. Here's the complete code that I added.

    #content-sidebar-wrap {
    	background-image: url(images/content_bg.gif);
    }
    
    .full-width-content #content-sidebar-wrap {
    	background-image: none !important;
    }

    And, my site is now live so the new URL is http://105DesignStudio.com.


    Tracy

    Design by Tracy | Twitter | Facebook | LinkedIn

    September 21, 2013 at 8:30 am #63655
    michiganseo
    Member

    Thanks, Tracy. Just so you know, this helped me as well. Thanks, much!

    August 25, 2016 at 2:15 pm #192049
    tuppersex
    Member

    Thanks Tracy reuniones

  • Author
    Posts
Viewing 16 posts - 1 through 16 (of 16 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