WordPress.org

Support

Support » Themes and Templates » Is it possible to change the width of the theme?

Is it possible to change the width of the theme?

  • Hi
    Is it possible to change the width of the theme? I’ve tried changing the css code to:

    body{
    width: 960px!important;
    }

    But the only effect is that the site becomes completely left alligned.

    Thanks!
    Lene

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    @esmi

    Forum Moderator

    Are you using a child theme or a custom CSS plugin?

    I know it not best practice but I just tested it directly in the editor – style.css just to check it.

    esmi

    @esmi

    Forum Moderator

    Try using Firefox with the Firebug add-on for this kind of CSS troubleshooting. Or use whatever developer tool is available in your web browser. Then make the final changes via a child theme or a custom CSS plugin.

    Thank you – I´ve already done that but can’t seem to target the code. The only result is that the sidebar(s) disappears.

    o man its too easy just give margin:0 auto;
    it will be in centerd just one thing remain in mind there is nothing float left or right

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Is it possible to change the width of the theme?’ is closed to new replies.