- This topic has 7 replies, 3 voices, and was last updated 8 years, 7 months ago by
Tom.
-
AuthorPosts
-
August 20, 2017 at 11:42 pm #370177
Simon
Hello
Right now my site homepage is the woocommerce shop category page. I am happy with the page.
I want to take the header and footer from the above page and add it to this page, which I made using elementor and the canvas page template. If I change to the regular template it puts everything see on the screen into a container box. What I want instead is to have exactly what you see on this page, only with the header and footer from the previous page added.
August 21, 2017 at 8:38 am #370451Leo
StaffCustomer SupportHi Simon,
This should help: https://docs.generatepress.com/article/page-builder-container/
Let me know.
August 22, 2017 at 3:08 am #371062Simon
Hi there
Yes we are on the right track. Two more issues and it will be perfect.
1) I have margin / padding above and below the elementor content.
2) I have used the ‘gp hooks’ feature to add some an elementor template to before content section. However I want to be able to hide this section from the home page.
August 22, 2017 at 3:23 am #371071Simon
okay solved the condition GP Hook with this code
<?php if (is_page( 1146) ) { ?>
<?php } else { ?>
[elementor-template id=”267″]
<?php } ?>
1146 being the page ID of my homepage
Just gotta remove the margins now…
August 22, 2017 at 8:09 am #371248Leo
StaffCustomer SupportYou have this CSS added which is giving it padding:
.inside-article { /*background-color:#fefef9!important;*/ -webkit-box-shadow: 0px -1px 52px -11px rgba(0,0,0,0.2); -moz-box-shadow: 0px -1px 52px -11px rgba(0,0,0,0.2); box-shadow: 0px -1px 52px -11px rgba(0,0,0,0.2); padding:4em 3.6em!important; }Then you need this CSS:
.entry-content { margin: 0; }August 22, 2017 at 8:15 am #371257Simon
Legend – working perfectly now
The page builder container is a good send. Could the CSS for
.entry-content {
margin: 0;
}be added automatically when page builder container is enabled? Just a suggestion…
I’m marking this as resolved. Thanks!
August 22, 2017 at 8:39 am #371292Leo
StaffCustomer SupportWe will look into this 🙂
August 22, 2017 at 9:10 am #371334Tom
Lead DeveloperLead DeveloperRemoving the margin from the entry content shouldn’t be necessary as long as the title is disabled on the page using Disable Elements. If there’s no title, GP will remove that margin for you.
-
AuthorPosts
- You must be logged in to reply to this topic.