[Resolved] Page template with header and footer for elementor

Home Forums Support Page template with header and footer for elementor

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #370177
    Simon

    Hello

    Right now my site homepage is the woocommerce shop category page. I am happy with the page.

    https://eiremento.com/

    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.

    https://eiremento.com/home-in-progress

    GeneratePress 1.4
    GP Premium 1.4.3
    #370451
    Leo
    Staff
    Customer Support
    #371062
    Simon

    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.

    https://eiremento.com/home-in-progress

    http://nimb.ws/LrNuTv

    #371071
    Simon

    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…

    #371248
    Leo
    Staff
    Customer Support

    You 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;
    }
    #371257
    Simon

    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!

    #371292
    Leo
    Staff
    Customer Support

    We will look into this 🙂

    #371334
    Tom
    Lead Developer
    Lead Developer

    Removing 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.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.