• I am using a Customizr child theme and want to change the html to add an “inner” wrap area to the main wrapper. Any ideas of what needs to be edited in terms of adding a div? I can handle the css but don’t know which php file (from the original Customizr) to change and add to my child theme.

Viewing 1 replies (of 1 total)
  • you mean inside that div
    <div id="main-wrapper" ..>?
    If yes you can do something like this in your child theme functions.php

    add_action('__before_main_container', function(){ echo '<div class="whatever">';}, 0);
    add_action('__after_main_container', function(){ echo '</div><!--.whatever-->';}, 200);

    That’s all.

    Hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘create inner wrapper inside main wrapper’ is closed to new replies.