Help with wordpress template!

10zen

Power Member
Joined
Feb 26, 2010
Messages
775
Reaction score
367
I want to create a page template without sidebar.
I want to use it for creating landing pages.
I am using Gonzo responsive theme.

Before asking for help here I tried some tutorials.
Created a page template without sidebar but the
sidebar space remains.

Can anyone post what I need to do decrease the page width to around 750px(original main
post width) i.e. remove the sidebar space?
 
sorry, let me see if i understood this correctly, you basically want to remove the sidebar but conserve the original 750 px width?
 
Copy page.php and name it like page-no-sidebar.php, find and comment this code <?php //get_sidebar();?>. Put this "//Template Name: No Sidebar" at the very top of the page below <?php. Save and upload or whatever, no check your page in the backend and look for page template, select it and press publish. Let me know if there are more issues.
 
Copy page.php and name it like page-no-sidebar.php, find and comment this code <?php //get_sidebar();?>. Put this "//Template Name: No Sidebar" at the very top of the page below <?php. Save and upload or whatever, no check your page in the backend and look for page template, select it and press publish. Let me know if there are more issues.

I think this will works fine
 
if you are removing sidebar tag from page.php file then increase main content area from css.
 
Try to get premise, it can be used for WP :) and it's very handy! you will find the nulled one somewhere on g00gle!
 
Copy page.php and name it like page-no-sidebar.php, find and comment this code <?php //get_sidebar();?>. Put this "//Template Name: No Sidebar" at the very top of the page below <?php. Save and upload or whatever, no check your page in the backend and look for page template, select it and press publish. Let me know if there are more issues.
Thank you for the reply.
On doing so, sidebar is gone but the blank space remains there.
How to remove it?
 
if you are removing sidebar tag from page.php file then increase main content area from css.

I actually want only the main content area to remain which is around 750-800px.
I don't know how to decrease the page width.
 
Back
Top