Actually I'm working with a Events CMS (it's Eventtia.com), it allows me to make a basic UI (I'm not happy with that). I want to modify some styles, and it's working using new classes and so on.
I want to overwrite a div class using JavaScript (not JQuery) to force the web browser render the new class on the div. To be clear the div doesn't have an id. So I can't use getElementById(id_name)
<div class="col-md-3 margin_auto">
I want to change to (change the bootstrap class from col-md-3
to col-md-4
) using JavaScript.
<div class="col-md-4 margin_auto">
At the end the WebBrowser gonna render the new class col-md-4 margin_auto
How could I do that?