Home Forums WoodMart support forum Custom selectors issues after theme update to 6.1.0

Custom selectors issues after theme update to 6.1.0

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #301704

    d_ch
    Participant

    Hi,

    After updating WoodMart theme from version 6.0.4 to 6.1.0, my attached custom selectors of ADVANCED TYPOGRAPHY stopped working. Actually the color and font weight is not working as desired. Could you please take a look on this?

    Just to inform you that I also had issues while updating theme to 6.0.4 version (you can see my other ticket here: https://xtemos.com/forums/topic/custom-selectors-not-working-after-theme-update-to-6-0-4/)

    Why custom selectors keep breaking at your latest theme updates? It is really difficult to check all of them at every site I have with your theme to see if everything works as previously.

    Thank you in advance,
    Dimitris

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

    Bogdan Donovan
    Keymaster

    Hi,

    In Woodmart 6.1 update we added header and mobile menu elements to the automatic CSS generator which load parts of CSS styles only for elements which is placed on page. Since in that case, some styles are loaded dynamically, they are loading after child theme styles. Having custom CSS code selectors with same specificity as theme selectors make styles placed below advantage over others.

    To remove style order advantage, custom CSS code selector need to have a higher specificity. In that case, body tag at the beginning will be enough. Here is example how to make your custom selectors specificity higher than theme style ones:

    OLD .wd-nav-mobile>li>a
    NEW body .wd-nav-mobile>li>a

    OLD .mobile-nav .searchform input[type=text]
    NEW body .mobile-nav .searchform input[type=text]

    More about CSS specificity can be found here (https://css-tricks.com/specifics-on-css-specificity/).

    If you don’t want to use automatic CSS generator, you can turn it off by enabling “Combine CSS files” option in Theme Setting => Performance => CSS (https://monosnap.com/file/ugxT4XxSYu3ne0gZUrO2WpOb7b6dSI)

    Kind Regards

    #301724

    d_ch
    Participant

    Could you also check a loading circle that is appeared for some reason under my Ajax Tabs title after the update?

    Please check my attached screenshot.

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

    Bogdan Donovan
    Keymaster

    This issue was fixed in the recent theme hotfix update. Please try to update your theme to the latest version.

    Kind Regards

    #301851

    d_ch
    Participant

    I updated theme to the latest theme version and the above issue still takes place.

    In addition now my typography is not working as desired (my custom font is not loading on site).

    #302054

    Bogdan Donovan
    Keymaster

    Hello,

    It was issue in our theme, we have fixed it on your site. Please, check now.

    Kind Regards

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