Global Page Structure


Below we have explained the global page structure that is mandatory to start a new page in the Zeal Consult Template.

  1. Navbar : Nav_fixed > Navbar Component
  2. Page Wrapper : page-wrapper > Global styles component
  3. Main Wrapper : page-wrapper > main-wrapper
  4. Hero Section : page-wrapper > main-wrapper > header component.
  5. Footer : page-wrapper > main-wrapper > footer component.

You can place your elements between the Header Component and the Footer Component.

Variables


In the Designer Click on the Variables Icon from the left panel and you will be able to see all the Color Variables Used in the Zeal Consult Template.

First we have declared colors with color codes.

And then used the declared variable as a value for the new variable.

For Example:

We created zc Citrus Green : #bde162.

And then we created a new variable zc background tertiary : zc Citrus Green.

In the above declaration we have re-used the same variable zc Citrus Green as color value for zc background tertiary. Which means, if you will change the color code of zc Citrus Green then it will impact the color value for zc background tertiary as well. So, that someone using the template has to change the color only at one place and get that reflected in all the possible places.

Custom Code

Login > Click on Three dots > Site Settings > Custom Code

Login : Go to  https://webflow.com/login

Click on Three Dots : Click on the three dots located at the bottom-right corner of the site thumbnail.



Site Settings : Click on the three dots and then click on Settings.

Custom Code : From the links panel on the left side click on the Custom Code. To see the custom code. The upper block has css code required for adding the background color in the navigation when the user scrolls down.

The Below code has the Javascript applied to navigation on the scroll of the page.