Overview #
The padding settings are part of the core theme settings that control the overall look and feel of a shop. These settings are applied globally across the site but can be overridden at the section or block level. The focus here is on the padding settings group, which manages the spacing around content sections on both desktop and mobile devices.
Key components and functionality #
Padding settings
The padding settings allow you to adjust the space above and below content sections, ensuring a balanced and aesthetically pleasing layout. These settings are crucial for maintaining consistent spacing across different devices, enhancing the user experience.
Top padding - Desktop
This setting controls the amount of space above the content section on desktop devices. You can adjust the padding from 0 to 120 pixels, in increments of 4 pixels. The default value is 32 pixels.
Bottom padding - Desktop
This setting manages the space below the content section on desktop devices. Similar to the top padding, it ranges from 0 to 120 pixels, with a default value of 32 pixels.
Top padding - Mobile
This setting adjusts the space above the content section on mobile devices. The padding can be set between 0 and 120 pixels, with increments of 4 pixels. The default value is 16 pixels.
Bottom padding - Mobile
This setting controls the space below the content section on mobile devices. It also ranges from 0 to 120 pixels, with a default value of 16 pixels.
Usage examples #
-
Consistent Layout Across Devices: You might consider setting the top and bottom padding for both desktop and mobile to ensure that your content sections have a consistent look and feel, regardless of the device being used.
-
Customizing Section Spacing: If a particular section requires more or less space, you might consider adjusting the padding settings to meet your design needs, providing flexibility in how content is presented.
-
Responsive Design: Consider using different padding values for desktop and mobile to optimize the viewing experience on each device type, ensuring that content is neither too cramped nor too spaced out.
These settings are essential for creating a visually appealing and user-friendly interface, allowing for customization while maintaining a cohesive design throughout the site.
Align v1.7 is out now! Learn more about our best release yet →