• Resolved chrisesch

    (@chrisesch)


    I try to add this piece of code via SiteOrigin to my website:

    /* Uncategorized category in Category List block – dropdown */?
    .wp-block-categories-dropdown option[value=”1″] {
    display: none;
    }

    and thats what SiteOrigin does with it:

    /* Uncategorized category in Category List block – dropdown */
    .wp-block-categories-dropdown option[value=”1″] {
    display: none;
    }

    Looks like SiteOrigin is incorrectly converting the [ character to an HTML entity, which is breaking the code.

    Is there a glitch in the SiteOrigin editor? Or are there any settings to solve this?

    Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Andrew Misplon

    (@misplon)

    Hi Chris

    Thanks for getting in touch. The issue doesn’t seem to be present when I check. You can see https://imgur.com/a/q5a0AIm as a demo (https://demo.siteorigin.com/corp/shop/).

    You can perhaps try your rule as follows:

    .wp-block-categories-dropdown option[value=1] {
    display: none;
    }

    Thread Starter chrisesch

    (@chrisesch)

    Thanks for your kind reply, Andrew

    Everything works fine now. The fault was caused by MacOs Mail. I copied the piece of code from a MacOs Mail preview and not from the original support page. So SiteOrigin CSS was not the reason for breaking the code.

    Thnx
    Chris

    Plugin Support Andrew Misplon

    (@misplon)

    Hi Chris

    Thanks for keeping us updated; I’m glad to hear the issue is resolved, and you can move on with your customizations.

    All the best with your site.

    Kind regards,

    Andrew

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘converting the [ character to an HTML entity’ is closed to new replies.