- This topic has 8 replies, 2 voices, and was last updated 4 years, 8 months ago by David.
-
AuthorPosts
-
August 7, 2019 at 6:39 am #977996Mark
I have two questions:
1. I have a site at staging7.nimblethimble.com. I have created a page called “Shopping1” and have the layout on that page set to “no sidebars.” However when I look at that page on the actual site, a right hand sidebar is showing up. As I said, I set the layout for that page to have no sidebars. Why is the right hand sidebar still showing up?
2. This is not directly related to GeneratePress (I think), but the Shopping1 page is from WooCommerce, and I would like the products to show on that page, instead of having to click the category (Goodies) first. Do you happen to know how to set make this happen?
Thanks
Mark
August 7, 2019 at 7:09 am #978018DavidStaffCustomer SupportHi there,
1. if the Shopping1 page is set as the Shop Page in Woocommerce settings then it is the product archive page. You should not edit those pages directly and any metaboxes in the editor e.g Sidebars, Disable Elements etc will not be respected by WordPress ( it won’t action metaboxes on an archive ).
You can remove the sidebar by:
a. Activated the Woocommerce Module in Appearance > GeneratePress.
b. Change sidebar layout in Customizer > Layout > Woocommerce2. You can change what the shop page displays in Customizer > Woocommerce.
August 7, 2019 at 11:29 am #978383MarkThanks David.
August 7, 2019 at 11:59 am #978409DavidStaffCustomer SupportYou’re welcome
August 7, 2019 at 12:07 pm #978414MarkDavid,
Sorry – I forgot one more question. How do I put Introductory text on the products page? I put some text on the “Shopping” page, but then the products didn’t appear.
Mark
August 7, 2019 at 2:43 pm #978508DavidStaffCustomer SupportYou can use a Header Element to add content below the site header:
https://docs.generatepress.com/article/header-element-overview/
August 7, 2019 at 2:43 pm #978509DavidStaffCustomer SupportYou can use a Header Element to add content below the site header:
https://docs.generatepress.com/article/header-element-overview/
August 7, 2019 at 6:46 pm #978645MarkCould you be a little more specific here: Do I add a header element or a hook? I tried adding a Header Element but I couldn’t see how to add content below the site header on the “Shopping” page. Also, I want the added text to be below the navigation but in front of the Product listing. It “seems” like this would be a hook because it looks like there are WooCommerce hooks. I also tried those, but to no avail.
Thanks
MarkAugust 8, 2019 at 4:45 am #978875DavidStaffCustomer SupportEither the Header Element or the Hook Element will do this.
The key to adding it to the shop is selecting the correct Display Rule – which is:Product Archives
and not the Page that your originally created.Header Element is automatically positioned in the after_header hook so will appear below the Site Header and Navigation as it is a standard GP Template hook, the basis of which you can see here:
https://docs.generatepress.com/article/hooks-visual-guide/
It is only the content area hooks that differ on a Woo page.
-
AuthorPosts
- You must be logged in to reply to this topic.