• everything worked fine until about a week ago. when loading the site, the formatting is missing and the menu turns to bullet points. I thought I had fixed it by clearing the cache but a day later it’s back to how it was.
    so far I’ve tried flushing the cache, updating and deactivating plug-ins, restoring to a backup from over a month ago, tried a different PHP.
    the site currently runs on a twenty elven child theme and is hosted by GoDaddy.
    any help is greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi bearsintexas

    There a closing bracket in the css file on line 188 that is incorrectly commented out.

    https://6xbbe2.p3cdn1.secureserver.net/wp-content/themes/twentyeleven-child/style.css

    The css should be as follows…

    #navBox {
        float: right;
        width: 78%;
        margin-top: 70px;
        margin-bottom: 20px;
    
        background-position: left center;
        background-repeat: repeat-y;
        font-family: helvetica, sans-serif;
        height: 60px;
        z-index: -99;
        
        
    background: #ffffff;
    /* background: -moz-linear-gradient(left, #ffffff 0%, #a2a5a8 23%, #a2a5a8 50%, #7a8187 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, #ffffff), color-stop(23%, #a2a5a8), color-stop(50%, #a2a5a8), color-stop(100%, #7a8187));
    background: -webkit-linear-gradient(left, #ffffff 0%, #a2a5a8 0%, #a2a5a8 50%, #7a8187 100%);
    background: -o-linear-gradient(left, #ffffff 0%, #a2a5a8 23%, #a2a5a8 50%, #7a8187 100%);
    background: -ms-linear-gradient(left, #ffffff 0%, #a2a5a8 23%, #a2a5a8 50%, #7a8187 100%);
    background: linear-gradient(to right, #ffffff 0%, #a2a5a8 23%, #a2a5a8 50%, #7a8187 100%);
    */   
    }
    Thread Starter bearsintexas

    (@bearsintexas)

    thank you for the help. I had removed these from the style sheet. any idea why you were able to find them when the current style sheet doesn’t have them?
    additionally, i commented on these out two weeks ago and then put it back to the original code. wouldn’t restoring to an older backup have solved my issue? thanks again for the help, here the section of the code currently in my style sheet

    #navBox {
        float: right;
        width: 78%;
        margin-top: 70px;
        margin-bottom: 20px;
    
        background-position: left center;
        background-repeat: repeat-y;
        font-family: helvetica, sans-serif;
        height: 60px;
        z-index: -99;
        
        
    background: #ffffff;
    background: -moz-linear-gradient(left, #ffffff 0%, #a2a5a8 23%, #a2a5a8 50%, #7a8187 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, #ffffff), color-stop(23%, #a2a5a8), color-stop(50%, #a2a5a8), color-stop(100%, #7a8187));
    background: -webkit-linear-gradient(left, #ffffff 0%, #a2a5a8 0%, #a2a5a8 50%, #7a8187 100%);
    background: -o-linear-gradient(left, #ffffff 0%, #a2a5a8 23%, #a2a5a8 50%, #7a8187 100%);
    background: -ms-linear-gradient(left, #ffffff 0%, #a2a5a8 23%, #a2a5a8 50%, #7a8187 100%);
    background: linear-gradient(to right, #ffffff 0%, #a2a5a8 23%, #a2a5a8 50%, #7a8187 100%);
    }

    You probably have a cache that hadn’t been cleared. So the wordpress version was good but the old version of the page being sent to the web was still from the cache.

    All depends on how the cache is implemented as to how it is updated.

    Cache content (html) is normally updated when a page is updated but the css and javascript may require a manual/complete reset of the cache.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Site formatting suddenly not working’ is closed to new replies.