Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #184433

    I need to setup up my home page as a stretched layout with the remainder of the site appearing as a boxed layout. I believe that it is a line within the header.php I need to change. What line would I change and to what for the homepage to show up stretched with the remainder of the site appearing as a boxed format.

    #184639

    Hey RDCSI!

    I’m sorry but I think this is a bit complicated. You may need to hire a freelance developer to modify the layout for you. Have you tried using the Advance Layout Builder? Can you please give us a screenshot of what you’re trying to do?

    Best regards,
    Ismael

    #184757
    This reply has been marked as private.
    #185755

    Hey!

    It should be possible though I don’t know the variable to set for the if:home check . I’ve tagged the head of support who should be able to give a quick yes/no and if yes what the change would be.

    Regards,
    Devin

    #186058

    Hi!

    I’m not sure if this modification works flawlessly but you can try to replace following line in header.php

    
    $style 		= $avia_config['box_class'];
    

    with

    
    $style 		= $avia_config['box_class'];
    if(is_home() || is_front_page()) $style  = 'boxed';
    

    On the theme options page select the “stretched” layout.

    Best regards,
    Peter

    #187472
    This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Streched Homepage Layout, Boxed Layout for remainder of site’ is closed to new replies.