Child theme CSS file

Posted in: Newspaper
Post count: 62

Hello,

I have always written custom CSS codes from the “Theme panel” so I never edited the actual file (style.css) using FTP.
Now I checked the file and found that there is no codes at all in style.css…

I am using a child theme so I even checked the parent theme’s style.css but there isn’t any codes that I wrote from the Theme panel…

How can I locate the file which contains the custom CSS codes that I wrote??

Post count: 20685

Hi,

The custom code will be saved in the database. I believe you can find it in the in the wp_options table->td_011 option name. This will ensure that it will be kept safe during an update for example. If you use a child theme you could enter the custom code there, if you want to.

Thanks

Post count: 62

Ah I see! That makes sense.

So whats the advantage of using the child theme?
Do you recommend to use the parent theme?

If I want to use the parent theme from now, can I just activate the parent theme and all the setting remains??

Please let me know.

Post count: 1341

> If I want to use the parent theme from now,
> can I just activate the parent theme and all the setting remains??

Yes.

https://forum.tagdiv.com/the-child-theme-support-tutorial/

  • This reply was modified 8 years by Edward.
Post count: 62

OK. Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.