WordPress.org

Ready to get started?Download WordPress

Forums

[1.2.2] Sidebar and comment alignment help please (9 posts)

  1. rohitkumar
    Member
    Posted 9 years ago #

    i need help..ive been polite and as podz once said aptly titled my post...unlike this one...but life is so...doing the right thing gets u nowhere...so this time ill c how far not doing things the right way gets me :D

    http://wordpress.org/support/topic.php?id=23391

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Where's your site ?

  3. rohitkumar
    Member
    Posted 9 years ago #

    http://rohitkumar.org/blog/

    thank you for ur response...

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Right.

    Please keep your comments in this thread ONLY.

    Explain what it is you want - you may know, we do not, so explain it carefully - more detail = better chance of an answer.
    (and politeness helps too)

  5. rohitkumar
    Member
    Posted 9 years ago #

    Sorry podz, i've been flipping ever since that time i got zero respondse in another thread ( i've mentioned the link in my first post here)

    well here is my problem:

    1. do u see the sidebar on the left? the first two link categories- 'navigation' and 'other blogs' have their titles centre aligned. how do i correct this?

    im using a custom theme...which has 3 files- index.php (frm 1.2.2) comments.php (frm 1.2.2) and style.css (originally meant for 1.2.2)

    2. i would be happy if i could get the comment list to be in perfect alignment with the rest of my content...it still seems to have a 2px left margin...

    for any responses that i may get, a big thank you in advance..

  6. RustIndy
    Member
    Posted 9 years ago #

    #1. add the following line to your CSS file somewhere:

    #menu li h2 {margin-left:0px};

    The reason they look center-aligned is because they're surrounded by H2 tags, while the others are not, and H2 tags have a left margin set on them. You might need to play a little with the above rule to get it to match perfectly - it should have the same left margin as your #menu li or #menu ul rules (if they exist). This new rule will *not* interfere with any other H2 styles on your blog, since it will be specific to H2 tags within the #menu DIV that are inside a list-item (LI) tag :)

    #2. already fixed on your blog?

  7. NuclearMoose
    Member
    Posted 9 years ago #

    1. How do you "correct" centre alignment? That depends. Do you want it left-aligned, right-aligned, or justified?

    2. Your first two categories are styled as <h2> elements while the rest are not. The rest are style as part of the <ul> <li> structure in your #menu div.

  8. rohitkumar
    Member
    Posted 9 years ago #

    oh..ok thank you...

    @nuclear moose.. i wanted them left aligned...

    @Rusty Indy: oh i dunno..does the comment thingy appeat in 'perfect' alignment to u?

  9. rohitkumar
    Member
    Posted 9 years ago #

    forgot to add...im running version 1.5, not 1.2.2

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.