[resolved] margins only widen upon clicking refresh (3 posts)

  1. AsHerWorldTurns
    Posted 3 years ago #

    I have the twenty eleven theme. I just switched my default layout from "content on left" to "one column, no sidebar." I adjusted the One Column page width to 1000px in my CSS to widen that column, and also changed the content width to 100% (in my child theme). But now it's doing a funny thing: when you first go to my blog, it has a narrow column, but once you hit refresh, it widens to the appropriate length. Why should refreshing it make a difference? How can I adjust my settings so that it always has a wide margin?

    My site is http://www.AsHerWorldTurns.com

    Thank you!

  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

    You have a CSS syntax error in this line:

    .attachment-thumbnail { float: left; margin: 25px 10px 10px 0; };

    extra semi-colon at the end.

    The page actually works and looks fine to me -- if fixing the above does not work, it may be a cache problem -- make sure to clear your browser cache and/or any caching plug-ins.

  3. AsHerWorldTurns
    Posted 3 years ago #

    Thank you! It appears to be working now so I suspect it was a cache problem.

    And thanks for pointing out the CSS syntax error! Just fixed it.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.