Hi,
I have just installed Vantage Premium and am very impressed with the theme.
I’ve found nearly everything works very smoothly, but have just noticed that the CSS rules for custom link colours are not applied to sidebar widget links (e.g. post archive links etc.).
The problem seems to be that the selectors are too specific, applying only to anchors within paragraphs within the #secondary container, e.g.:
.entry-content p a, .entry-content p a:visited, #secondary p a, #secondary p a:visited { color: #92000b } .entry-content p a:hover, .entry-content p a:focus, .entry-content p a:active, #secondary p a:hover { color: #005d53 }
The issue here is that the widget links are contained within unordered lists, _not_ paragraphs, and so the rules are not applied to them.
I’ve worked around the issue using custom CSS with a modified selector:
#secondary a, #secondary a:visited { color: #92000b } #secondary a:hover { color: #005d53 }
This is okay for now, but just wondering if there is a reason for such specific selectors? I can foresee problems with bulleted list links within .entry-content containers, which would require a similar workaround.
Look forward to any responses.
Cheers,
John
Hi John
Thanks for running Vantage and for your feedback. There is unfortunately a limitation to the way links have been handled in the Customizer. We do have this logged for review. What you’ve done is perfect. You could also apply it to the containing div as follows:
As long as these selectors are added to Appearance > Custom CSS or a child theme, you’re all good.
Thanks for your help and for clarifying Andrew.
No problem. Glad we could help out there. Thanks for the wait.