Support » Plugin: Simple Custom CSS » Can't use the ">" CSS selector with this plugin

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author John Regan


    I think I might know the culprit. I’ll take a look at it and get back with you shortly. Thanks for the note!

    That’d be great. Thanks so much.

    Plugin Author John Regan


    Hi Siobhan,

    It turns out that as I was escaping the content of the CSS the “>” was getting stripped out. As a Front End dev at heart, I understand what a big deal this is.

    Long story short, it’s fixed. Please update to version 1.1.1.

    Thanks again for your input. I’m sure that there are other people having this issue. Thanks for helping me make this plugin better!

    Plugin Author John Regan


    Marking as resolved.


    Thank you for the quick replies and for fixing the issue.

    I noticed it when trying to help another user on the forums with their CSS:

    I will let this user know that this issue is now fixed. Thanks again!

    Plugin Author John Regan


    Thanks for recommending my plugin!

    Same issue for ” and ‘ in CSS (i.e. :before & :after {content:”text”}


    $content = str_replace( ''', "'", $esc_content );
    $content = str_replace( '"', '"', $esc_content );

    Edit: apparently can’t put those in code tags in the support forum (remove the space after the &)
    & #039; = single quote
    & quot; = double quote

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can't use the ">" CSS selector with this plugin’ is closed to new replies.