Clean up theme installation and code / Later installation of child theme

Posted in: Newspaper
Post count: 26

Hi,
when I purchased the theme I installed the dark demo and kept working on/with it.

1. When I inspect the code, though, I see a lot of the word “demo” in the code itself, which doesn’t look very nice. Also the css looks like having one css overwriting the other. Sometimes the final css property in the inspector lays on top of 4 or 5 crossed out css properties which it overwrites.
>> Is it possible to clean up the installation so the code looks “not demo” and the css is clearer, while keeping the current look and settings?

2. I haven’t used a child theme from the beginning but i feel the necessity now.
>> If I create the child now, will it affect the way the site looks? Is there a specific procedure to start a child theme from zero when the website is up and running?

Thank you
JP

Post count: 20688

Hi,

1. The demo style overrides the main theme style, it is not standalone. That is what happens when a demo is installed. The demo comes with it’s own customization that applies over the theme. You could if you want to identify these overrides and make the modifications directly in the theme style, and remove theme from the demo style. It could prove to be a lot of work.

2. The child theme does not affect the way the website looks by default. A child theme sample is provided in the theme package in the code folder. But it all depends on the files you modify, that is the purpose of a child theme. Here you can find more information about the child theme and what files can be used in it
https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.