matt 0 Report post Posted January 19, 2010 I'm trying to remove the right-side sidebar from the Highlight Template on StationPro. I tried "Hide Sidebars When Empty (no widgets)" Under Sidebar Options and there are no widgets in there, but it did not work... It did however clear my search and Facebook widgets in my footer...??? Any ideas? Share this post Link to post Share on other sites
matt 0 Report post Posted January 20, 2010 Here is the page I'm trying to remove the sidebar on: http://www.kahnmedia.com/wp/?page_id=23 Share this post Link to post Share on other sites
jnoh 0 Report post Posted January 20, 2010 It looks like you're using the sidebar on other pages. Are there widgets in the "main_sidebar" container? If so, checking the box won't hide the sidebar. To clarify. On the Highlight template, you're interested in having the content area stretch across the whole page? note: the site looks great! great custom job on the theme. Share this post Link to post Share on other sites
matt 0 Report post Posted January 20, 2010 Thank you for the compliments! There are no widgets in the "main_sidebar" container. You are correct. I'm trying to get the content area to stretch across the whole page. Thanks! Share this post Link to post Share on other sites
jnoh 0 Report post Posted January 20, 2010 Simply hiding the sidebar won't do that for you. It'll just leave an empty space where the sidebar should be. Let's hack a template together using the highlight page and the full width page. Create a new theme file titled page-highlight-fullwidth.php and add this code to it: <?php if(VPRO) { /* Template Name: Highlight Page - Full Width */ get_header(); require(LIB.'/_subhead.php'); require(PRO.'/template_highlight.php'); require(LIB.'/template_fullwidth.php'); get_footer(); } ?> Save this file and add it to your theme files. Now in your Page Editor, you should see a "Highlight page - Full Width" option in the dropdown for template selection. Let me know if anything was unclear. Share this post Link to post Share on other sites
matt 0 Report post Posted January 21, 2010 I think we're getting close. I really appreciate your help. The new template did remove the sidebar, but also removed everything else on the page... http://www.kahnmedia.com/wp/?page_id=23 I'm not sure why? Share this post Link to post Share on other sites
jnoh 0 Report post Posted January 21, 2010 Oh very sorry (typo). Instead of: require(LIB.'/template_fullwidth.php'); use: require(PRO.'/template_fullwidth.php'); Share this post Link to post Share on other sites
matt 0 Report post Posted January 21, 2010 Works Perfectly! Thank you so much, You saved the day! Share this post Link to post Share on other sites