- September 18, 2018 at 7:50 am #154248
Is it possible to edit the CSS for a child theme without using the GUI? I’d like to edit the .css file directly, but cannot find it for the child theme I created.
I created a style.css file in my child theme, but it’s not being applied/used.
ps- It’s the file used for the “Additional CSS” section that I’d like to edit directly.
Thanks in advance.September 18, 2018 at 11:43 pm #154299
@localgeek:Yes,It is possible to edit the CSS for a child theme without using GUI. For editing CSS you can simply Go to => Appearance => Customize => Additional CSS and add your CSS Code there.
Let me know if this helps you out!
SapanaSeptember 24, 2018 at 8:33 am #154816
@sapana – Sorry, I wasn’t clear about my question. When you say “Go to => Appearance => Customize => Additional CSS and add your CSS Code there”, to me, that’s the GUI. Is there a text file I can edit instead? Thanks.September 25, 2018 at 1:58 am #154882September 25, 2018 at 7:48 am #154904
@sapana – I created the child theme manually, using the published WordPress process. That’s not the issue- I’ve done this with several other themes. And yes, I can edit the style.css file (it’s a flat text file in the child theme’s root directory). However, it doesn’t look like this style.css file has the same CSS settings as in the Appearance => Customize => Additional CSS area. Where is that CSS stored? Is it in a flat text file or in the database? Thanks.September 25, 2018 at 11:49 pm #154939
@localgeek:It’s stored in the database, within the wp_posts table, under the custom_css post type, where the post name is the theme slug. There you also have the related customize_changeset and revision post types.
SapanaSeptember 26, 2018 at 7:07 am #154988
You must be logged in to reply to this topic.