analogwp / analogwp-templates

Style Kits for Elementor adds a number of intuitive styling controls in the Elementor editor that allow you to apply styles globally or per page.
https://analogwp.com
27 stars 7 forks source link

Unable to override accent color at linked icon widget by inline styles #402

Closed lushkant closed 4 years ago

lushkant commented 4 years ago

Here's a replicated page at play site - https://play.analogwp.com/linked-icon-widget-issue/

Accent color takes precedence over the widget's inline color values.

Screen Shot 2020-07-22 at 12 18 29 PM

gvgvgvijayan commented 4 years ago

After analyzed found that the issue can be resolved by adding a custom attribute role="link" in anchor tag's content panel. Please see the image for reference issue_402_anchor

CSS which responsible for this is: https://github.com/analogwp/analogwp-templates/blob/face01eb3e4506c65f03c61ebca8d0ae213caec0/inc/elementor/class-colors.php#L182

mauryaratan commented 4 years ago

@gvgvgvijayan That's not ideal solution. We need to tweak the actual CSS selector without requiring extra steps at users' end.

gvgvgvijayan commented 4 years ago

@gvgvgvijayan That's not ideal solution. We need to tweak the actual CSS selector without requiring extra steps at users' end.

Alright, I understood.