Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1338698

    corsaunelec
    Participant

    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
    Martin

    #1338782

    Joao
    Moderator

    Hi 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

    #1339520

    corsaunelec
    Participant

    Thanks Joao.

    The style.css in x-child don’t seemed to override anything I put in it.

    Martin

    #1339542

    Christopher
    Moderator

    Hi there,

    Please provide us with your code and let us know what you’re trying to achieve.

    Thanks.

    #1339571

    corsaunelec
    Participant

    Never 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

    #1339578

    Christopher
    Moderator

    Glad to hear that you were able to fix this.