Theme updates/css

Can you tell me do theme updates remove css if they are not in a child theme?

Hello @Rob_G33,

Thanks for asking. :slight_smile:

If you have added the CSS codes in Theme Options panel under X > Theme Options > CSS then in update it won’t get removed. However, if you have added the CSS codes directly in X Theme files then you need to move them to either Theme Options panel or child theme as during update those files will get overridden by new updated files.

Thanks.

Thank you. Do you know if code snippets works with xtheme as I’ve entered the snippet but it hasn’t done what it was meant to do.
I’m trying to remove related products from woocommerce.

Hello @Rob_G33,

Thanks for updating the thread. :slight_smile:

You can use following CSS under X > Theme Options > CSS to remove related product from WooCommerce product page:

.related.products {display: none !important;}

Above changes are done using custom CSS. If you would like to explore CSS, please take a look at following resource:

https://www.w3schools.com/css/

Please note that providing support for custom codes (like CSS changes) falls outside the scope of support we can offer. In case of any issues with the layout because of custom codes we won’t be able to provide support.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.