WordPress.org

Ready to get started?Download WordPress

Forums

Theme sidebar and footer need positionining-help please (3 posts)

  1. richardpd
    Member
    Posted 4 years ago #

    Hi
    I have tried to adapt a basic theme for/using html5 and it worked fine in my localhost server.

    However when uploaded live at my sitechessat.richard-dickinson.com the sidebar & footer are not positioned properly. I tried to adjust container width and other style widths to correct this but with no success so far.

    I am most grateful if someone could look at this for me and advise me how to fix this. As ever I look forward to helpful replies, many thanks

  2. gr1zzly
    Member
    Posted 4 years ago #

    -- the switch to HTML 5 shouldn't make a difference as no browsers support it natively yet, so the 'unkown' doctype gets treated as <.. strict ..> (afaik).

    Typically for a right side bar the main content needs to have a right margin equal to or greater than the width of the sidebar. The sidebar container(s) is then set to 'float:right'. You then need to clear the float for the footer!

    hth

    Or can you post the relevant CSS?

  3. richardpd
    Member
    Posted 4 years ago #

    Hi gr1zzly
    Thanks for your reply!

    I do not really understand it as I am bad with css coding but it is good to know what should work-thanks! (I want to learn css / html5 /WPtheme coding).
    I tried increasing the margin in #content but that didn't work so I am still stuck (I wondered if I was missing a div somewhere as I have had that cause problems before).
    Anyay here is my stylesheet code and I would appreciate some advice:

    [CSS moderated as per the Forum Rules. Please post a link to your site instead.]

    If anyone can help me fix & understand this I would be most grateful. I look forward to helpful replies, thanks

Topic Closed

This topic has been closed to new replies.

About this Topic