How use child theme?

Setting up an online estimating module requires the insertion of php code and the loading of a style sheet (css) this would require to change the main theme, which is absolutely not recommended (data lost in case of update).
i installed the X child on my site https://berton-groupe.com.
I want to insert 4 css files + php code in the page where i want to set up the estimating module.

whow can i insert the css files in the child theme please ?

Hello @mapscom,

Thanks for asking. :slight_smile:

  1. PHP code: You can add the PHP code in child theme function.php file.
  2. CSS code: You can add the CSS codes in child theme style.css file or you also have the option of adding the CSS code under X > Theme Options > CSS.

However, if the requirement is to add CSS files then you can add the file under X Child theme under the same structure as the stack you are using. To add custom CSS files, please take a look at following resource.

https://www.000webhost.com/blog/wordpress-custom-css

Thanks.

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