Forums › Forums › Search & Filter Pro › Custom CSS
Tagged: custom css
- This topic has 22 replies, 2 voices, and was last updated 5 years, 4 months ago by
Anonymous.
-
Trevor(Private) May 15, 2020 at 2:37 pm #244159
Is this an example of what you made?
.sf-input-select { font-family: Gill Sans; font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: 1.5px; padding: 15px 20px; border-radius: 0px; background-color: #ffffff; }
See how, in the inspector, there is a selector above it?
https://www.screencast.com/t/Bs3WEJhN4ySe
That has greater specificity.
It would suggest this might work (but it won’t quite):
.searchandfilter select.sf-input-select { font-family: Gill Sans; font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: 1.5px; padding: 15px 20px; border-radius: 0px; background-color: #ffffff; }
But THIS would work:
.searchandfilter[data-sf-form-id="244"] select.sf-input-select { font-family: Gill Sans; font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: 1.5px; padding: 15px 20px; border-radius: 0px; background-color: #ffffff; }
Does that help?
Anonymous(Private) May 15, 2020 at 3:13 pm #244196That’s weird, neither of them are perfectly correct.
This is what I want: https://www.screencast.com/t/Pz0onM4H4m
And this is what I see: https://www.screencast.com/t/UBRkUkAicG
-
AuthorPosts