Home Forums WoodMart support forum CSS when view source

CSS when view source

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #261187

    blackmocha
    Participant

    Hi There,

    Somehow when I view source, I can see some CSS from Woodmart (see attached)

    1) What is this? Seems to be related to header items.
    2) Are these required?
    3) How do I minify, combine, or make the css become a part of the CSS file?

    Attachments:
    You must be logged in to view attached files.
    #261257

    Hello,

    The CSS you use is displayed in the source file.

    You can try minifying the CSS using the performance option available under Theme Settings.

    https://xtemos.com/docs/woodmart/theme-settings-panel/#performancef5f8-ed0b

    Or you can try using any plugin to minify CSS.

    Best Regards.

    #261477

    blackmocha
    Participant

    Hi There,

    I had already minified the CSS under the theme settings and also minify using WP Rocket, before requesting support help.

    What should I do to get rid of or remove this from the source code? I’m pretty sure the code is related to woodmart.

    Please help.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #261496

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin and FTP access so we could check it?

    Thank you in advance

    #261510

    blackmocha
    Participant

    Hi There,

    Sure, I have disabled all the plugins except:

    – Woocommerce
    – Woodmart Core
    – Elementor

    #261520

    Artem Temos
    Keymaster

    We have resaved your header via WoodMart -> Header builder and now the CSS code is generated into the file. Try to do the same on your production website.

    #261532

    blackmocha
    Participant

    Ok that solved the problem. Thanks!

    I also noticed that your demo sites have the HTML minified. However, since WP Rocket deprecated the feature…how did you achieve that?

    #261709

    Artem Temos
    Keymaster

    Hello,

    We don’t have minified HTML now. We have just updated the WP Rocket plugin so this function no longer works.

    Kind Regards

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