WordPress.org

Ready to get started?Download WordPress

Forums

how to change the Classic theme to Fixed Width? (3 posts)

  1. wp999
    Member
    Posted 4 years ago #

    Please help!
    I am a newbie, know little about coding.
    I want to edit the classic theme to make it have a fixed width, but I cannot figure it out, can anyone help me please?
    thank you in advance!

  2. wp999
    Member
    Posted 4 years ago #

    can anyone help me?
    thanks

  3. Will White
    Member
    Posted 4 years ago #

    In your theme editor click style.css. This should pull up a list of CSS code that you can edit. Throughout the code you'll see various items listed and percentages listed to the right. You'll want to change percentages to pixels.

    EG:

    #header {
    ...somestuff...
    width:83%;
    ...somestuff...
    }

    You'll want to change it to the specific width you want:

    #header {
    ...somestuff...
    width:800px;
    ...somestuff...
    }

    Once you've done that, update the file and check out the changes it made. You'll need to tweak it for a while until you get everything just right.

Topic Closed

This topic has been closed to new replies.

About this Topic