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.
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?
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.
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'];
$style = $avia_config['box_class']; if(is_home() || is_front_page()) $style = 'boxed';
On the theme options page select the “stretched” layout.
The topic ‘Streched Homepage Layout, Boxed Layout for remainder of site’ is closed to new replies.