Support » How-To and Troubleshooting » [Resolved] margins only widen upon clicking refresh

[Resolved] margins only widen upon clicking refresh

  • AsHerWorldTurns


    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!

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


    Forum Moderator

    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.



    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] margins only widen upon clicking refresh’ is closed to new replies.