- This topic has 4 replies, 2 voices, and was last updated 7 years, 4 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Here is how the site shows up: http://i57.tinypic.com/2e49d88.png
There's more than 30,000px height for the parts with picture.
I shall appreciate your help.
There are a few issues I see with your site:
1. This minified css file is listed in your source code before the doctype declaration:
<link rel="stylesheet" type="text/css" href="http://seo.tokyo.jp/wp-content/cache/minify/000000/PYxBDoAgDAQ_ZK0cfBCpTUALVRcP_N4EE2-72dlZGOrU_OjOaN10Crxfj96dUNxbIsjtZiwA7wANaC65TitvESmLV4weGLmcpgSXHI3GMn6_WNsZ5fhcX34B.css" media="all" />. Doctype should be the first HTML tag in the document. There shouldn't be anything before it. When you have text before the doctype declaration, the page becomes invalid.
2. Some of your divs have inline styles setting them to a height of 10348px. This is what I see:
<div style="height: 10348px;" class="image-section">
The second issue is probably caused by the first problem. Altitude Pro sets the height of the image-section classes with jQuery in the theme's js/home.js file. This means that at the time the site is loading, jQuery is calculating the window size at 10348px. Since we know this size is invalid, it's likely due to the fact that a plugin is inserting code before doctype and the browser cannot render the page correctly.
I would deactivate whatever plugin you are using to minify your site. It appears to be the cause of the issue. Clear all caches as well and see if the site returns to normal.
Thank you Victor,
You're right, the problem is W3 Total Cache's CSS Minification. Disabling it creates no problem.
Now since I want to minify CSS for site optimization, any idea on how to minify witout creating this issue? Coz I though Total Cache guys are working with Genesis thus no compatibility issue.
Once again, Thank you very much, Sir.
© 2023 WPEngine, Inc.