In this article, you'll learn about the Styles settings tab of Foxify.
Parameters in Foxify Styles settings are to leverage your store's look and feel, making it stand out and unique.
The style settings are different from element to element. Available style settings of the selected elements will show on the right sidebar.
This article will walk you through common Foxify Styles options that you can find in almost all elements.
In this dropdown, you can edit and adust text-related settings to your liking.
- Choose your preferable font from a variety of options:
- Adjust an element's font weight, color, size, line height, and text alignment with ease.
- Click More settings to set the text's letter spacing, transformation (uppercase, Title case, lowercase), style (regular/italic) and decoration.
Quickly fine-tune your content layout by selecting the option Enable auto layout.
Use the Wrap children option to wrap to additional lines when they no longer fit on the initial line. The element(s) that don't fit will wrap to the bottom-left in the parent element.
With Foxify, control of the element's margin and padding is simple and flexible.
Margin and padding are powerful tools to create spacing around your content.
Margins create extra space around the element, while padding pushes the content deeper inside the element border.
You can decide to use the same value for all four dimensions: top, right, bottom, and left, or adjust them separately.
Spacing settings - Uniform values
Spacing settings - Separate values
You can also select the size unit you want to use: px, rem, or em. Want to know more about these measurement units? See this article:
In this setting, you can change the section width and height of the element.
The recommended size for each element is already filled in the field.
If you decide on using dimensions to your liking, remember to double-check to make sure the new dimensions work out across different devices.
To create a customized experience for shoppers, click on the device selector icon to set the dimensions on different screen sizes.
The More settings button allows you to set the minimum and maximum values for the selected element width and height.
Similar to spacing, both px, rem, or em are available.
In More settings, you can find more options to adjust different properties of the background:
Fixed: The background image stays fixed no matter what.
Scroll: The background image scrolls with the main view, but stays fixed inside the local view.
Local: The background images scroll with the element's content.
The background-size CSS property sets the size of the element's background image. The image can be left to its natural size, stretched, or constrained to fit the available space.
Auto: Default value. The background image is displayed in its original size.
Contain: Resize the background image to make sure the image is fully visible.
Cover: Resize the background image to cover the entire container, even if it has to stretch the image or cut a little bit off one of the edges.
Spaces not covered by a background image are filled with the background-color property, and the background color will be visible behind background images that have transparency.
For example: the image we're using is 1000 x 512 px, jpg. format.
Background size: Auto
Background size: Contain
Background size: Cover
The background-repeat CSS property sets how background images are repeated. A background image can be repeated along the horizontal and vertical axes, or not repeated at all.
This setting works with Auto and Contain background size.
- Repeat: tile the image in both directions
- Repeat x: tile the image horizontally
- Repeat y: tile the image vertically
By default, the background image is set as no repeat.
For example: the image we're using is 250 x 200 px, jpg. format.
Background repeat: Repeat
Background repeat: Repeat x
Background repeat: Repeat y
This setting allows you to move your background image around within its container.
There are 9 options to place your background image:
- Top left/ top center/ top right
- Middle left/ middle center/ middle right
- Bottom left/ bottom center/ bottom right
You can add and adjust the element's border in Styles settings.
Border style: Choose from 3 available styles: Solid line, Dotted line, and Dashed line. By default, an element is set as no border.
This section also allows you to control the width of the border and its roundness using Border width and Border radius settings.
This section is for modifying the opacity of the whole section. Simply tweak the toggle to adjust it.
Changes you made in Styles settings will be shown here.
You can edit the CSS code in Custom CSS and the changes will be reflected in the settings.
Here is one example: