CSS question

Home Forums Calendar Products Events Calendar PRO CSS question

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #989952
    John Paul
    Participant

    Hi guys..reading the link below

    Styling Calendar Widgets

    the instructions do not seem to tell me to add this to the theme’s child theme, but the main theme itself. Is this correct?

    Does the CSS file need to refer to the plugins main style sheet , as in all other cases of creating a child CSS file?

    Finally, do if I already have a Child Theme CSS file — can I just simply put the code into this file when styling the plugin’s features???

    #989998
    Barry
    Member

    Hi John,

    the instructions do not seem to tell me to add this to the theme’s child theme, but the main theme itself. Is this correct?

    Our use of the term “theme” is slightly lose, there – but you can certainly add to the child theme (and if you’ve already got one in place, we’d recommend it).

    Does the CSS file need to refer to the plugins main style sheet , as in all other cases of creating a child CSS file?

    In the sense of an @import statement? No, it does not.

    If you set up a custom tribe-events/tribe-events.css stylesheet then it is loaded in addition to those stylesheets our plugin already enqueues – it does not replace them.

    Finally, do if I already have a Child Theme CSS file — can I just simply put the code into this file when styling the plugin’s features???

    Potentially, yes.

    Really it’s all about observing the normal CSS rules: it either needs to be added after the rules it builds on or else be specific enough to not be impacted by the load order of the various stylesheets.

    Ultimately, give it a go! If it doesn’t work within that existing stylesheet you can either tighten up the specificity of the rule or else roll with the recommended approach of using a custom tribe-events/tribe-events.css stylesheet.

    Does that help?

    #990004
    John Paul
    Participant

    Many thanks

    #990053
    Barry
    Member

    My pleasure 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘CSS question’ is closed to new replies.