Hi!

I’m adding the following code to ‘wp admin cleaner > themes > inject custom css’

#adminmenu > #menu-pages {
margin-top: 4px;
border-top: white solid 1px;
}

#adminmenu > #menu-dashboard {
margin-bottom: 4px;
border-bottom: white solid 1px;
}

[id^=”menu-posts-“] {
background-color: white;
}

 

The first two sentences are working but the one with the atribute ([id^=”menu-posts-“] ) is not working.

I checked already directly in the inspector and is working well.

 

 

2 responses to “[atribute] selector css not working”

  1. cmsexpertss says:

    Hi,

    Thank you for contacting us.

    I have checked the code by placing in on our site and its working fine. I think you may have the issue with “inverted comma” please check that as when I placed your provided code then it was also the issue.

    Regards,
    Muhammad Osama

  2. marcorubiol says:

    Thank You!
    Is working.

    Could be a cache problem. I was facing it now.

    Sorry for the inconvenience

Leave a Reply

Your email address will not be published.