Hi, I need to apply some custom CSS just for specific pages. Is a plugin like WP Add Custom CSS (https://wordpress.org/plugins/wp-add-custom-css/) compatible with Enfold?
I actually tried this but it’s not hiding it –
.page-id-13 .blog-categories minor-meta {
display: none;
}
Hi!
You can try add some Custom CSS from the themes Options Panel of enfold or using the custom.css file.
What fits you better, but we already supply that option!
Regards,
Basilis
Yes I’ll go with specifying the page id instead of the plugin. Is my code above incorrect? I’m trying to hide blog-categories on the home page.
What code should I use for a specific page?
Hi!
Please try adding following code to Quick CSS
.page-id-13 .blog-categories.minor-meta {
display: none !important;
}
Cheers!
Yigit
Is it possible to apply custom css to multiple pages at once or do you need separate CSS for each page?
For example:
.page-id-13 .page-id-14 .blog-categories.minor-meta {
display: none !important;
}
OR
.page-id-13 .blog-categories.minor-meta {
display: none !important;
}
.page-id-14 .blog-categories.minor-meta {
display: none !important;
}
Hi,
It would be the following:
.page-id-13 .blog-categories.minor-meta, .page-id-14 .blog-categories.minor-meta {
display: none !important;
}
Best regards,
Jordan Shannon
Thanks Jordan! Will give it a shot. Cheers!
Hi,
Great, please let us know if you should need any further help on the topic.
Best regards,
Rikard
Thanks, this worked fine.
Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Don’t forget to bookmark Enfold Documentation for future reference.
Thank you for using Enfold :)
Best regards,
Vinay