WordPress.org

Ready to get started?Download WordPress

Forums

Max Magazine
Changing template width (2 posts)

  1. jodiemarie
    Member
    Posted 9 months ago #

    Hello,

    I'm completely new to using WordPress and have never used anything similar before. I'm using the Max Magazine template but would ideally like the body of the blog (sorry I don't know technical terms, if there are any) to be 1020px wide. I would also like to make the sidebar thinner. Is there any way to do this or are sizes set for each theme?

    Thank you for any advice!

  2. Simon Duncan
    Member
    Posted 9 months ago #

    Ok. Here we go.
    First off - create a child theme so that any changes that you make (such as site width) will not get overwritten if or when the theme updates. This is really important.
    To do this add in the plugin One-Click Child Theme. Then go to Appearance>Child Theme and follow the instructions. Then go back to Appearance>Themes and check that it has installed ok.
    Next you're going to make the site and side bar width changes that you want. These must be done in the new child theme stylesheet which you will find at Appearance>Editor. Click on Stylesheet and check that it is the one for the Child Theme.
    To change the width of the site you need to change the #container div. Put the following code in at the very bottom of the child theme stylesheet.

    #container {
    width: 1080px;
    }

    Next to change the width of the sidebar put the following code in right at the bottom of the child theme stylesheet

    #sidebar {
    width: 240px;
    }

    This will reduce the width of the sidebar to 240px. Change this value if you want it a different width.
    Hope this helps.
    Simon
    http://www.successability.co.uk

Reply

You must log in to post.

About this Theme

About this Topic