WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Ten page width (5 posts)

  1. grunzster
    Member
    Posted 3 years ago #

    How do you change it so the content fits the full width of the page, or at least most of the width, when using the single column layout?

    The default display is hideous!
    Seriously, could they possibly make the left and right margins any wider?

  2. govpatel
    Member
    Posted 3 years ago #

    It is best to make changes in a child theme.
    You can do it in style.css its wrapper

    I have changed on of the website here

    this the changes I made You can the rounded corners if you want
    #wrapper {
    margin:20px 20px 20px 20px;
    background: #FFEFD5;
    padding: 0 20px;
    /* this?: */
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;

    }
    #container{
    float: left;
    width: 78%;

    }
    #primary{
    float: right;
    width: 20%;
    }

  3. grunzster
    Member
    Posted 3 years ago #

    You misunderstood me.

    I don't want it to fit the width of the browser window.
    I just want the text fit the width of the current container size, without the giant margin on both sides.

  4. grunzster
    Member
    Posted 3 years ago #

    Found it! This is what I meant.

    .one-column #content {
    margin: 0 auto;
    width: 900px;
    }

  5. greenfuture
    Member
    Posted 2 years ago #

    Exactly my question and thanks for the code

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.