Search
Other ReReplacer questions
Forum

Rereplacer update/replace CSS classes?

nimdas's Avatar nimdas
Hello Team,

12.6.7 ReReplacer pro, joomla 4.2.9 & have a question if "on the fly CSS classes" from a specific extension can be adjusted?

Instead of manually creating an HTML override that will be replaced after the official update installed, I would like to know if CSS classes can be adapter & called by ReReplacer?

Thank you for the information.
Peter van Westen's Avatar Peter van Westen ADMIN
If those CSS classes are present in the HTML output of the page, then ReReplacer can replace them.
Please post a rating at the Joomla! Extensions Directory
nimdas's Avatar nimdas
Could you provide an example? From class="btn btn-success" to replace it with
class="js-accept uk-button uk-button-default uk-margin-small-left" & only for the ECR extension: kubik-rubik.de/ecr-easy-content-restriction ?
Peter van Westen's Avatar Peter van Westen ADMIN
To do the replacement, simply search for that class string and replace it with you want.

ECR seems to be a plugin. So you need to see if it has a specific 'footprint' in the HTML.
Like some specific starting and ending HTML.
If so, you can set the ReReplacer item up to only replace between those HTML parts.
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription