Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1403787
    Moonworks
    Participant

    Is there a way to set the CSS in X for a post type?

    I have a post type for book tours, and it allows the user to create their own page. I’ve managed to set up some code to automatically bring in the Visual Composer elements used on the page, but I can’t figure out how to get the CSS included in this, so thought that creating CSS for this custom post type would be the way to do it.

    #1403795
    Thai
    Moderator

    Hi There,

    You can try with this CSS:

    .your-post-type div {
    }
    .your-post-type .x-btn {
    }

    Hope it helps 🙂

    #1404098
    Moonworks
    Participant

    Thank you, that looks like it’s working from a few tests 🙂

    amazing support here

    #1404257
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1403787 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>