Jump to content

Help with correct css selector


Juanaco

Recommended Posts

Hi there

We are looking to select the highlighted class in the image, the class is create dinamically with a module in our prestashop and we only want to apply "display: none", to the first class (the one which displays "available") there are several label and li 

Anyone can help me to do this?

Thanks in advance

selector.thumb.png.d9c8fb31d802037a38f8b7ff7c43e12b.png

Link to comment
Share on other sites

On 9/17/2022 at 11:06 AM, musicmaster said:

It is not very clear what you want.

Are you looking for some :first application in css? Try here: https://stackoverflow.com/questions/2717480/css-selector-for-first-element-with-class

 

We have tried several selectors, but the problem is that we also hidden another filters, for example, the price by range filter also hiddens his first field, so this solution doesn't work for us at the moment :(

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...