Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Apply Style to Anchor - Toggle #2098

Closed
pingram3541 opened this issue Jul 28, 2017 · 2 comments
Closed

Feature Request - Apply Style to Anchor - Toggle #2098

pingram3541 opened this issue Jul 28, 2017 · 2 comments

Comments

@pingram3541
Copy link
Contributor

So many times I've seen someone on the forums struggle to overcome font and color changes when an element such as heading or text, etc includes anchors and the underlying theme css overrides the desired look.

Those of us w/ the know how can use custom css but its certainly not intuitive for future edits or clients making adjustments, they'll just think it's broken.

screen shot 2017-07-27 at 11 19 05 pm

But I had a thought...why not just place a toggle that switches the underlying style selector generated by Elementor to target an anchor as well?

.elementor-element h2, .elementor-element h2 a { .... }

.elementor-element p, .elementor-element p a { .... }

Of course these are simple examples but the proper selectors would be a tad more authoritative to get the job done (i.e. elementor body class + .. + unique element selector)

The toggle could simply be a check box when an anchor exists, right below the other choices for open in a new window and no follow.

screen shot 2017-07-27 at 11 20 41 pm

Or maybe just make it intuitive enough to detect a value in the url/link field and then provide it's own style color/font settings for the "Anchor" in the Style tab?

@arielk
Copy link
Member

arielk commented Aug 9, 2017

Do you have a specific theme with a problem?

I want to check out what we can do to resolve this.

@pingram3541
Copy link
Contributor Author

Yes, this one in particular was using the free Astra theme. https://wordpress.org/themes/astra/

@arielk arielk closed this as completed Aug 20, 2017
KingYes added a commit that referenced this issue Aug 20, 2017
Set font size inherit (fix #2098) for Heading widget
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants