child themes and editor-styles.css (2 posts)

  1. AaronPowell
    Posted 5 years ago #

    I have a child theme setup to tweak the default twentyten theme. One of the changes I made was to turn off the italics for blockquotes within posts. Problem is, the editor-styles.css file for twentyten tells the WordPress editor to make italics within blockquotes format as font-style=normal so they'll display different from the italicized rest of the text. I want to change that.

    I created a new editor-styles.css file within my child theme directory and changed the blockquote settings. But it isn't being picked up. Rather, the editor is still referencing the /twentyten/editor-styles.css. Is there a way to override this within the child theme, rather than just editing the twentyten/editor-styles.css? I'd rather not have to make the change over again each time twentyten is updated.

  2. Digital Raindrops
    Posted 5 years ago #

    Use the !important rule this will override any other calls to the elements style attribute.


    .my-content a{
       font: normal 12pt sans-serif !important;



Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.