Home Forums WoodMart support forum Custom CSS is not loaded last.

Custom CSS is not loaded last.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #385273

    dbrrohof
    Participant

    Hi Xtemos,

    I’m trying to style the product filters on product archive page. I have added my styles to the global CSS field in the theme settings. However the file “el-product-filters.min.css?ver=6.5.2” is loaded after the custom CSS.

    I have also noticed when using the accordion element the file “js_composer_tta.min.css?ver=6.9.0” is also loaded in the bottom of the page.

    This forces the unnecessary use of “!important” for all custom styles related to these elements.
    I guess the reason for this current setup is for performance optimizations.

    Please let me know if i should continue using the “!important” to override CSS, or if you have a cleaner way/fix for this.

    Best regards
    David

    • This topic was modified 4 years ago by dbrrohof.
    #385393

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Sometimes its “!important” to use !important with the CSS. If you have taken the CSS classes correctly then it will work without the “!important”

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)