Home Forums WoodMart support forum Old prefix CSS

Old prefix CSS

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #301404

    camilo517
    Participant

    Woodmart has obsolete css prefixes that are no longer necessary, you can achieve a significant decrease in the size of the CSS files
    Use this tool to check: https://yellowlab.tools/

    #301438

    Artem Temos
    Keymaster

    Hello,

    Could you please specify where exactly do you see these prefixes in our theme styles? Please, show us some examples from the code. Note that this service checks the whole website, not only the theme.

    Kind Regards

    #301503

    camilo517
    Participant

    For example: woodmart/css/parts/base.min.css -ms-touch-action

    #301657

    Bogdan Donovan
    Keymaster

    Thanks for your advice. We will reconsider theme style prefixes and make necessary changes in the next theme update.

    Kind Regards

    #301658

    camilo517
    Participant

    Thanks
    and this please
    Please don’t load js and queries in /wp-admin/plugins.php
    wp-content / themes / woodmart / inc / admin / assets / js / vc-fields / slider.js
    wp-content / themes / woodmart / inc / admin / assets / js / vc-fields / responsive-size.js
    etc
    This greatly improves the performance of wp-admin, something to be appreciated

    #301665

    Artem Temos
    Keymaster

    These JS files are required for WPBakery page builder to make all our theme fields work correctly. We can’t load them on particular pages only, that is why we load them globally.

    #301729

    camilo517
    Participant

    Yes, but I don’t use wpbakery, I use elementor and it still loads in the wp-admin

    #301791

    Artem Temos
    Keymaster

    OK, we will remove them completely if the WPBakery page builder is not activated in our next update.

    #302073

    camilo517
    Participant

    Hi, thanks for making the admin dashboard faster
    Can we keep removing js that are not needed?
    This loads into /wp-admin/plugins.php
    /wp-content/themes/woodmart/inc/admin/assets/js/wp-color-picker-alpha.js?ver=6.1.1

    Also this query is made in /wp-admin/plugins.php
    SHOW TABLES
    WHERE Tables_in_true LIKE ‘cr6wPeGq_woodmart_wishlist_products%’
    OR Tables_in_true LIKE ‘cr6wPeGq_woodmart_wishlists%’

    and

    SELECT t.term_id AS id, t.name AS post_title, t.slug AS post_url, parent AS parent
    FROM cr6wPeGq_terms t
    LEFT JOIN cr6wPeGq_term_taxonomy tt
    ON t.term_id = tt.term_id
    WHERE tt.taxonomy = ‘product_cat’
    ORDER BY name

    #302212

    Artem Temos
    Keymaster

    Sure, we will review both in our update and do the necessary to fix them.

    #302581

    camilo517
    Participant

    Another way to improve performance would be to use content-visibility

    https://web.dev/content-visibility/

    .class {
    content-visibility: auto;
    contain-intrinsic-size: 877px; / * section height * /
    }

    This greatly improves performance, it is not very complicated to implement. I would say that it would be the first topic to include it
    It could be done as an option to activate or deactivate
    Thanks

    #302972

    Artem Temos
    Keymaster

    Hello,

    Thank you for the recommendation. We will review this in our future updates also.

    Kind Regards

    #318445

    camilo517
    Participant

    This has not been fixed yet, there are many queries, js etc that are loaded in the administrator when it is not necessary

    #318493

    Artem Temos
    Keymaster

    We haven’t fixed SQL queries yet. We need more time to investigate this issue so we will fix it in our next update. Sorry for the inconvenience.

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