WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to Justify Blog Theme - left and right margins (7 posts)

  1. befree22
    Member
    Posted 2 years ago #

    I have theme that indents the text area for the left sidebar area and indents the text on the right side of the content area -- view
    [IMG]http://i44.tinypic.com/saw9vs.png[/IMG]

    The above image show the current alignment and the 2 black arrows show where I'd like to reposition the text for the sidebar and content area.

    I used Firebug to try and determine which css code and php page that needs to be modified so that the left and right sections of the content area are justified on the page. View [IMG]http://i39.tinypic.com/25kqxc0.png[/IMG] and [IMG]http://i39.tinypic.com/53odiw.png[/IMG]

    Could someone point me in the right direction? I can include any code php code you'd like to view more closely.

    Thanks a lot :)

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    please post a link to your site.

  3. alvaro05
    Member
    Posted 2 years ago #

    You mean you want div#l_sidebar to be always 'fixed' on the left and div#content to be 'fixed' on the right, so that if you resize the window, or have another screen resolution they will always be in the extremes of the window?

  4. befree22
    Member
    Posted 2 years ago #

    It is denisejacksonmusic.com

    div#l_sidebar is fine. It's the text in the div#l_sidebar that I want moved to the left border of the div#l_sidebar. And for the h1#post-21 moved to the right border of the div#content

    View [IMG]http://i39.tinypic.com/25kqxc0.png[/IMG] and [IMG]http://i39.tinypic.com/53odiw.png[/IMG]

  5. befree22
    Member
    Posted 2 years ago #

  6. alvaro05
    Member
    Posted 2 years ago #

    If I understand correctly, what I would do is:

    1. #l_sidebar has padding:0px 41px 0px 41px; set it to padding:0px;
    2. #content has padding: 0px 41px 20px 0px; set it to padding:0px;
    (3. #content has width: 488px; set it to width: 610px;)

    Does this solve your issue?

  7. befree22
    Member
    Posted 2 years ago #

    Hi alvaro05,

    It works! I thank you so much :)
    X0X0X0

Topic Closed

This topic has been closed to new replies.

About this Topic