WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Prevent CSS editor from deleting proprietary extension (7 posts)

  1. David Latapie
    Member
    Posted 1 year ago #

    I want to use an Opera's proprietary property:

    -o-link:attr(cite);
    -o-link-source:current

    This Opera CSS linking extensions makes clickable an element with a "cite" attribute (usually "q" ou "blockquote"). (source)

    Sadly, the CSS Editor in WordPress 3.4.2. with the TwentyTwelve theme discards it. I could create a child theme, but I'd rather avoid it and stick with the CSS editor. Fixing this seems a cleaner approach to me.

    Any input?

    Thanks

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    So are you modifying theme files in Twentytwelve?

  3. David Latapie
    Member
    Posted 1 year ago #

    No, I use the "modify CSS" in Appearance.

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    There isn't a "modify CSS" option in Appearance menu when using Twenty Twelve on a self-hosted WP site. Are you using a custom css plugin perhaps?

  5. David Latapie
    Member
    Posted 1 year ago #

    Another similar (but not identical because it is not a proprietary extension) issue:

    In Appearance > Modify CSS, paste this:

    content: attr(title)"\a"attr(cite);

    "\a" will become "a". "\a" is CSS code for carriage return. Barring the \a prevents carriage return to be generated by CSS.

  6. David Latapie
    Member
    Posted 1 year ago #

    Ouch, you are right, this was a plugin :(

    Sorry to have bothered the board. I know have to find out which plugin it was...

    Thank you for the help!

  7. David Latapie
    Member
    Posted 1 year ago #

    Just an addition: the bugs are not from WordPress but from Jetpack. This is the plugin responsible for the buggy "modify CSS" feature.

Topic Closed

This topic has been closed to new replies.

About this Topic