I have a link block which I’ve given a unique class (let’s say “link-one”) with a height of 3em, but when I look at the published website, my specified height is being overridden by a CSS class called w–current which also has a height specified.
Since the w–current-class is being added to my original class (i.e. .link-one.w–current), it gets a higher specificity in the CSS and thus overrides my specified height.
My questions are:
- Where is this “w–current”-class coming from? I know that some classes have a “Current”-state, but for the link block-element I can’t find it anywhere in the sidebar (or elsewhere for that matter).
- How can I make sure that this w–current-class isn’t overriding my height?
I’d prefer to discuss this in the abstract since I can’t share my project.
Thanks in advance!