This topic has 1 reply, 2 voices, and was last updated 9 years by Andrei.

  • Author
  • #48000
     zabre00
    Participant

    Quick Question: I have my site on wide layout, but I would like to have a couple pages in boxed layout and I do not want my wide pages boxed or I would just put the site on boxed layout. Is there a way I can have a certain pages boxed without having to put the whole site boxed?

    Thankyou in advance 🙂

    #48789
     Andrei
    Moderator

    Hi,

    You will have to use the following code in your functions.php file:

    COPY CODE
    
    
    function filter_kleo_site_style($site_style){
        if(is_page('test')){ // change this to the page slug you need to use boxed style
            $site_style = ' page-boxed';
        }
        return $site_style;
    }
    add_filter('kleo_site_style', 'filter_kleo_site_style');
    
    

    Also, in boxed style you probably will want to style some aspects. You can do so from Theme Options > Layout Options, switch your layout settings on “Boxed”, make all afferent settings, and after that change it back to wide.

    Hope this helps you.
    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

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

Log in with your credentials

Forgot your details?