This topic has 2 replies, 2 voices, and was last updated 10 years by stef418.

  • Author
  • #39592
     stef418
    Participant

    Hi,

    i try to do 2 things :
    first : changing the background color for sidebar. Wel, this id done.
    Second : i want the sidebar make 100% height. How can i do this ?

    Sorry for my english, french guy ^^

    Thx for you’r support.

    #39658
     sharmstr
    Moderator

    1 – https://archived.seventhqueen.com/forums/topic/hi-how-can-i-change-color-and-size-sidebar#post-17501

    2 – Kleo uses several files to build all the page sections. You’ll have to edit several files. Most will be in kleo/page-parts/ If you dont know how to do that, you’ll have to hire someone who does.

    If you know php and are familiar with WP templates, you can use this bit of code in your functions file that will output the path/name of all the files it used to build the page. You can see it by viewing the page source code.

    COPY CODE
    
    /**
     * show included template files
     */
    add_action('all','template_snoop');
    function template_snoop(){
        $args = func_get_args();
        if( !is_admin() and $args[0] ){
            if( $args[0] == 'template_include' ) {
                echo "<!-- Base Template: {$args[1]} -->\n";
            } elseif( strpos($args[0],'get_template_part_') === 0 ) {
                global $last_template_snoop;
                if( $last_template_snoop )
                    echo "\n\n<!-- End Template Part: {$last_template_snoop} -->";
                $tpl = rtrim(join('-',  array_slice($args,1)),'-').'.php';
                echo "\n<!-- Template Part: {$tpl} -->\n\n";
                $last_template_snoop = $tpl;
            }
        }
    }
    
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #39673
     stef418
    Participant

    HI,

    I’m ok with php and WP templates.
    Thank you !

    Stef’

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?