daveneedshelp Posted October 6, 2022 Share Posted October 6, 2022 Site URL: https://dave.online/writings I have a site I blog on with three primary categories. I built a little menu at the top of the page that will display the blogs within a specific category, and I want that displaying on the /writings page. But when someone clicks it and goes to say, /writings/category/travel I want just the blogs to show without this menu. Any help would be amazing. Thank you! Link to comment
tuanphan Posted October 8, 2022 Share Posted October 8, 2022 Hide Menu, or Hide header (logo, menu, button) or hide both header + header banner? 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
daveneedshelp Posted October 9, 2022 Author Share Posted October 9, 2022 15 hours ago, tuanphan said: Hide Menu, or Hide header (logo, menu, button) or hide both header + header banner? I want to hide this menu I made on the page that sorts by categories. When someone clicks a category, I want just the blogs to load without this menu at the top. Thanks so much! Link to comment
tuanphan Posted October 10, 2022 Share Posted October 10, 2022 On 10/9/2022 at 7:48 AM, daveneedshelp said: I want to hide this menu I made on the page that sorts by categories. When someone clicks a category, I want just the blogs to load without this menu at the top. Thanks so much! You mean hide red circle slide on screenshot?? 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
daveneedshelp Posted October 11, 2022 Author Share Posted October 11, 2022 13 hours ago, tuanphan said: You mean hide red circle slide on screenshot?? Yep, thanks! Link to comment
Solution tuanphan Posted October 12, 2022 Solution Share Posted October 12, 2022 On 10/11/2022 at 8:54 AM, daveneedshelp said: Yep, thanks! Add to Settings > Advanced > Code Injection > Footer <script> if (document.location.pathname.indexOf("/writings/category/") == 0) { document.querySelector('body').classList.add('t-category') } </script> <style> body.t-category .user-items-list-item-container[data-section-id="633f26654feea6653e15003b"] { display: none; } </style> 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
daveneedshelp Posted October 24, 2022 Author Share Posted October 24, 2022 On 10/12/2022 at 5:39 AM, tuanphan said: Add to Settings > Advanced > Code Injection > Footer <script> if (document.location.pathname.indexOf("/writings/category/") == 0) { document.querySelector('body').classList.add('t-category') } </script> <style> body.t-category .user-items-list-item-container[data-section-id="633f26654feea6653e15003b"] { display: none; } </style> That is perfect. Thank you so much! tuanphan 1 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