You are here:Home»KB»Web Design»Design Elements, Styling, Effects and Code»Gantry»Create a Hidden Gantry Section
Tuesday, 07 March 2017 18:18

Create a Hidden Gantry Section

Written by

I needed a hidden Gantry section so I could publish my Javascripts and modal code without creating a load of blanks space.

Solution

  • Create a Gantry section called 'Hidden'
  • Add the following CSS code to your custom.scss file
    /* Hide Hidden Section - So i can paste scripts into it without adding blank space */
    #g-hidden {
        height: 0px;
    }

So far it works but I have not extensively tested it.

Read 1066 times