Tagged: x
-
AuthorPosts
-
January 20, 2017 at 12:40 pm #1338698
Hi. I’m new here and trying to use X for the first time.
I was reading the best practices for setting up a child theme here https://community.theme.co/kb/customization-best-practices/, and I have some questions.
Do I just install the child theme as ‘x-child’ in wp-content/themes? Or I have to rename the folder to “x-child-integrity-light” if I’m using the Integrity Light theme?
And where do I find the Integrity Light theme’s css file? I saw a CSS folder in the framework folder but it contains a dist and src folders. Which one?
If there’s the Customize/Custom feature in the theme do I still need the style.css in the child theme? I’d prefer the child theme as I can backup via ftp which I do often.
Thanks
MartinJanuary 20, 2017 at 1:52 pm #1338782Hi Margin,
Just install the theme as x-child on p-content/themes.
Than you can go to the original theme copy any file you would like to change and copy it over to the child theme within the same folders and make your changes.
You can edit CSS on Customizer or style.css of your child theme as you prefer.
Hope it helps
Joao
January 21, 2017 at 4:31 am #1339520Thanks Joao.
The style.css in x-child don’t seemed to override anything I put in it.
Martin
January 21, 2017 at 5:07 am #1339542Hi there,
Please provide us with your code and let us know what you’re trying to achieve.
Thanks.
January 21, 2017 at 6:19 am #1339571Never mind I manage to get it right.
The problem lies in the path,
“@import url(‘../wp-content/themes/x/framework/css/dist/site/stacks/integrity-light.css’);”
That 2 dots before /wp-content nailed it.
Thanks
January 21, 2017 at 6:26 am #1339578Glad to hear that you were able to fix this.
-
AuthorPosts