• 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

Custom sidebar width in Prose Theme

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 › Custom sidebar width in Prose Theme

This topic is: resolved

Tagged: Prose, Sidebar, Width

  • This topic has 17 replies, 3 voices, and was last updated 12 years, 8 months ago by Ajitelev.
Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • June 6, 2013 at 12:58 am #44272
    kellytuohey
    Member

    Total newbie to Genesis but I vaguely understand css, php and hooks.  I am using the prose theme and have done a bit of googling but can't seem to find an answer.  Could someone please show me how to change my sidebar width?  I realize this probably entails changing custom code somehow...

    Thanks

    Kelly

    Bare bones website:  http://www.wholeheartedmomtog.com

     

    http://www.wholeheartedmomtog.com
    June 6, 2013 at 9:29 am #44327
    rfmeier
    Member

    Kelly,

    You would have to make an adjustment to your css file. Since you are using the Content-Sidebar layout, you can adjust following css.

    /* style.css */
    .content-sidebar #content, 
    .sidebar-content #content {
    width: 590px; /* edit the width */
    }
    .sidebar {
    display: inline;
    float: right;
    font-size: 14px;
    padding: 10px 0 0;
    width: 280px; /* edit the width */
    }

    You will have to adjust the #content and #sidebar sizes so they work well together in the layout. Just remember if you will be using more sidebar layouts to consider editing those too.

    I hope this will help or point you in the right direction.


    Ryan Meier – Twitter

    June 6, 2013 at 2:35 pm #44417
    kellytuohey
    Member

    Thank you! Ryan.  That worked perfectly!  I just had to remember to take the bracketed css stuff out...

    June 6, 2013 at 2:36 pm #44418
    rfmeier
    Member

    You are welcome. Glad I could help.


    Ryan Meier – Twitter

    June 11, 2013 at 8:46 am #45250
    kellytuohey
    Member

    Hi Ryan,

     

    Not sure if you are still checking up on this, but I just realized that setting that custom sidebar width has made my entire site non-responsive.  It can't be viewed on a mobile device.  🙁  Any work around that you know of?

    Thanks!

    Kelly

    June 11, 2013 at 9:00 am #45256
    rfmeier
    Member

    Kelly,

    Is this still happening? I checked different sizes with the browser and checked it on the phone and it looks just fine.


    Ryan Meier – Twitter

    June 11, 2013 at 9:46 am #45268
    kellytuohey
    Member

    Hi Ryan,

    I just checked on my phone - iPhone 4s, using the default Safari browser and it looks like this:

    <a href="http://www.wholeheartedmomtog.com/wp-content/uploads/2013/06/image.png">screen shot</a>

    It's all zoomed in and I can't pinch it out!

    Hopefully that link works...

    Kelly

     

    June 11, 2013 at 9:47 am #45269
    kellytuohey
    Member

    screen shot
    Trying that again...

    June 11, 2013 at 9:49 am #45270
    rfmeier
    Member

    Kelly,

    I got the screenshot. That is odd. Changing the width should not have affected the mobile view because the media query will override the browser version.

    Did you happen to append the new widths to the bottom of the style.css file?


    Ryan Meier – Twitter

    June 11, 2013 at 9:56 am #45276
    kellytuohey
    Member

    I added them in the custom code box only. I also am trying to add in custom google fonts and change the h1, h2, h3 styles, so I the code in there to do that (which I copied from my old site). The @import currently isn't working (boo!).

    The code looks like this:

    /** Do not remove this line. Edit CSS below. */
    
    @import url(http://fonts.googleapis.com/css?family=Cardo|Cabin:700);
    
    /* Customize the "Heading 1" text in pages and posts: */
     h1 { font-family: "Cabin:700",  sans-serif; color: #29598a; font-size:24px; font-weight:bold; line-height:105%; }
    
    /* Customize the "Heading 2" text in pages and posts: */
    h2 { font-family: "Cabin:700",  sans-serif; color: #29598a; font-size:20px; font-weight:bold; line-height:105%; }
    
    /* Customize the "Heading 3" text in pages and posts: */
     { font-family: "Cardo",  sans-serif; color: #00000; font-size:16px; font-weight:bold; line-height:105%; text-Transform:none;}
    
    /* style.css */
    .content-sidebar #content,
    .sidebar-content #content {
    width: 670px; /* edit the width */
    }
    
    .sidebar {
    display: inline;
    float: right;
    font-size: 14px;
    padding: 10px 0 0;
    width: 200px; /* edit the width */
    }
    

    What's weird is that the little "reader" button comes up in my address bar on my phone. When I click on it, I get the mobile version WITH the correct fonts. Maybe it has something to do with the custom fonts and not the sidebar customization?

    I will try it without the font customization but it's odd that it works on your phone, but not mine!

    June 11, 2013 at 9:58 am #45278
    rfmeier
    Member

    Kelly,

    Is this how the css really is within your style.css file?

    @import url(<a href="http://fonts.googleapis.com/css?family=Cardo" rel="nofollow">http://fonts.googleapis.com/css?family=Cardo</a>|Cabin:700);

    If so, that is most likely an issue.


    Ryan Meier – Twitter

    June 11, 2013 at 9:58 am #45279
    kellytuohey
    Member

    Hi Ryan,

    Yes, that is exactly the problem.  Now to figure out what I've done wrong in the custom font part...

    Thank you!

    Kelly

    June 11, 2013 at 9:59 am #45280
    rfmeier
    Member

    Kelly,

    Try this instead;

    @import url(http://fonts.googleapis.com/css?family=Cabin:700);

    Ryan Meier – Twitter

    June 11, 2013 at 10:00 am #45282
    rfmeier
    Member

    Never mind. Its the message boards trying to filter the link.


    Ryan Meier – Twitter

    June 11, 2013 at 10:11 am #45288
    kellytuohey
    Member

    🙂  No worries.  I noticed that too.  I'm off to do some research now!

    June 11, 2013 at 10:12 am #45290
    rfmeier
    Member

    Kelly,

    For giggles, try clearing out your cache in Safari. I was able to test on another device and it still looks fine.


    Ryan Meier – Twitter

    June 11, 2013 at 10:19 am #45291
    kellytuohey
    Member

    I tried clearing my cache on my phone, but it didn't work.  So weird....

    I'll just leave the custom fonts off for now.

    August 25, 2013 at 3:38 pm #58775
    Ajitelev
    Member

    Hello rfmeier,
    i just tried the code for my site, the sidebar and content width nothing change,
    have prose theme and site link http://bloggingsaga.com

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

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