Site logo

[Resolved] Using content templat on front page WITH normal page content outside of template

Home Forums Support [Resolved] Using content templat on front page WITH normal page content outside of template

Home Forums Support Using content templat on front page WITH normal page content outside of template

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2466187
    Tom
    • I have a slideshow I want to add under the menu on my front page ONLY.
    • Then I want to build my front page normally (outside of content template).
    • I thought the content template would be a way to easily call the slideshow (with what little GP knowledge I have).

    However

    After building the Content Template – I get ONLY the template showing on the front page now – with no other page content.
    My page content is only available to see in the back-end Pages>My Front Page.

    Is my approach wrong?
    Thanks

    #2466245
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the page in question?

    You can use the private information field:
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know 🙂

    #2466340
    Tom

    Yes…thanks-see below

    #2466427
    Fernando
    Customer Support

    Hi Tom,

    Yes, it seems your approach may be wrong.

    You shouldn’t need an element if you’re showing it just on the Front Page. May we know what specific difficulties you have when trying to add the Slideshow directly to the page?

    #2466953
    Tom

    Fernando,

    I will try it directly on the front page as opposed to a Content Template and let you know.

    I will go back and read up more on when Content Template instances are good to use.

    Thanks!

    #2467048
    Tom

    That worked (go figure).

    I had to set the width to 2400 pixels as 1920 would not reach the right edge of my open browser window. I don’t know if that is the correct thing to so – but have the basic space present and can revisit when ready.

    Thank you!

    #2467128
    Tom

    See below

    #2467397
    Ying
    Staff
    Customer Support

    Hi Tom,

    I had to set the width to 2400 pixels as 1920 would not reach the right edge of my open browser window.

    It sounds like your homepage is a static page, if so, you just need to set the page’s content container to full width, so the section will go full width no matter how wide your browser screen is.

    To set a page’s content container to full width, you can use the layout metabox in the page editor:
    https://docs.generatepress.com/article/layout-metabox-overview/#where-is-it

    #2467417
    Tom

    Thank you Ying, I fixed it. Then changed slideshows. haha.

    Appreciate the help!

    #2467469
    Ying
    Staff
    Customer Support

    You are welcome   🙂

    #2467476
    Tom

    Ying, just to confirm…

    1 – When I want an element to reach the edges of the browser – its best to set the whole page to “Full Width”
    2 – And then set other elements on the page to ‘Container Width”

    Correct? (essentially what I am doing with my front page)

    #2467485
    Ying
    Staff
    Customer Support

    Yes, that is correct 🙂

    #2467489
    Tom

    Ying – thank you for confirming all my questions today. :^)

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