Tagged: , ,

This topic contains 6 replies, has 2 voices, and was last updated by  localgeek 3 weeks, 5 days ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #154248

    localgeek
    Participant

    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.

    URL
    http://www.grayphoto.us

    • This topic was modified 1 month ago by  localgeek.
    #154299

    sapana
    Participant

    @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!

    Kind Regards,
    Sapana

    #154816

    localgeek
    Participant

    @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.

    • This reply was modified 4 weeks ago by  localgeek.
    • This reply was modified 4 weeks ago by  localgeek.
    #154882

    sapana
    Participant

    @localgeek: You can use Plugin Generator Child Theme to create child theme, You can edit the Style.CSS of child theme to make changes on it.let me know if this helps you out!
    Kind Regards,
    Sapana

    #154904

    localgeek
    Participant

    @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.

    #154939

    sapana
    Participant

    @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.

    Kind Regards,
    Sapana

    #154988

    localgeek
    Participant

    Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.