Support » Themes and Templates » Theme sidebar and footer need positionining-help please

  • richardpd

    (@richardpd)


    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • gr1zzly

    (@gr1zzly)

    — 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?

    richardpd

    (@richardpd)

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme sidebar and footer need positionining-help please’ is closed to new replies.