PageFly - Element’s style settings

226 views Linh 3

PageFly provides powerful styling options for all elements. To illustrate how they work, we will look at 2 examples with Image and Paragraph elements.

Styling parameters

Overall

Content color – this parameter allows you to choose the color for the content, which can be text or icon.

pagefly styling tab 1

Note: Some elements like “Image” don’t have this parameter.

Spacing

Parameters in this group allow you to control the spacing around and inside the element. In the Padding and Margin parameters, each of them has 4 empty boxes that allow you to fill in the value for 4 sides: top – right – bottom – left.

You can read the details for this in the Edit Spacing article.

Typography

You can change the font family here.

pagefly styling tab 2

You can add more fonts by opening the Font Manager.

pagefly styling tab 3

With every font, you can configure the following parameters:

  • Font Size
  • Text Alignment
  • Text Style

pagefly styling tab 4

The More Settings button gives you 4 extra options:

  • Font Weight
  • Line Height
  • Letter Spacing
  • Text Transform

pagefly styling tab 5

Background

Parameters in this group allow you to configure the element’s background color and image.

pagefly styling tab 6

Once you have selected a background image, the More Settings button will provide you 4 more choices to configure the background image:

Border

You can the element’s border styling via Border Style and Border Color.

You can see the illustration with the Solid border style and red border color below.

pagefly styling tab 7

The More Settings button gives you 2 other choices to adjust the Border Width and Border Radius. In the example below, the Border Width is set to 10 px for all sides and the Border Radius is set up 40 px for 4 sides.

pagefly styling tab 8

Display

Manage the element arrangement via CSS display options:

  • Inline
  • Block
  • Flex

Read more:

Custom CSS

All the set up you made for the element will be displayed in the CUSTOM CSS parameter as per the image below.

pagefly styling tab 9

You can edit the CSS code and all the changes will be applied in your page editor.

Style presets

PageFly provides pre-made style presets that allow you to quickly have styling configured.

pagefly styling tab 10

Currently, this feature is available only for some elements, but in the near future, we will update style presets for all elements.

Device-specific settings

All element style settings can be configured once for all devices as well as specifically for individual devices like Laptop, Tablet or Mobile. To edit the styling for the specific device just use the Device Switcher to switch editing mode to target device and adjust style settings for it.

pagefly styling tab 11

Note: Parameter configured in “All Devices” will have effects on all devices and automatically works correctly. Only in rare cases will you have to do configuration for specific devices.

Was this helpful?