- This topic has 4 replies, 2 voices, and was last updated 2 years ago by Leo.
November 27, 2019 at 2:03 pm #1080411Kathy
Still testing some things – was trying to use GPP & Gutenberg only, but am fiddling with Elementor (free).
If I have an h2 that is a link, GPP via gutenberg styles it as my site link styles dictate.
If I have an h2 that is a link, composed in elementor with their heading element, the link is un-styled.
I have Elementor set to disable Elementor’s Default Colors (so it inherits the theme styles). The icon in the icon element does inherit the site link styles, but the H2 does not. see: /?page_id=5846
Not sure why this would be – a link is a link unless additional css told it to style differently (no ?)
Both H2’s are constructed the same way:
<h2><a href="#">This H2 is a link</a></h2>
But Elementor wraps it in a div container and adds classes to the h2 tag. However I am not seeing the CSS that is nullifying/preventing the site wide link style from applying, but the .inside-article link settings are lined out when inspecting the h2’s a tag in chrome developer tools.
Do I have to go about defining more specific link css for this to work? – seems redundant if I’m not doing anything different from the rest of the links in the article.
Am I missing a setting or something so obvious I can’t see it?
I know this is probably an elementor issue, not a GPP one – but I’m still just wrapping my head around GPP so I’m wondering if this has been seen before or if I am missing a gpp setting?
– kathyNovember 27, 2019 at 4:44 pm #1080565LeoStaffCustomer Support
Looks like it’s getting overwritten by Elementor:
If you can remove that CSS, then the link color from GP’s customizer should kick in:
Check with their support if you aren’t sure why that CSS is there.
Hope this helps 🙂November 27, 2019 at 5:33 pm #1080624Kathy
wow – thanks.
has color and font-size set to “inherit”
I would have thought that meant it would inherit the default a styles, but obviously it is not.
Anyway, Thanks for diagnosing this!
Will have to work around / look into it further.
I’ll post the question to them (unfortunately it’s the free version, so not sure how far I’ll get)
– kNovember 27, 2019 at 5:34 pm #1080625Kathy
marking resolvedNovember 27, 2019 at 6:17 pm #1080648
- You must be logged in to reply to this topic.