Tagged: expand target elements, selector
- This topic has 1 reply, 2 voices, and was last updated 7 years, 11 months ago by
Sebastian.
Author | Posts |
---|---|
bonest
May 25, 2017 at 2:09 pm
|
Heads up! this post was created when Microthemer was at version 5. The current version is 7. Some references to the interface may be out of date. Hi I have created a selector and named it Buttons. Now when ever I stumble over a plugin that has its own styling I would like to add the necessary selectors to my existing Buttons selector, so they all share the same styling. |
Sebastian
May 26, 2017 at 2:44 pm
|
Hey Bonest, We will probably add a pure GUI method for this soon. But currently, you will need to manually edit your Buttons selector. Please try the following steps:
Note, a better way to target multiple elements is to choose a selector that targets common elements, or elements that share a common class or ancestor. E.g. if all buttons had the class ‘button’ you could target them all by choosing this option from MTs targeting suggestions:
But of course it isn’t always feasible to add your own custom classes to the HTML content WordPress produces. Especially if the buttons come from plugins. In which case, the comma separated selector approach described above is your best bet. I hope that helps. Please let me know if you need further assistance with this. Cheers, |