rainbowblessings222 Posted April 11, 2023 Share Posted April 11, 2023 How do I get sections to only show up on one page in my shop and not all of the category pages too? Link to comment
tuanphan Posted April 14, 2023 Share Posted April 14, 2023 Hi, Can you share link to shop page & which section are you referring to? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
rainbowblessings222 Posted April 25, 2023 Author Share Posted April 25, 2023 https://rainbowblessingsmagicmarket.com/shop it’s the section right below “shipping included in prices” Thank you! Link to comment
tuanphan Posted April 26, 2023 Share Posted April 26, 2023 20 hours ago, rainbowblessings222 said: https://rainbowblessingsmagicmarket.com/shop it’s the section right below “shipping included in prices” Thank you! You mean all products under "shipping icluded in prices"? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
rainbowblessings222 Posted April 26, 2023 Author Share Posted April 26, 2023 13 hours ago, tuanphan said: You mean all products under "shipping icluded in prices"? It's this section. Thank you! Link to comment
tuanphan Posted April 29, 2023 Share Posted April 29, 2023 Add this to Settings > Advanced > Code Injection > Footer <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://d1j8mu9lowy9zf.cloudfront.net/twcsl/0.1d19/twcsl.js"></script> <script> $( ( ) => { /* created by @creedon Squarespace Forum */ if ( twcsl.storePage.urlSlug != '/shop' ) return; // bail if not main page $( 'body' ).addClass ( 't-shop' ); } ); </script> <style> body.t-shop [data-section-id="6433e67746bed740fe3907e0"] { display: none !important; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
rainbowblessings222 Posted April 29, 2023 Author Share Posted April 29, 2023 8 hours ago, tuanphan said: Add this to Settings > Advanced > Code Injection > Footer <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://d1j8mu9lowy9zf.cloudfront.net/twcsl/0.1d19/twcsl.js"></script> <script> $( ( ) => { /* created by @creedon Squarespace Forum */ if ( twcsl.storePage.urlSlug != '/shop' ) return; // bail if not main page $( 'body' ).addClass ( 't-shop' ); } ); </script> <style> body.t-shop [data-section-id="6433e67746bed740fe3907e0"] { display: none !important; } </style> Thank you. That removed it on all shop pages. How do I keep it for my main shop page but not on the rest of the category pages? Link to comment
tuanphan Posted May 1, 2023 Share Posted May 1, 2023 On 4/29/2023 at 11:10 PM, rainbowblessings222 said: Thank you. That removed it on all shop pages. How do I keep it for my main shop page but not on the rest of the category pages? Can you remove these lines only? We will test code again Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
rainbowblessings222 Posted May 30, 2023 Author Share Posted May 30, 2023 On 4/30/2023 at 9:18 PM, tuanphan said: Can you remove these lines only? We will test code again It is back to being on all pages now. 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