Support » Fixing WordPress » Editing child theme stylesheet

  • Resolved kjgarmon

    (@kjgarmon)


    I am new to WP and slowly learning. I have successfully created a child theme of Twentyeleven. A simple question: I see many times when trying to make a change that I need to “edit the stylesheet.” Does that mean I go back to the directory where I created the child theme and make the change there? If so, how do I know where it goes? For example, I am trying to remove the frame from an inserted image (a transparent image – I don’t want a frame) on one of my pages, and I’ve seen several posts saying to add this to my stylesheet:

    img[class*=”align”],
    img[class*=”wp-image-“],
    #content .gallery .gallery-icon img {border: none;}

    I understand that, but I just don’t know exactly where to put this! Thanks for any help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Normally you just add changes to the end of style.css.

    So I go back to the child theme that I created in my directory, then add that after “style.css” there? Sorry, I’m so new at this!

    add it TO style.css in your child theme, at the bottom, after whatever else is in there

    Thank you Rev. Voodoo. I finally got it to work!

    I’m another newbie.
    I understand where to put the code I want to alter.
    I saw this example of how to change site title color in the child theme:
    #site-title a {
    color: #009900;
    }
    I want to explore alternate fonts and line weights in the text of my posts. Where do I find the style.css coding that I have imported to my child theme?

    esmi

    (@esmi)

    Forum Moderator

    @bobwhitesel: Please post a new topic.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Editing child theme stylesheet’ is closed to new replies.