0
Welcome Guest! Login
0 items Join Now

Gantry5 Hydrogen.. How to get Showcase position?

    • AndyBo's Avatar
    • AndyBo
    • Hero Rocketeer
    • Posts: 309
    • Thanks: 2

    Gantry5 Hydrogen.. How to get Showcase position?

    Posted 8 years 7 months ago
    • How do I get the Showcase position on a Gantry5 Hydrogen template?

      In the Outline configuration there are settings for the Showcase background colour and things like that, but in the layout view where you structure the page, there's no 'showcase' section... just (from memory) header, navigation, main body and footer.

      Thanks for any help up the learning curve!
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 21506
    • Thanks: 3081
    • messin' with stuff

    Re: Gantry5 Hydrogen.. How to get Showcase position?

    Posted 8 years 7 months ago
    • Sections in G5 are defined in the Layout Presets for a Theme

      docs.gantry.org/gantry5/advanced/creating-layout-presets

      I haven't installed Hydrogen... but I would think the Base Outline with the Default Layout Preset should show the Showcase Section?
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
    • RacerFX's Avatar
    • RacerFX
    • Sr. Rocketeer
    • Posts: 172
    • Thanks: 10

    Re: Gantry5 Hydrogen.. How to get Showcase position?

    Posted 8 years 7 months ago
    • Andybo, hopefully you figured this out. I used a custom layout folder for this and it works.

      I'm starting to warm up to Gantry 5. It is a bit daunting when you have a bunch of projects and you have to learn another system.

      Here's a copy of a number of row positions I used in Hydrogen. Place the yourtemplate.yaml in templates/yourtemplate/custom/layouts/
      	preset:
        image: gantry-admin://images/layouts/example.png
      
      layout:
        header:
          container:
            - [particle-logo 30, position-header 70]
      
        navigation:
          container:
            - particle-menu
      
        top:
          container:
          - position-top
      
        showcase:
          container:
          - position-showcase
      
        breadcrumb:
          container:
          - position-breadcrumbs
      
        utility:
          container:
          - position-utility
       
        Content Top:
          container:
          - position-content_top
      
       container:
          1:
            - main 80:
              - position-breadcrumbs
              - position-global_messages
              - pagecontent
      
            - sidebar1 20:
              - particle-social
              - position-sidebar
              - position-right
      
        bottom:
          container:
          - position-bottom
      
        footer:
          container:
          - position-footer
          - [particle-copyright 40, spacer 30, particle-branding 30]
      
        offcanvas:
          - particle-mobile-menu
      
    • Last Edit: 8 years 7 months ago by RacerFX.

Time to create page: 0.039 seconds