-
AuthorPosts
-
October 9, 2017 at 4:34 pm #861969
Hi all, I’m using Learndash, an online training plugin for one of our sites (http://www.emaritimetraining.com) which has a load of custom post types.
How can I remove the footer JUST from those specific custom post types? I don’t want to go into each one and switch them off manually as that will take weeks!! I have the custom post type names, just need some cunning css or whatever to strip them out please
Thank you!
October 10, 2017 at 6:39 am #862302Hey mikebackhouse,
I think they have classes added to them which can be targeted with CSS, though we need to inspect the pages to know what the classes are. Could you link to example pages so that we can have a closer look please?
Best regards,
RikardOctober 10, 2017 at 10:06 am #862386Thanks Rikard, Its hard to show you as you need a login, I’ll see what I can do and if I get stuck I’ll set you up an account
October 10, 2017 at 10:30 am #862397Hi,
You don’t need to give us a login for that, we would just need some links that you want to hide the footer from or you can try this css code and apply it on Quick CSS (located in Enfold > General Styling):
.single-portfolio #footer { display: none; }
Just replace portfolio with the right custom post type name. Hope this helps :)
Best regards,
NikkoOctober 12, 2017 at 1:14 pm #863399That worked, thanks Nikko
I have another issue I’ve just noticed, the area on the right hand menu when editing a page/portfolo/post “Footer Settings
Display the footer widgets?” doesnt have any options?? There’s no drop down, does anyone know why that would be?Side bar settings, title bar settings and header visibility options are all fine?
October 12, 2017 at 2:25 pm #863440Hi mikebackhouse,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaOctober 12, 2017 at 2:35 pm #863447Sure, thank you Victoria! See below
October 12, 2017 at 3:21 pm #863468Hi mikebackhouse,
There could be a few reasons for that, which customizations did you make in the footer php? Which version of php are you running?
Best regards,
VictoriaOctober 12, 2017 at 3:41 pm #863482I havent made any changes to footer.php, and in fact just renamed the file in the enfold-child folder and it made no difference.
I am on PHP 5.6
October 13, 2017 at 3:43 pm #864001Hi mikebackhouse,
This plugin can contribute to the issue (screenshot below). Please deactivate all plugins one by one to check which one is causing this issue and let us know if this solves the problem.
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.