Support » Theme: Poseidon » custom css is overwrited by plugin

  • Resolved Fred17

    (@f14m07)


    Hi,
    I am using a child-theme of Poseidon. Thanks for your work. I use a plugin EME with an eme.css. I use your custom css to change a background-color from gray to yellow. Please compare the page https://vogue-et-reve.fr/planning/ and https://vogue-et-reve.fr/nos-voiliers/ the today background-color on the calendar widget. I thought your css would have the last word. However, when the EME plugin css is loaded, it takes over (the first page).

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author ThemeZee

    (@themezee)

    Hi there,

    Thanks for using Poseidon.

    Yes, such things can happen. The order of CSS rules is important, but also what selectors you use. You can learn more about it on https://www.w3schools.com/css/css_specificity.asp

    The best way to avoid such issues is to use clean coded plugins which prefix their CSS with their own slug, so they don’t override the theme CSS. So I recommend to switch plugins.

    Best,
    Thomas

    Thank you. In the meantime my pb has been solved and the Poseidon theme was not in question. Thank you for your advice.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.