Forums

[resolved] Sidebar on right side but under content div tags (10 posts)

  1. crod310
    Member
    Posted 5 months ago #

    This is making me a little irritated. I have wordpress 3.3 and I am using twentyten theme and I need some help getting this sidebar in its proper place.

    http://www.maritzalive.com/new/

    someone please help me out.

  2. YouON
    Member
    Posted 5 months ago #

    One thing i see is the lack of a clear:both for the content. Before closing the DIV content place this piece of code.

    <div style="margin:0; padding:0; clear:both;"></div>

    This is a first fix, after that we try to find other problems :)

  3. crod310
    Member
    Posted 5 months ago #

    where do i place this?

  4. crod310
    Member
    Posted 5 months ago #

    okay i places this in the loop.php and single.php before the closing content div class, seems to not work?

  5. YouON
    Member
    Posted 5 months ago #

    You have to put this before

    </div>
    <!-- #content -->
  6. crod310
    Member
    Posted 5 months ago #

    i did that whats next?

  7. alchymyth
    The Sweeper
    Posted 5 months ago #

    start by fixing the validation errors:
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.maritzalive.com%2Fnew%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    particular the ones with 'end tag for "div" omitted'

    your code seems to have unclosed/unmatched divs - also check if these might come from post content.

    http://codex.wordpress.org/Validating_a_Website

  8. YouON
    Member
    Posted 5 months ago #

    After fixed 108 errors, there is probably a problem with width of the two columns main+right are probably to much larger than the width of the container :)

  9. crod310
    Member
    Posted 5 months ago #

    when i use firebug and check it shows that there are div classes that are closed but i tried to unclose them, did not work. I tried to change the place where the sidebar goes in loop,single goes, did not work.

    Is this just a small mistake I missed a closed div tag? I check validator and i am confused
    i also tried to change the lengths on my div tags to see if they fit into place, I have the float attributes correct, what am i missing?

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.maritzalive.com%2Fnew%2F&charset=(detect+automatically)&doctype=Inline&group=0&st=1&user-agent=W3C_Validator%2F1.2

  10. crod310
    Member
    Posted 5 months ago #

    apparently it was the container tag i needed to make smaller, it hit me when i woke up, going straight 10 hrs a day really is good to adjust and take a break.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.