sixfoot7foot Posted September 20 Posted September 20 Hi all! So, basically I wanted to remove the footer from just my landing/home page, while keeping it on all other pages. I added the following code via a code block in the footer on the landing page <style> footer.sections { display: none !important; } </style> but now I can't find the footer on any of the pages, and have no idea how to revert. Thank you in advance for your help!
Spark-Plugin Posted September 23 Posted September 23 Hello, @sixfoot7foot, How are you doing today? I'll be helping you out now. 1. Delete the Code Block you added. 2. Go to Pages. 3. Hover over the page name where you want to apply the code, and you’ll see a gear icon—click on it. 4. Go to Advanced. 5. Scroll to Page Header Code Injection. 6. Paste the code below, click Save, and you are done. <style> footer.sections { display: none !important; } </style> This will make sure the code applies only to that specific page. Let me know if it works! Thanks! - Answered by Iuno from sparkplugin.com
sixfoot7foot Posted November 13 Author Posted November 13 (edited) On 9/23/2024 at 9:57 AM, Spark-Plugin said: Hello, @sixfoot7foot, How are you doing today? I'll be helping you out now. 1. Delete the Code Block you added. 2. Go to Pages. 3. Hover over the page name where you want to apply the code, and you’ll see a gear icon—click on it. 4. Go to Advanced. 5. Scroll to Page Header Code Injection. 6. Paste the code below, click Save, and you are done. <style> footer.sections { display: none !important; } </style> This will make sure the code applies only to that specific page. Let me know if it works! Thanks! Hi! Thanks for your reply -- am just not getting to this. So that is the problem, I am unable to delete the code block - when i go to edit the page (I added it to my homepage/welcome page), when I hover over where the footer should be, there is no reaction to the mouse being over it, so I can't edit the block. I'd be happy to attach any code here from the page inspector if that will make it easier to diagnose. Thanks in advance for helping out. EDIT: I am in the page settings and in Page Header Code Injection, it says Premium Feature -- is there a way to remedy this without upgrading? Edited November 13 by sixfoot7foot Added more info
Spark-Plugin Posted November 14 Posted November 14 Hi @sixfoot7foot, Could you please share a link to your website? That will help me assist you better. Yes, that is a premium feature, but I've realized that you don't need a code to hide the footer. There is a toggle in the page settings you are in; please see the attached screenshot: - Answered by Iuno from sparkplugin.com
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment