Help with page width css

Community Forums Forums Design Tips and Tricks Help with page width css

This topic is: not resolved

This topic contains 3 replies, has 3 voices, and was last updated by  blueprairie 1 year, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22423

    blueprairie
    Participant
    Post count: 14

    I am using the Serenity Child Theme and could use help finding where the width is set in the CSS for the page-sidebar setup.

    Take a look here: http://vanmeteria.server276.com/local-info/residential-info/des-moines-register-2005-census-article/

    The center page has no margin between it and the sidebar.  I’ve tried modifying several width settings in style.css but none modified this.

    Can anyone here guide me on where to change this?

    Thank you!

    - Kimberly

    #22433

    bandj
    Participant
    Post count: 138

    looks like you changed your #content-sidebar-wrap from 880px to 840px so you lost 40px. You also have your #sidebar float: left .

    change your #sidebar to float: right and then you’ll have to make the widths of either your #content, #sidebar or both smaller.


    #22447

    Frank
    Participant
    Post count: 14

    Change this:

    #sidebar {

        color: #555555;
        display: inline;
        float: left;
        font-size: 11px;
        margin: 0;
        padding: 0;
        width: 266px;

    }

    To this:
    #sidebar {

        color: #555555;
        display: inline;
        float: right;
        font-size: 11px;
        margin: 0;
        padding: 0;
        width: 250px;

    }

    And change this:

    .sidebar-content #content, .content-sidebar #content {

        width: 572px;
    }

    To this:

    .sidebar-content #content, .content-sidebar #content {

        width: 565px;

    }

    You have a total width of 840px, so if you ad 266px to the 572px, you basically have only 2px of space between content and sidebar.

    Frank

    #22461

    blueprairie
    Participant
    Post count: 14

    Thanks Frank!  Those changes did what I needed!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.