• 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

Changing Width of One Page Type

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 › General Discussion › Changing Width of One Page Type

This topic is: resolved

Tagged: blog width, modern portfolio, post width

  • This topic has 2 replies, 2 voices, and was last updated 11 years ago by suburbanite.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 14, 2015 at 8:54 am #137443
    suburbanite
    Member

    Hi all:
    I am using Modern Portfolio for my site and have gotten everything looking the way I want it to, but the actual blog page is the same width as the overall website width, and it seems too long for reading lines of text. I would like to be able to go in and add some padding or something to make the lines narrower without affecting any other pages.

    The only trick is that I'm using posts on my Portfolio page, so I don't want to change the width of posts, I only want to change the width of blog posts, which are posts set to the category called Blog.

    Hopefully that makes sense, I appreciate your help!

    http://www.angie-webb.com/blog
    January 14, 2015 at 3:37 pm #137476
    Badlywired
    Member

    Yes it makes sense.

    Inspect the body tag and you should see a classe along the lines of category-blog

    You can then style your page

    width something like body.category-blog .content-sidebar-wrap {padding left: 10%; padding-right: 10% }

    My blog post here explains a bit more about inspecting and using the body classes and the same principal can be applied to do what you need http://badlywired.com/2015/applying-styling-specific-wordpress-page/

    ....edit....

    Devil is in the detail. I actually looked at your site and think I understand your issue, it is on the single pages
    In this case there is a class on the <article> category-blog and category-photography

    So you can custom style these with article.category-blog { ... whatever ....


    My techy blog WordPress and stuff badlywired.com

    January 19, 2015 at 8:22 am #137919
    suburbanite
    Member

    Yay! Thank you so much, this worked like I charm!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ 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