Issues overriding padding in CSS on Filter menu items
-
Trying to get the site (using Illustratr theme) and the code I want to use to override the padding on the menu items – currently at 8px top/bottom and 16px left/right, but want to be 5px all around – but even with an “!important” tag the changes are overridden and now my site looks gross and not as pulled together as it should be. Here is the code:
.vp-filter__style-default .vp-filter__item { display:block; min-width:40px; padding: 5px 5px!important; text-transform: uppercase; font-weight: bold; text-decoration-style: solid; line-height: 1.4; color: #24282d; text-decoration: none; Font-Size: 16px; font-family: "Source Sans Pro", sans-serif; background-color: transparent; border: none; transition: .2s border-color, .2s background-color, .2s color; will-change: border-color, background-color, color; }
Not sure how else to go about fixing this, or might be a bug?
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Issues overriding padding in CSS on Filter menu items’ is closed to new replies.