Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #591252

    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?

    #591770

    I actually tried this but it’s not hiding it –

    .page-id-13 .blog-categories minor-meta {
        display: none;
    }
    #591776

    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

    #591780

    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.

    #592728

    What code should I use for a specific page?

    #592744

    Hi!

    Please try adding following code to Quick CSS

    .page-id-13 .blog-categories.minor-meta {
        display: none !important;
    }

    Cheers!
    Yigit

    #1016722

    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;
    }

    #1016821

    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

    #1021307

    Thanks Jordan! Will give it a shot. Cheers!

    #1021389

    Hi,

    Great, please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

    #1021392

    Thanks, this worked fine.

    #1021415

    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

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Custom CSS for a specific page’ is closed to new replies.