Change footer container class
-
Hi,
I want to change the class of a footer div from .container to .container-fluid
The footer is set up like
<div class=”colophon”>
<div class=”container”>
<div class=”row-fluid”>
</div>
</div>
</div>I think I need to use the tc_colophon_class filter.
I tried
add_filter('tc_colophon_class','pec_change_footer_container'); function pec_change_footer_container($content){ $content = "container-fluid"; return $content; }
But this changes the <div class=”row-fluid”> to <div class=”container-fluid”> I’m one div too deep. Is there a way to select up to the parent element?
I’m a noob. Here’s the site
Thanks! This theme is great by the way!
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Change footer container class’ is closed to new replies.