WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Child Theme & Edit CSS (26 posts)

  1. eknight74
    Member
    Posted 1 year ago #

    I created a child theme. I have successfully used edit CSS to make edits to the code.

    Now I have a question. Remeber I am a Newbie.

    When you enter the code in edit css and click save, where is it stored? Where can you view it? I go to the FTP and click on the child theme but the only files say style.css and rlt.css (not sure on sequence of letters with rlt but you get the idea). Where does edit css tool store the code I entered?

    Thanks

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    where is it stored?

    In the relevant theme's folder withing wp-content/themes. So if you are editing the CSS of a child theme called Wibble, the stylesheet in wp-content/themes/wibble will be updated when you hit "Save".

  3. eknight74
    Member
    Posted 1 year ago #

    I know it did update but there is only a file that says style.css under wp-content/themes/Admired Too. Admired Too is my child theme. When I open the file the only thing in it is the header. No code,

    The way you described is what I thought happened but there is no code and there were no other files added when I saved it.

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Are you absolutely sure that you are editing the correct file in the right theme? Check the theme's name in the dropdown above the editing window.

  5. eknight74
    Member
    Posted 1 year ago #

    Within the CSS Stylesheet Editor there is no drop down menue above the editing window. However, at the right near the bottom is a list of dates of modifications and the theme name it those were made to. It has the ones I did yesterday listed under the child theme name.

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    Are you editing via Appearance -> Editor?

  7. eknight74
    Member
    Posted 1 year ago #

    via appearance edit CSS

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    There's no "CSS" in WordPress by default. Just Appearance - > Editor. The dropbox is at the top right and labelled "Select theme to edit:".

  9. eknight74
    Member
    Posted 1 year ago #

    When I click appearance there are two types of editing

    3rd from bottom of list edit CDD
    last in list editor

    I used the first option yesterday when editing. Did my changes do nothing?

  10. eknight74
    Member
    Posted 1 year ago #

    The first option I listed and used as above says CSS StyleSheet Editor at the top of the page displayed.

  11. esmi
    Forum Moderator
    Posted 1 year ago #

    3rd from bottom of list edit CDD

    Assuming you meant "CSS", that's definitely not part of WordPress itself. Have you perhaps installed a plugin with a custom CSS option? Like Jetpack?

  12. eknight74
    Member
    Posted 1 year ago #

    whoops CSS not CDD sorry for the typo and thank you so much for your help btw

  13. eknight74
    Member
    Posted 1 year ago #

    Yes I activated jetpack. I do not use all the options though.

  14. eknight74
    Member
    Posted 1 year ago #

    I just checked and you did find the problem I am having. It is jetpack that added the edit CSS.

    If I used it, do you know where it stores the edits I made?

  15. esmi
    Forum Moderator
    Posted 1 year ago #

    My guess is that you're using Jetpack's Custom CSS Module - in which case, Jetpack stores the new CSS in your database as part of it's plugin settings. Since you have a child theme, you may want to just use Appearance -> Editor for your permanent CSS changes.

  16. eknight74
    Member
    Posted 1 year ago #

    Got it.

    Can I veiw and/or delete my changes from jetpacks database?

    If not, I can leave as is.

    Do you think I should make the same edits using the editor?

  17. esmi
    Forum Moderator
    Posted 1 year ago #

    Can I veiw and/or delete my changes from jetpacks database?

    You should be able to view your changes via Jetpack's CSS module itself.

  18. eknight74
    Member
    Posted 1 year ago #

    how do I get to that?

  19. esmi
    Forum Moderator
    Posted 1 year ago #

    Via Appearance -> Edit CSS.

  20. eknight74
    Member
    Posted 1 year ago #

    No I mean how do I get to the actual database that contains the changes (i.e. code) I entered into the edit CSS?

    Sorry for the confustion.

  21. esmi
    Forum Moderator
    Posted 1 year ago #

    Why do you need to go into the database?

  22. eknight74
    Member
    Posted 1 year ago #

    I used it to change the layout of my comments. There are two that are required. I wanted to view the code to decide if I wanted to enter anything else to make adjustments

  23. esmi
    Forum Moderator
    Posted 1 year ago #

    You do NOT do that via the database. You can do it via Appearance -> Edit CSS.

  24. eknight74
    Member
    Posted 1 year ago #

    Thanks Esmi.
    U r the best.

  25. wptyler
    Member
    Posted 7 months ago #

    I am trying to edit my 2011 child theme...only the nav. bars I could change the color...both these sites have child themes , but everytime I edit...only the nav.bars can be edited. What's wrong?

    Thanks,
    Tyler

    http://blog.tylermiro.com/

    http://tylermiro.com/musicblog/

  26. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    @wptyler - could you start your own thread - this one is already marked resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic