[Resolved] Override the existing class of element
I’m new to wordpress and absolutely new to customizr.
I have a little bit experience of dealing with css and html.
And I understand how to switch the class of the element to change how it looks, just like when using Bootstarp (For instance switch between span1 to span12 to have different width of block.) But I don’t know how to override using the child theme. I totally have know idea about filter and action, and no experience at php also.
So here is the thing, I wanna dynamically change the class span3 to span6 for logo and change the class span9 to span3 for navbar-warpper using the functions.php in child theme.
<div “class=”brand span3”>…</div> ==>> <div “class=”brand span6”>…</div>
<div class=”navbar-wrapper clearfix span9″>…</div>
<div class=”navbar-wrapper clearfix span6″>…</div>
- The topic ‘[Resolved] Override the existing class of element’ is closed to new replies.