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

Anchor text color fix #1285

Closed
pingram3541 opened this issue Feb 8, 2017 · 1 comment
Closed

Anchor text color fix #1285

pingram3541 opened this issue Feb 8, 2017 · 1 comment

Comments

@pingram3541
Copy link
Contributor

Often setting a button/anchor text color is not effective because the theme likely targets anchor tags directly such as:

.some-class a {
  color: #000000;
} 

And Elementor's color control within the text property results in:

.elementor-uniqueue-class .elementor-button {
  color: #ffffff;
}

But this won't override the color because the selector hierarchy is insufficient as the anchor element is higher in specificity than the .elementor-button class. However, if you simple add the selector, problem solved!

.elementor-uniqueue-class a.elementor-button {
  color: #ffffff;
}
@pingram3541
Copy link
Contributor Author

Thank You!

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

1 participant