January 18, 2013 at 10:21 pm #19543
I want this page to be full width? not sure where these side bars are coming from?
see link aboveJanuary 19, 2013 at 12:19 am #104090
Edit your shop page then look for Overwrite default Post Layout, choose Full width.
IsmaelJanuary 19, 2013 at 2:06 am #104091
I have done that and the side bar is still there???
ok, I have done a test here…the template creator works, but not for the woo catalog pages? it doesnt seem to override?
I cant get the above template to work for the other woo catalog pages!!January 21, 2013 at 8:01 am #104092
This is the default image attachment page. WordPress will use the post template if you don’t provide a special template for images. However you can create a special template for images. Eg make a copy of page.php, modify the file (remove the sidebar, etc.) and call it image.php (important, don’t change the name). Then place it into the theme directory where single.php, archive.php, etc. can be found. See also. http://www.wpbeginner.com/wp-themes/ (Purchase code hidden if logged out) – (Purchase code hidden if logged out) /January 21, 2013 at 2:27 pm #104093January 22, 2013 at 4:15 pm #104094
The image attachment page which is what you linked uses the default “post” template provided by the theme. The theme does not come with a template for the images by itself so you will need to create one that is full width, name it “image.php” and put into the themes main folder on your server.
You can make a copy of the themes page.php file and remove the sidebar from it as an easy way to do this.
For the WooCommerce pages (different from your first link), you would need to modify the config file the theme provides for woo commerce but you’ll need to be more specific in what you are trying to accomplish.
DevinJanuary 25, 2013 at 12:59 am #104095January 28, 2013 at 1:34 pm #104096
I’m trying to do the same as I want no side bar on the category pages for now.
It looks like category pages takes the default layout for the blog as if you were to change the layout under the settings for the default blog blog layout it moves the side bar.
Unfortunately there is no option for ‘No Sidebar’
Is this correct?
If so this is very annoying as I want a side bar for the blog but not for the category pages :(January 28, 2013 at 9:49 pm #104098
I can’t get my head round this.
I’ve got the shop base page assigned and when I overwrite the default post layout to fullpage (no sidebar) it’s still there.
But I can get it to move left or right when I change the blog layout.
I can also change the layout if I add a widget under the Shop Overview Page area.
@zzalienzz I think Dude & Devin was replying to the first link you posted not the second.January 29, 2013 at 2:52 pm #104099January 29, 2013 at 9:12 pm #104100January 30, 2013 at 11:53 pm #104101
I am terribly sorry , the fault is completely mine.
Now lets see, there are at least a few recent posts where this questions has been answered I believe.
There are 2 options with different instructions – one shows how to remove sidebars from all category pages, and keep them on main shop page and another shows how to remove them in both places i believe. I think choice # 2 is for your needs, and also further down the page Dude provides the css code you will need to go along with the php.
The topic ‘How do you get rid of the side bar on product catalog page?’ is closed to new replies.