This page wants to be a concrete help to better understand how the project has been structured and a guide for the less experienced user.
Read carefully all the indications and become master of the project: now everything is in your hands 😉.
The project is available only in Basic version. In this project the back-side for content management is not included.
Everything you see in this demo is included in the project file.
With Scrollify, you will also receive the project file (based on Email stack) for the email template used in the form.
height: 100vh
).Sections are generally composed of two main layers:
THE FIXED ELEMENTS
Is the background layer and contains all the elements that do not follow the normal flow during page scrolling. In fact, all of these elements are positioned within a Sticky stack and are overlapped with each other, forming as many layers as the section requires. These elements are animated based on the position of their corresponding "scrollable elements" thanks to the Drift Pro stack.
THE SCROLLABLE ELEMENTS
Is the foreground layer and contains all the elements that follow the normal flow during page scrolling. They are essentially (but not always) empty Container stacks used as scroll markers. Based on their position in the viewport, the Drift Pro stack animates the elements in the Fixed Elements layer.
When you launch the Preview, you will see the scroll markers - these are the red lines that indicate the position of each section and their corresponding scroll marker. They have been added to help the user better understand the animations and the position of the various triggers.
These markers are visible only in Preview mode, so they will not be published if you publish the project. However, in the following section it is indicated how to hide them from the Preview mode.
The continuous red line indicates the beginning of a section.
The dashed red line indicates the stack that serves as a scroll marker.
To disable all scroll markers at once, select the yellow Pen stack named PREVIEW MARKERS located at the beginning of the page and unselect Do Not Publish Content checkbox.
The scroll markers are placed inside yellow Pen stacks called PREVIEW MARKER.
The structure of the pre-built pages looks like this:
The image is for information purposes only. Pen stack names shown may not exactly match those in this project file.
TIP: To show the contents of all Pen stacks at once just select all the Pen stacks and then click on the Show button (on top right of the work space).
The project core is the partial STYLES COMMON TO ALL PAGES, it contains the Site Styles stack and all other styles.
IMPORTANT: This partial must be placed on each page of the front-side.
The styles, within the partial STYLES COMMON TO ALL PAGES, are organized within other Pen stacks based on type.
To quickly show/hide the Pen stack content just select it and then press Shift+H
.
Exists also a faster and awesome way to show/hide the contents of Pen stacks (or any other stack), just with double click a stack title: find out how to activate this feature.
At the end of each section of this page there is a box with a dashed green border indicating where to find the styles related to the topics covered in that section.
This section explains how the STYLES COMMON TO ALL PAGES partial is structured so as to understand its logic and be able to better manage all styles. When you open the partial you will find the following Pen stacks inside it which represent the main types of styles of the project:
SITE STYLES Pen stack, contains the Site Styles stack.
COLOR SETTINGS Pen stack, contains all styles about colors.
ELEMENTS Pen stack, contains all styles (except the color styles).
EFFECTS Pen stack, contains the effects styles (eg. hover effects).
This Pen stack contains the Site Styles stack. Make any changes you want but completely ignore the following style settings:
The styles listed above need to be editet inside the COLOR SETTINGS and ELEMENTS Pen stacks.
This Pen stack contains all styles about colors.
COLOR PALETTE Pen stack is where we need to set all the colors of the project.
These colors are global, so when you set/change a color, all elements that have that color will be changed globally across the entire project.
If you are looking to set/change a color, this is where you need to do it.
ELEMENTS COLORS Pen stack is where we assign the colors (set in the COLOR PALETTE Pen stack) to all elements (eg. text, buttons, tabs, etc.).
In practice, in the first Pen stack (COLOR PALETTE) we create the colors and in the second Pen stack (ELEMENTS COLORS) we assign that colors to the various elements of the project.
The image is for information purposes only. Pen stack names shown may not exactly match those in this project file.
This Pen stack contains contains all styles (except the color styles) of each project element. The styles are organized by type of element in additional Pen stacks.
This Pen stack contains the effects styles (eg. hover effects).
Let's say we want to add a yellow background color to a 1 Column stack, here's how:
IMPORTANT: To learn more about styles, refer to the
The project file form, as well as for the demo website, is set up with Custom Email template created with Email stack.
The project file based on Email stack is also included in the download package.
TIP: If you are interested in professional email templates you can take a look at our Email Pack project.
The project file based on Email stack is also included in the download package. You will need to have Email stack installed in order to edit it.
If you want to edit the project file based on Email stack you will need to have Email stack installed in order to edit it. Follow these steps:
The image is for information purposes only, it may not correspond exactly to this project file.
IMPORTANT: Obviously, for the form to work properly, you'll have to fill in all the fields of the Email Action child stacks, not only the Custom Email text area.
In the project, the 404 Error page is also included. To set up it correctly you need:
Once you choose the page (this project offers you more than one) and its URL you have to insert the code in the htaccess file, here's how to do it:
ErrorDocument 404 https://www.yourdomain.com/404-error/index.php
TIP: You can check if it works by trying to type, in the address bar of your browser, a wrong or non-existent URL belonging to your domain.
The following colors make up the color palette used by all elements of the project (texts, backgrounds, buttons, etc.).
Use the indicated classes to set the corresponding background color.
Keep in mind that colors are global, when you change a color that color changes globally across the whole project.
For example, if you change the primary
color, every element of the project with that assigned color will undergo the change, regardless of whether that element is a text, a button, a menu, background color or any other element.
primary
color must be set a medium-dark or dark color , that is, a color such that a white text over on it reads well.secondary
color must be set a medium-light or light color , that is, a color such that a black text over on it reads well.
bg-almost-white
, bg-almost-black
and bg-light-overlay
.
alt
class, the background color remains exactly what you set. Primary
Add the bg-primary
class to set this background color.
Primary Dark
Add the bg-primary-dark
class to set this background color.
Primary Light
Add the bg-primary-light
class to set this background color.
Primary Text
Add the bg-primary-text
class to set this background color.
Secondary
Add the bg-secondary
class to set this background color.
Secondary Dark
Add the bg-secondary-dark
class to set this background color.
Secondary Light
Add the bg-secondary-light
class to set this background color.
Secondary Text
Add the bg-secondary-text
class to set this background color.
Alert
Add the bg-alert
class to set this background color.
Warning
Add the bg-warning
class to set this background color.
Success
Add the bg-success
class to set this background color.
Light Overlay
Add the bg-light-overlay
class to set a light color overlay background.
Dark Overlay
Add the bg-dark-overlay
class to set a dark color overlay background.
Light Gradient Overlay
Add the bg-light-gradient
class to set a light gradient color overlay on bottom.
Dark Gradient Overlay
Add the bg-dark-gradient
class to set a dark gradient color overlay on bottom.
White
Add the bg-white
class to set this background color.
Almost White
Add the bg-almost-white
class to set this background color.
Light gray
Add the bg-light-gray
class to set this background color.
Medium Gray
Add the bg-medium-gray
class to set this background color.
Dark Gray
Add the bg-dark-gray
class to set this background color.
Almost Black
Add the bg-almost-black
class to set this background color.
Black
Add the bg-black
class to set this background color.
To change the styles, open the Partial and Pen stacks as follows:
STYLES COMMON TO ALL PAGES Partial
↳ COLOR SETTINGS Pen stack
↳ ELEMENTS COLORS Pen stack
Each Header stack must have the title
class assigned. You can also add other classes as below to add more styles.
Display 1
Add also the display-1
class to display the header at this size.
Display 2
Add also the display-2
class to display the header at this size.
Display 3
Add also the display-3
class to display the header at this size.
Display 4
Add also the display-4
class to display the header at this size.
Display 5
Add also the display-5
class to display the header at this size.
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Primary Heading
Add also the primary
class to display the header at this color.
Secondary Heading
Add also the secondary
class to display the header at this color.
Gray Scale Heading
Add also the white
, light-gray
, medium-gray
, dark-gray
or black
class to display the header at the correspondent color.
For each gray scale color (White, Light Gray, Medium Gray, Dark Gray and Black) exists an alternate color version. To show the text alternate color just add the alt
class to its parent, as shown in the following example and table:
Normal colors
Header stacks placed into the parent stack with a light background.
Alt colors
Same Header stacks placed into the parent stack with a dark background and the alt
class assigned also.
Color / Class | If parent has the alt class |
Alt color |
---|---|---|
White white |
Black | |
Light Gray light-gray |
Dark Gray | |
Medium Gray medium-gray |
Medium Gray | |
Dark Gray dark-gray |
Light Gray | |
Black black |
White |
Quote - Solid style
Add also the quote-solid-before
class to display a quote sign at the beginning of the header.
Quote - Solid style
Add also the quote-solid-after
class to display a quote sign at the end of the header.
Quote - Solid style
Add also the quote-solid-before
and quote-solid-after
classes to display a quote sign at the beginning and at the end of the header.
Quote - Light style
Add also the quote-light-before
class to display a quote sign at the beginning of the header.
Quote - Light style
Add also the quote-light-after
class to display a quote sign at the end of the header.
Quote - Light style
Add also the quote-light-before
and quote-light-after
classes to display a quote sign at the beginning and at the end of the header.
To change the styles, open the Partial and Pen stacks as follows:
Color styles:
STYLES COMMON TO ALL PAGES Partial
↳ COLOR SETTINGS Pen stack
↳ ELEMENTS COLORS Pen stack
All the other styles:
STYLES COMMON TO ALL PAGES Partial
↳ ELEMENTS Pen stack
↳ TEXT Pen stack
Each Text stack must have the above-title
class assigned. You can also add other classes as below to add more styles.
Normal Subheading
Subheading
Biggest Subheading
Add also the biggest
class to display the text at this size.
Subheading
Bigger Subheading
Add also the bigger
class to display the text at this size.
Subheading
Smaller Subheading
Add also the smaller
class to display the text at this size.
Subheading
Smallest Subheading
Add also the smallest
class to display the text at this size.
Subheading
Primary Subheading
Add also the primary
class to display the text at this color.
Subheading
Secondary Subheading
Add also the secondary
class to display the text at this color.
Subheading
Gray Scale Subheading
Add also the white
, light-gray
, medium-gray
, dark-gray
or black
class to display the text at the correspondent color.
Subheading
For each gray scale color (White, Light Gray, Medium Gray, Dark Gray and Black) exists an alternate color version. To show the text alternate color just add the alt
class to its parent, as shown in the following example and table:
White text
Light Gray text
Madium Gray text
Dark Gray text
Black text
Normal colors
Text stacks placed into the parent stack with a light background.
White text
Light Gray text
Madium Gray text
Dark Gray text
Black text
Alt colors
Same Text stacks placed into the parent stack with a dark background and the alt
class assigned also.
Color / Class | If parent has the alt class |
Alt color |
---|---|---|
White white |
Black | |
Light Gray light-gray |
Dark Gray | |
Medium Gray medium-gray |
Medium Gray | |
Dark Gray dark-gray |
Light Gray | |
Black black |
White |
To change the styles, open the Partial and Pen stacks as follows:
Color styles:
STYLES COMMON TO ALL PAGES Partial
↳ COLOR SETTINGS Pen stack
↳ ELEMENTS COLORS Pen stack
All the other styles:
STYLES COMMON TO ALL PAGES Partial
↳ ELEMENTS Pen stack
↳ TEXT Pen stack
Each Text stack must have the description
class assigned. You can also add other classes as below to add more styles.
Normal Text
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec. Leo pobortis teppus, dui enim nunc morbi. Luctus vitae apicuam massa facipisis uppamcorper pectus. Quam pacinia tincidunt porem massa. Sed sed apicuam sapien vep et.
Biggest Text
Add also the biggest
class to display the text at this size.
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec. Leo pobortis teppus, dui enim nunc morbi. Luctus vitae apicuam massa facipisis uppamcorper pectus. Quam pacinia tincidunt porem massa. Sed sed apicuam sapien vep et.
Bigger Text
Add also the bigger
class to display the text at this size.
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec. Leo pobortis teppus, dui enim nunc morbi. Luctus vitae apicuam massa facipisis uppamcorper pectus. Quam pacinia tincidunt porem massa. Sed sed apicuam sapien vep et.
Smaller Text
Add also the smaller
class to display the text at this size.
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec. Leo pobortis teppus, dui enim nunc morbi. Luctus vitae apicuam massa facipisis uppamcorper pectus. Quam pacinia tincidunt porem massa. Sed sed apicuam sapien vep et.
Smallest Text
Add also the smallest
class to display the text at this size.
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec. Leo pobortis teppus, dui enim nunc morbi. Luctus vitae apicuam massa facipisis uppamcorper pectus. Quam pacinia tincidunt porem massa. Sed sed apicuam sapien vep et.
Drop Cap
Add also the drop-cap
class to display a drop cap at the beginning of the text with the primary color.
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec. Leo pobortis teppus, dui enim nunc morbi. Luctus vitae apicuam massa facipisis uppamcorper pectus. Quam pacinia tincidunt porem massa. Sed sed apicuam sapien vep et.
Primary Text
Add also the primary
class to display the text at this color.
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec. Leo pobortis teppus, dui enim nunc morbi. Luctus vitae apicuam massa facipisis uppamcorper pectus. Quam pacinia tincidunt porem massa. Sed sed apicuam sapien vep et.
Secondary Text
Add also the secondary
class to display the text at this color.
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec. Leo pobortis teppus, dui enim nunc morbi. Luctus vitae apicuam massa facipisis uppamcorper pectus. Quam pacinia tincidunt porem massa. Sed sed apicuam sapien vep et.
Gray Scale Text
Add also the white
, light-gray
, medium-gray
, dark-gray
or black
class to display the text at the correspondent color.
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec. Leo pobortis teppus, dui enim nunc morbi. Luctus vitae apicuam massa facipisis uppamcorper pectus. Quam pacinia tincidunt porem massa. Sed sed apicuam sapien vep et.
For each gray scale color (White, Light Gray, Medium Gray, Dark Gray and Black) exists an alternate color version. To show the text alternate color just add the alt
class to its parent, as shown in the following example and table:
White text
Light Gray text
Madium Gray text
Dark Gray text
Black text
Normal colors
Text stacks placed into the parent stack with a light background.
White text
Light Gray text
Madium Gray text
Dark Gray text
Black text
Alt colors
Same Text stacks placed into the parent stack with a dark background and the alt
class assigned also.
Color / Class | If parent has the alt class |
Alt color |
---|---|---|
White white |
Black | |
Light Gray light-gray |
Dark Gray | |
Medium Gray medium-gray |
Medium Gray | |
Dark Gray dark-gray |
Light Gray | |
Black black |
White |
To change the styles, open the Partial and Pen stacks as follows:
Color styles:
STYLES COMMON TO ALL PAGES Partial
↳ COLOR SETTINGS Pen stack
↳ ELEMENTS COLORS Pen stack
All the other styles:
STYLES COMMON TO ALL PAGES Partial
↳ ELEMENTS Pen stack
↳ TEXT Pen stack
In this section all the information to set the padding styles. Use the classes as indicated to make the most of them.
For sections with a lot of content, set up the stacks like this:
pad-y-first
class, ideal for the first content of the section. In this way, you will have higher padding on the top side so as to highlight the detachment from the preceding content.pad-y
class, ideal for the internal section contents. This class has padding on top/bottom sides but smaller in size.pad-y-last
class, ideal for the last content of the section. In this way, you will have higher padding on the bottom side so as to highlight the detachment from the content that follows.Top/Bottom Sides
Add the pad-y-first
class to add padding top/bottom sides, with higher values on top.
First content area
Top/Bottom Sides
Add the pad-y
class to add padding top/bottom sides.
Internal content area
Top/Bottom Sides
Add the pad-y-last
class to add padding top/bottom sides, with higher values on bottom.
Last content area
For sections with only one content, set up the stacks like this:
Use a Container/Column stack with the pad-y-single
or pad-single
class. With the first class you will have higher padding on both top/bottom sides, with the second class you will have higher padding on all sides.
Top/Bottom Sides
Add the pad-y-single
class to add padding with high values top/bottom sides.
Content of the section
All Sides
Add the pad-single
class to add padding with high values on all sides.
Content of the section
Padding classes particularly suitable for stacks used for content within the main sections of the page.
All sides
Add the pad
class to add padding on all sides.
Content area
Top Side
Add the pad-t
class to add padding on top only.
Content area
Bottom Side
Add the pad-b
class to add padding on bottom only.
Content area
Left/Right Sides
Add the pad-x
class to add padding on left/right sides.
Content area
Left/Right + Top Sides
Add the pad-x-t
class to add padding left/right and top sides.
Content area
Left/Right + Bottom Sides
Add the pad-x-b
class to add padding left/right and top sides.
Content area
To change the styles, open the Partial and Pen stacks as follows:
STYLES COMMON TO ALL PAGES Partial
↳ ELEMENTS Pen stack
↳ PADDING Pen stack
Add the op-10
class to set the opacity to 10%.
Add the op-20
class to set the opacity to 20%.
Add the op-30
class to set the opacity to 30%.
Add the op-40
class to set the opacity to 40%.
Add the op-50
class to set the opacity to 50%.
Add the op-60
class to set the opacity to 60%.
Add the op-70
class to set the opacity to 70%.
Add the op-80
class to set the opacity to 80%.
Add the op-90
class to set the opacity to 90%.
To change the styles, open the Partial and Pen stacks as follows:
STYLES COMMON TO ALL PAGES Partial
↳ ELEMENTS Pen stack
↳ OPACITY Pen stack
Normal Colors
No additional class to display Tabs at these colors.
Alt Colors
Add the alt
class to parent stack to the display Tabs at these colors.
Primary Colors
Add the primary
class to the parent stack to display Tabs at these colors.
Secondary Colors
Add the secondary
class to the parent stack to display Tabs at these colors.
On Primary Color Background
The parent stack must have the bg-primary
class assigned.
On Secondary Color Background
The parent stack must have the bg-secondary
class assigned.
To change the styles, open the Partial and Pen stacks as follows:
Color styles:
STYLES COMMON TO ALL PAGES Partial
↳ COLOR SETTINGS Pen stack
↳ ELEMENTS COLORS Pen stack
All the other styles:
STYLES COMMON TO ALL PAGES Partial
↳ ELEMENTS Pen stack
↳ TABS & ACCORDIONS Pen stack
Normal Colors
No additional class to display Accordions at these colors.
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec.
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec.
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec.
Alt Colors
Add the alt
class to the parent stack to display Accordions at these colors.
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec.
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec.
Egestas massa, tristicue in augue. Epit sceperiscue nisi, eu bibendum pectus viverra cuam. Mapesuada pupvinar integer peppentescue convappis apicuet nec.
First of all, to use custom icons you need to set the class for the accordion title into the FontAwesome 5 swatch, in this way:
accordion-title:before
class within the CSS Selector text area. In this way we set the Font Awesome font for the accordions title icons:\
symbol before the Unicode value.To change the styles, open the Partial and Pen stacks as follows:
Color styles:
STYLES COMMON TO ALL PAGES Partial
↳ COLOR SETTINGS Pen stack
↳ ELEMENTS COLORS Pen stack
All the other styles:
STYLES COMMON TO ALL PAGES Partial
↳ ELEMENTS Pen stack
↳ TABS & ACCORDIONS Pen stack
In this section all the information to set the entry animations styles. Use the following classes to obtain the respective entry animation.
Add the ani-t-drift
class to set the top side animation.
Writing in Markdown format is a simple and fast way to add styled text to your web pages.
Add the ani-b-drift
class to set the bottom side animation.
Writing in Markdown format is a simple and fast way to add styled text to your web pages.
Add the ani-l-drift
class to set the left side animation.
Writing in Markdown format is a simple and fast way to add styled text to your web pages.
Add the ani-r-drift
class to set the right side animation.
Writing in Markdown format is a simple and fast way to add styled text to your web pages.
Add the ani-t
class to set the top side animation.
Writing in Markdown format is a simple and fast way to add styled text to your web pages.
Add the ani-b
class to set the bottom side animation.
Writing in Markdown format is a simple and fast way to add styled text to your web pages.
Add the ani-l
class to set the left side animation.
Writing in Markdown format is a simple and fast way to add styled text to your web pages.
Add the ani-r
class to set the right side animation.
Writing in Markdown format is a simple and fast way to add styled text to your web pages.
To change the styles, open the Partial and Pen stacks as follows:
STYLES COMMON TO ALL PAGES Partial
↳ EFFECTS Pen stack
↳ ENTRY ANIMATIONS Pen stack
In this section all the information to set the hover effects styles. Use the following classes to obtain the respective hover effect.
Transparent to Primary
Add the bg-primary-hover
class to set this background color on hover.
Transparent to Primary Dark
Add the bg-primary-dark-hover
class to set this background color on hover.
Transparent to Secondary
Add the bg-secondary-hover
class to set this background color on hover.
Transparent to Secondary Dark
Add the bg-secondary-dark-hover
class to set this background color on hover.
Transparent to Almost White
Add the bg-almost-white-hover
class to set this background color on hover.
Transparent to Light Gray
Add the bg-light-gray-hover
class to set this background color on hover.
Transparent to Dark Gray
Add the bg-dark-gray-hover
class to set this background color on hover.
Transparent to Almost White
Add the bg-almost-black-hover
class to set this background color on hover.
Scale Up
Add the scale-up
class to set this effect on hover.
Scale Down
Add the scale-down
class to set this effect on hover.
Move Up
Add the move-up
class to set this effect on hover.
Move Down
Add the move-down
class to set this effect on hover.
Rotate 180°
Add the rot-180
class to set this effect on hover.
Rotate 360°
Add the rot-360
class to set this effect on hover.
Normal Shadow
Add the shadow
class to set this effect on hover.
Small Shadow
Add the sm-shadow
class to set this effect on hover.
Large Shadow
Add the lg-shadow
class to set this effect on hover.
Real Shadow
(Ideal for large elements)
Add the real-shadow
class to set this effect on hover.
Of course, you can combine the various classes to achieve the desired effect.
Example 1
Use the bg-secondary-hover
, move-up
and shadow
classes to set this hover effect.
Example 2
Use the bg-black-hover
, scale-down
and lg-shadow
classes to set this hover effect.
To change the styles, open the Partial and Pen stacks as follows:
STYLES COMMON TO ALL PAGES Partial
↳ EFFECTS Pen stack
↳ HOVER EFFECTS Pen stack
In this section all the information to set the responsive embed content styles. Use the following classes to obtain the respective aspect ratio for maps or videos.
All widths: 16:9 aspect ratio
Add the ratio-16-9
class to the parent stack to display embed content at this aspect ratio.
All widths: 4:3 aspect ratio
Add the ratio-4-3
class to the parent stack to display embed content at this aspect ratio.
SM + MD: 16:9 aspect ratio
LG: 4:3 aspect ratio
Add the ratio-16-9-4-3
class to the parent stack to display embed content at this aspect ratio.
SM + MD: 16:9 aspect ratio
LG: 4:2 aspect ratio
Add the ratio-16-9-4-2
class to the parent stack to display embed content at this aspect ratio.
SM + MD: 16:9 aspect ratio
LG: 4:1 aspect ratio
Add the ratio-16-9-4-1
class to the parent stack to display embed content at this aspect ratio.
SM + MD: 16:9 aspect ratio
LG: 1:1 aspect ratio
Add the ratio-16-9-sq
class to the parent stack to display embed content at this aspect ratio.
SM + MD: 2:1 aspect ratio
LG: 2:3 aspect ratio
Add the ratio-2-1-2-3
class to the parent stack to display embed content at this aspect ratio.
padding-bottom
attribute that determines the height of the map based on its width (which is 100%). So just change this value to change the aspect ratio of the map/video.padding-bottom
attribute with the new one 71.42 as shown in the screenshot below.ratio-7-5
class name to the parent stack.To change the styles, open the Partial and Pen stacks as follows:
STYLES COMMON TO ALL PAGES Partial
↳ ELEMENTS Pen stack
↳ RESPONSIVE EMBED CONTENTS Pen stack
The partial is simply a group of stacks with a fantastic feature: if you place the same partial several times on a page or on different pages, for example on pages A, B and C, and then you modify the partial only on page B, it happens that these changes will also propagate on the same partial positioned on the pages A and C.
In practice, by modifying only one partial, all its instances (or copies) that you will have placed in other pages of the project will also be modified.
When you unpack on a partial, the partial simply transforms into a normal group of stacks, and is therefore totally independent from the other instances of that partial you just unpacked on that page.
If you unpack on a partial which is present on several pages, they will not all be unpacked, only the one you have unpacked will become a normal stack group (all other instances will remain as partial).
Partials are well organized, be sure to arrange the Stack Library as follows: