• Resolved koalaeva

    (@koalaeva)


    Hello!

    I’d like to change my content width size, but I’ve tried changing every possible margin and width number in my stylesheet and nothing changes.

    My website address: http://fourleafcloverblog.com

    I know this question has been asked already many times before, but none of those methods worked for my site. I created it many years ago and am having trouble remembering all the coding.

    Any help would be appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Has your question been answered? The post is marked as resolved so I can’t tell if you’ve found a solution or not.

    The content width is primarily set with some CSS for a container with the ID of wrap. Right now, the width is set to 1250px, so if you want to change the content width, start by adding a CSS rule that changes that value. for example:

    #wrap {
       width: 960px;
    }

    You want to add any new CSS rules using either a child theme or use a CSS plugin like Jetpack or Custom CSS Manager. If you make changes to the theme’s files directly, those changes will be wiped out the next time you upgrade/update the theme because of feature changes, bug fixes, or security patches.

    Thread Starter koalaeva

    (@koalaeva)

    Thank you for the reply! I did figure it out (turns out I just needed to clear my cache to see the changes). The only problem now is that my sidebars have gone to the top of the page and I’m not sure how to get them level with my posts. Any ideas?

    Is this a custom theme? The problem is that you are missing a closing DIV tag for the DIV with an ID of header; it should go somewhere towards the end of your header.php file. If you inspect the home page using a web debugging tool like Firebug or Chrome Developer Tools, you’ll see that all of your containers are inside the header DIV.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot change the content width’ is closed to new replies.