Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
  • in reply to: Possible to make header full width in boxed layout? #52825
     jnevent
    Participant

    I just tried the code and everything, but it still doesn’t work, probably i just missed something but i can’t figure out what..

    This is what my kleo-child functions.php file looks like:

    COPY CODE
    <?php
    /**
     * @package WordPress
     * @subpackage Kleo
     * @author SeventhQueen <themesupport@seventhqueen.com>
     * @since Kleo 1.0
     */
    
    /**
     * Kleo Child Theme Functions
     * Add custom code below
    */
    
    function show_full_width_header_on_boxed_layout(){
    	echo '';
    	echo '';
    }
    add_action('kleo_header',
    'show_full_width_header_on_boxed_layout', 9999);
    function
    show_full_width_footer_on_boxed_layout($sidebar){
    	if($sidebar == 'footer'){
    		echo '';
    		echo '';
    	}
    }
    add_action('get_sidebar',
    'show_full_width_footer_on_boxed_layout', 9999);
Viewing 1 post (of 1 total)

Log in with your credentials

Forgot your details?