WordPress.org

Support

Support » How-To and Troubleshooting » Creating a Webpage, Line Spacing

Creating a Webpage, Line Spacing

  • I’m sure this is here somewhere, but I’m just not finding it. Two questions:
    1) I am new to WordPress and I am trying to put a website together. It’s going well, expect that I want to remove the “Recent Activity” and “Archives” sections that are on the left sidebar, so that it looks more like a website. I don’t plan on any blogging. I think I have to do that in code, but have no idea how.
    2) Can you adjust line spacing in your text? I can’t find how to do that.
    My page that I’m working on is http://www.ccaffordablehousingcoalition.org.

    Any help is greatly appreciated!
    Jackie

Viewing 3 replies - 1 through 3 (of 3 total)
  • The author of your theme (pressplay) did not provide an option to eliminate those widgets, so you will need to modify some code. It is easy to suppress the sidebar contents.

    To eliminate the sidebar, modify style.css near line 869, by adding ‘display: none;’, like this:

    div#sidebar {
    display:none;
    float:right;
    font-family:Tahoma,Geneva,sans-serif;
    margin:0;
    padding-top:10px;
    width:330px;
    }

    To make the posts wider, modify style.css near line 38 by changing the width, like this:

    div#wrapper {
    width:1300px;
    margin:0 auto;
    text-align:left;
    height:100%;
    }

    and near line 446 by changing the width, like this:

    div#content {
    width: 1025px;
    float:left;
    padding:20px;
    }

    To re-center the posts, modify style.css near line 27 by adding ‘margin: 0 20px 0 0;’, like this:

    body {
    margin: 0 20px 0 0;
    font-family: Georgia, serif;
    line-height:1.6em;
    font-size:.85em;
    color:#111111;
    text-align:center;
    background:url('images/header-bg.png') repeat-x;
    background-color:#ecf0d9;
    }

    You might need to play around with the width and margin numbers.

    I assume the line spacing you wish to modify is the header line for ‘Welcome to the Centre County…’. If that is correct, modify style.css near line 70 by inserting ‘line-height: 110%;’, like this:

    h3 {
    font-size:1.6em;
    line-height: 110%;
    }

    Thank you SO very much! I appreciate your know-how!

    You are welcome! Now, please use the dropdown at top right to mark this topic ‘Resolved’.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Creating a Webpage, Line Spacing’ is closed to new replies.
Skip to toolbar