Forums

Making changes on stylesheet in Twenty Ten Child theme (6 posts)

  1. greenpeas
    Member
    Posted 1 year ago #

    Using firebug I found the code I need to tweak on my twenty ten wordpress site, however, I am using a child theme.

    How do I change a particular section that is in the stylesheet on the twenty ten theme on the childtheme stylesheet?

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    How do you bring in twentyten's stylesheet?

    Do you use the @import rule?

    If so, copy the rule from twentyten to your child theme style.css and edit it there

    I personally got to the point where I was editing so much css, I removed the @import rule, and copied all of twentyten's css to my child theme style.css, and then I was free to edit what I wanted

  3. greenpeas
    Member
    Posted 1 year ago #

    I was considering that.... currently my theme just has:

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    I just copied over the portion I wanted to change, and added the changed portion to the childtheme stylesheet, without changing on the original.

  4. greenpeas
    Member
    Posted 1 year ago #

    I just removed the line:

    /* =Content
    -------------------------------------------------------------- */

    and it appears to work now!

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    That should make no difference...odd

    Did you happen to press ctrl+f5 after making your changes originally? The browser needs refreshed after making css changes to see them

  6. greenpeas
    Member
    Posted 1 year ago #

    No, I am on a mac, I just put ? after url, and refreshed.

    I just added it back in, and the change is still there, so I guess it was just cached in!
    Thank you for the assistance!

Topic Closed

This topic has been closed to new replies.

About this Topic