zsawtelle1 Posted October 1, 2021 Share Posted October 1, 2021 (edited) Site URL: https://www.sweetmamasauce.com/sweet-mama-hot-sauce password for the site is: sauce i seem to have an issue with my code blocks loading in twice with the flex animation, not sure how to shut it off on just the text sections as i would still like it for the buttons and images but most of my pages are loading in, then refreshing or loading in again so you see the lazy load feature twice on the headline as the page loads. any ideas on how to fix this without ditching the site wide animation? Edited October 1, 2021 by zsawtelle1 typo Link to comment
tuanphan Posted October 3, 2021 Share Posted October 3, 2021 Hi, Can you post code in Code Block? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
zsawtelle1 Posted October 3, 2021 Author Share Posted October 3, 2021 sure thing, one page is https://www.sweetmamasauce.com/faq i have the same base code applied across the site so any code blocks that have text seem to be loading in and then doing a refresh so the sitewide flex animation flashes twice, code in the block is as follows: <html> <head> <style> #content-desktop {display: block;} #content-mobile {display: none;} @media screen and (max-width: 768px) { #content-desktop {display: none} #content-mobile {display: block; text-align: center} } } </style> </head> <body> <div id="content-desktop"> <h2> frequently asked questions </h2> </div> <div id="content-mobile"> <h2> frequently <br />asked <br />questions</h2> </div> </body> </html> Link to comment
tuanphan Posted October 6, 2021 Share Posted October 6, 2021 On 10/4/2021 at 6:13 AM, zsawtelle1 said: sure thing, one page is https://www.sweetmamasauce.com/faq i have the same base code applied across the site so any code blocks that have text seem to be loading in and then doing a refresh so the sitewide flex animation flashes twice, code in the block is as follows: <html> <head> <style> #content-desktop {display: block;} #content-mobile {display: none;} @media screen and (max-width: 768px) { #content-desktop {display: none} #content-mobile {display: block; text-align: center} } } </style> </head> <body> <div id="content-desktop"> <h2> frequently asked questions </h2> </div> <div id="content-mobile"> <h2> frequently <br />asked <br />questions</h2> </div> </body> </html> It looks like you solved? I see fine here. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment