• I’ve had users complain that they are seeing a blank page if JavaScript is disabled. All the HTML and CSS are being loaded, but the page fails to render. Can this be fixed so older devices, or users with security concerns can view the page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Terence Eden

    (@edent)

    Add the following to your custom CSS

    body {
    	opacity: 1;
    }
    
    .post-thumb img {
    	opacity: 1;
    }

    Seems really odd that the default won’t display at all. Oh well.

    There’s a comment in the virtual content.css file that says (about opacity for the body element being set to 0):

    will be turned on ( = set to ‘1’ ) with jQuery after google fonts, if any, have loaded and masonry layout, if any, was applied

    I guess this was put in so the user wouldn’t see a lot of screen redraws as the page was loading. I set mine to 1 just to try it out and I thought I detected a slight difference in the “font flashing” that affects sites using Google fonts; the flashing seemed to be more apparent at 1 than 0, but maybe it’s my imagination.

    Nope, on second thought, it didn’t seem to affect the font flashing at all.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Doesn't Work Without JavaScript’ is closed to new replies.