Override Theme styles with custom selector for more CSS specificity #17598
ashbryant
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I've had this issue a couple of times now where a theme being used has more weight on its CSS selectors than that of Elementor's and thus Elementor's styles are overridden by those of the theme.
I've managed to 'fixed' this by adding in a selector to the the elementor > includes > stylesheet.php (line 74) that then increases the weight of elementor's styles, but being able to do this from the admin would obviously be best as any changes here will need to be replicated every-time elementor updates.
`
public static function parse_rules( array $rules ) {
$parsed_rules = '';
`
All reactions