Skip to content

Anchor text color fix #1285

@pingram3541

Description

@pingram3541

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;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions