rosatk Posted April 23 Share Posted April 23 Hi all I'd love for someone to click a blog category (e.g. 'Italy') and then ONLY see blogs about Italy (not the 'Mini Series' section that is embedded on the blog overview page). The mini series section needs to stay on the blog overview page. I can't use a summary block for the blog because they only show 30 posts. Please help! https://theeuropeans.squarespace.com/episodes/category/Italy Link to comment
tuanphan Posted April 25 Share Posted April 25 Hi, We can use some code to achieve this. Can you provide password? rosatk 1 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
tuanphan Posted April 27 Share Posted April 27 Use code to Code Injection > Footer. <script> if (document.location.pathname.indexOf("/episodes/category/Italy") == 0) { document.querySelector('body').classList.add('italy') } </script> <style> body.italy [data-section-id="662148232b0e412515f5ba64"] { visibility: hidden; } </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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment