ElizabethM Posted December 2, 2023 Posted December 2, 2023 Hi ! I would like to know how to hide a section of the footer on some pages ? I've created two sections for the footers that will display depending the page. Thanks !
Web_Solutions Posted December 3, 2023 Posted December 3, 2023 12 hours ago, ElizabethM said: Hi ! I would like to know how to hide a section of the footer on some pages ? I've created two sections for the footers that will display depending the page. Thanks ! Can you share your website URL? tuanphan 1 If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks MD Rofik Website Designer and Digital Marketer ☕Am I helpful? Want to offer me a coffee? ✉ Send me a message if needed any help. I'll try to reply as soon as possible.
tuanphan Posted December 4, 2023 Posted December 4, 2023 First section will be: footer.sections section:nth-child(1) Second section will be: footer.sections section:nth-child(2) Suppose you want to hide Second Section in a specific page, you can add this code to Page Header Code Injection <style> footer.sections section:nth-child(1) { display: none !important; } </style> If you use Personal/Basic Plan, you can edit page > Add a Code Block (anywhere on page) > Then paste the code <style> footer.sections section:nth-child(1) { 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment