Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Suggestion - Use "selector" only when needed in Custom CSS, not forced #1086
Currently when using the Pro Custom CSS feature we are restricted to css for that element and child selectors only. We can't apply hierarchical rules such as "body.is-special .some-elementor-selector a" For example, adding custom css to a text element like so:
However we can already do this using "selector" to achieve the same result:
So why not remove the forced inclusion and allow us full freedom to write our own rules, media queries, @font rules and most importantly body class selectors so we can truly refine our designs without leaving the designer?
This way if we have full control without sacrificing the simplicity of using custom because we still have the dynamic "selector" variable.
Yes we can do this with tools outside Elementor, but that's not what we want. =)
referenced this issue
Dec 24, 2016
Another use case I just came across is when the design calls for absolute positioned elements I'd like to add rules such as:
This way I get the desired results on the front end but do not break Elementor's inline editor controls mixed into the page content when editing.