- This topic has 1 reply, 1 voice, and was last updated 5 years, 2 months ago by .
- The forum ‘Design Tips and Tricks’ 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.
I'm using the Centric Pro theme and I keep running into a loading issue: When the page loads, it runs the home.js file (which sets the height of the first widget area to be the full height of the viewport) at the end of loading, so the other widget areas initially appear in sight, then they are bumped down. Is there any way I can move this single function to process earlier? Or another non-JS way to set the .home-featured .wrap height to the size of the viewport?
SP Support suggests I load at opacity 0, then use JS to switch it to 1, but that's less desirable for my application.
Thanks in advance for any help!
To clarify/add to the question, is there any way I can move this function to the head?
© 2023 WPEngine, Inc.