Home › Forums › WoodMart support forum › CSS is not loading properly until refresh the page manually › Reply To: CSS is not loading properly until refresh the page manually
Aizaz Imtiaz Awan
Hello,
This problem is caused by his custom code, namely, the specificity of the CSS selector that he chose for his code, which cannot override the theme style in all possible style placement options. This is clearly visible in this video (https://monosnap.com/file/ezxBv2OcKgPtvrptfx8ytp39EnIjrv).
To fix this problem, you need to increase the specificity of the selectors in your custom code. For example, if you previously used a selector .product-labels.labels-rounded .label-with-img
, now you needs to use such a selector body .product-labels.labels-rounded .label-with-img
I hope you will understand it.
Best regards.