Home Forums WoodMart support forum Disabling Combine CSS files breaks styles

Disabling Combine CSS files breaks styles

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #410612

    loralora
    Participant

    Hello

    I have a question:

    leaves the functions:
    Combine CSS files
    Include minified CSS
    Combine JS files
    Include minified JS
    any files in wp_options memory or other tables?
    The fact is that disabling these functions breaks some elements: Labels on products – different styles on different pages. The cart icon is big, some styles don’t work.
    Also – despite the style code being written – this is the correct code and it worked before – after disabling minification – it no longer works or works randomly.

    For example: I have added the code
    .copyrights-wrapper {
    border-top: 0px solid rgb(255 255 255 / 11%);
    }

    And it works on 50% of the pages of the site, the rest are loaded with the code: .copyrights-wrapper {
    border-top: 1px solid rgb(255 255 255 / 11%);
    }

    Same question for:
    Light bootstrap grid version

    Explanation: I don’t currently have any caching and minification plugin installed.

    Question 2: xts_backups_auto in the options table – what is it and what is it for?
    Can I turn it off?
    Could this be causing the problem?

    In advance – I will not be able to provide you with administrator passwords.
    I disabled plugins that are not related to the topic.
    I have updated the theme.
    I don’t see any errors in the chrome console – only 2 warnings:
    DevTools failed to load source map: Could not load content for chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/browser-polyfill.js.map: System error: net::ERR_FILE_NOT_FOUND
    admin-bar-v2.js?ver=11.3.2-202240:3 Missing data from PHP (wpNotesArgs).

    Any ideas?

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

    Artem Temos
    Keymaster

    Hello,

    The error in your console is related to some of your Chrome extensions.
    The table in the database stores Theme Settings backups and can’t be deleted. But it doesn’t affect any CSS code.

    Kind Regards

    #410649

    loralora
    Participant

    Thanks Artem for your reply.
    Please help – why then does custom theme css not override the standard theme style?

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

    loralora
    Participant

    I looked where the style is loaded from –
    wp-content/themes/woodmart/css/parts/footer-base.min.css?ver=7.0.0
    Is it normal if I disabled minification and css merging of your theme?

    #410796

    Artem Temos
    Keymaster

    Try to increase your custom selector strength by adding one extra tag like body .copyrights-wrapper.

    Yes, you can disable combine CSS but keep the CSS modification option on.

    Kind Regards

    #410876

    loralora
    Participant

    Artem thanks it worked

    #410889

    Artem Temos
    Keymaster

    You are welcome!

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

The topic ‘Disabling Combine CSS files breaks styles’ is closed to new replies.