• Resolved seafoodholdhand

    (@seafoodholdhand)


    hi there,

    recently i am working on a side project for myself, I tried to utilize the plugin but it’s not working, here is the example:

    SCSS

    [data-rm-breadcrumb-color="white"] .rank-math-breadcrumb {
    	a, span {
    		color: white;
    	}
    }
    
    .rank-math-breadcrumb {
    	a, span {
    		color: #2d4e5a;
    		font-size: 1rem;
    	}
    }

    this is not the only case that is not working, I tried some simple nesting for example CLASS nested in CLASS and it’s not working too.

    but when putting the same scss using WPCODEBOX, the code work flawlessly.

    Thanks.

    Glass

Viewing 1 replies (of 1 total)
  • Plugin Contributor Harivadan Kadiya

    (@harivadan)

    Hi @seafoodholdhand

    Thanks again for observing such a meaningful issue.

    The reason behind the CSS not working might be that our compiler encoded the double quote marks to hexadecimal values that wrapped on the attribute selector.
    In CSS actually the “” are optional to wrap on the value of any attribute selector.
    ex: In your case [data-rm-breadcrumb-color=”white”]

    We redesigned our code to handle this type of attribute selectors which uses the double quote marks(“”) to wrap the value and fixed the problem in our new version.

    Please update the plugin and let us know if it solves your issue or not.

    Thank you.??

Viewing 1 replies (of 1 total)
  • The topic ‘Don’t know why SCSS is not working’ is closed to new replies.