Jump to content
Sign in to follow this  
etinteractive

WHP3 cannot turn off sidebar on homepage

Recommended Posts

etinteractive

Since moving to WHP3 you cannot turn off the sidebar box on the homepage in version 3? It only goes away if you're using fullwidth page. is this correct? I need to edit this line

<?php if(!$full_width_page) get_sidebar();?>

Line 37 of template_pots.php under /library/

Share this post


Link to post
Share on other sites
bryan-hadaway

It's much easier than that, simply add this to your Custom CSS:

.home #sidebar{display:none}

Thanks, Bryan

Share this post


Link to post
Share on other sites
etinteractive

well nice thought but your homepage text has a hard coded width. so the sidebar disappears but the text doesn't shift over. how can I make the #maincontent a class="fullwidth" on the homepage w/o changing the template files?

Share this post


Link to post
Share on other sites
bryan-hadaway

Can I please get a link to take a better look. Thanks, Bryan

Share this post


Link to post
Share on other sites
allanv74

Hi, Had a somewhat similar challenge. Using this, worked for me. Custom CSS: .home #sidebar{display:none} .home #maincontent{display:none} Good luck, AllanV74

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×