LogoLogo
Back to PageFly.ioVideo Tutorials
English 🇺🇸
English 🇺🇸
  • PageFly Help Center
  • Getting Started
    • Overview
    • Quick start
      • How to Install PageFly
      • How To Use PageFly | Get started in 5 mins
      • How to Create a New Page from PageFly Templates
      • How can I access the PageFly LiveChat?
      • How PageFly work with your Shopify theme?
    • Pricing and billing
      • PageFly pricing plan
      • How PageFly billing work?
      • What happens if I uninstall PageFly?
      • PageFly refund policy
  • Pages & Sections Creation
    • Overview
    • General
      • Setting up PageFly Pages
      • What type of pages that PageFly support?
      • How to use PageFly pages and sections?
      • How to export and import PageFly pages and sections
    • Pages
      • How to create a Homepage with PageFly?
      • How to create a Product page with PageFly
      • How to create a Collection page with PageFly
      • How to create a Blog post page with PageFly
      • How to create a Password page with PageFly
      • How to create a FAQs page with PageFly?
      • How to create a Coming soon page with PageFly
      • How to create an About us page with PageFly
      • How to create a Contact Us page with PageFly
      • How to create a Landing Page with PageFly?
      • How to create A/B testing page with PageFly
    • Sections
      • How to use premade section and saved section to build page?
      • How to create a basic section with image and text
      • How to use parallax effect in a PageFly section?
      • How to create a full-width section in PageFly
      • How to make a sticky section without code in PageFly
  • Page Structure & Elements
    • Overview
    • Editor
      • User interface
        • How to work with PageFly editor?
        • How to work with PageFly on mobile?
        • Page Editor – Element Inspector
        • Page Editor - General Tab
        • Page Editor - Styling Tab
        • How to use Page outline to organize page layout?
        • How to make impressive mobile responsive page?
        • How to use autosave and version history ?
      • Extra Functions
        • How to manage custom option swatches for product variants?
        • How to use Global Styles to customize styles to use for all PageFly pages
        • How to use trash to manage deleted pages, sections, and media files?
        • How to Add Custom Font in PageFly
        • How to manage image and video in PageFly?
    • PageFly Elements
      • Universal Elements
      • Containers
        • Layout
        • Slideshow
        • Tabs
        • Accordion
        • Content List
      • Basic
        • Heading
        • Paragraph
        • Button
        • List
        • Icon
        • Divider
        • HTML/Liquid
      • Media
        • Image
        • Youtube video
        • Vimeo video
        • HTML video
        • Soundcloud
      • Social
        • Instagram feed
        • Facebook like & share
        • Facebook feed
        • Twitter feed
      • Advanced
        • QR code
        • Table
        • Countdown
        • Google map
        • Progress
        • Mailchimp form
    • Shopify elements
      • Custom Content
        • App blocks
      • Product
        • Product Variant Metafield
        • Product list
        • Product details
        • Product media
        • Product title
        • Product vendor
        • Product price
        • Product description
        • Product variant
        • Product quantity
        • Product Add to cart
        • Product view details
        • Product Metafield
        • Dynamic checkout button
      • Collection
        • Collection title
        • Collection image
        • Collection list
        • Collection view details
        • Collection details
        • Collection description
      • Form
        • Customer form
        • Customer form field
        • Customer form button
        • Contact form
        • Contact form field
        • Contact form button
        • Search form
      • Blog posts
        • Blog post list
        • Blog post details
        • Blog post image
        • Blog post title
        • Blog post content
        • Blog post meta
    • Optimization
      • How to use custom code editor to customize your page?
      • Page Analytics
      • How to speed up your Shopify store?
      • How to set up Facebook Pixel to understand the actions people take on website?
      • How to publish PageFly page to Shopify menu navigation?
      • How to use the Zakeke Product Customizer on PageFly pages?
      • How to use Langify to translate my page?
      • How to use Weglot to translate my pages?
      • How to use T Lab to translate PageFly’s page?
      • JSON Template with PageFly
      • How to Optimize Images with TinyIMG in the PageFly editor?
      • How to use Shoplift A/B Testing with PageFly?
      • How to use SEOAnt:AI SEO & Image Optimizer with PageFly?
      • Black Friday Sale Ideas
      • Optimize Pages for CRO with PageFly Elements
      • Optimize Sale On Valentines Day
      • How to set up Christmas Sale Page with PageFly | Best Guide in 2023
      • How to create a Flash sale section - Back to School
      • Optimize Your Store for Mother's Day: Create a Gift Guide with PageFly
    • Main Use Case
      • Align Elements on a Page
      • Direct to Links, Sections, Pop-ups
      • Edit Spacing, Margin and Padding
      • Flex Feature
      • Upload Files to Page
  • Integrations
    • Third-party Elements
      • How to activate integrated third party Shopify apps to use on your pages
      • What apps does PageFly integrate with?
      • Review & Rating
      • Upsell & Cross-sell
      • Badge & Seal
      • Appointment Booking
      • Delivery & Pickup
      • Subscriptions
      • Order Tracking
      • Upload Fields
      • Email Marketing
      • Product Information
      • Push Notifications
      • Referral & Affiliate Marketing
      • Image & Media
      • Loyalty & Rewards
      • Sustainability
      • Gifts
      • Internationalization
      • Advertising
      • Support
      • SMS Marketing
  • FAQ & Troubleshooting
    • Overview
    • FAQs
      • Issues with Shopify themes when using PageFly
      • How we comply with GDPR
      • The URL address of my page
      • PageFly Page editor - FAQs
      • Elements - FAQs
    • Troubleshooting
      • Live site issue
        • Cart Drawer does not Automatically Update
        • Responsive mobile horizontal scroll issue
        • YouTube, HTML Videos do not autoplay issue
        • Page not fully displayed in theme preview mode
        • Can't create locales file
        • Can't create theme.pagefly.liquid
        • How to hide Shopify's Default Product Details
        • PageFly Page List Won't Stop Loading
        • Remove the blank space on top of the page
        • Blog page not updated successfully
        • The page's style is broken
      • Error messages
        • PageFly Page List Won't Stop Loading
        • Page Size Limit
        • Limit elements on a page
        • Unable to import your data
        • Limit image size
        • Unknown error
  • Latest Update
    • PageFly is now compatible with Online Store 2.0
    • PageFly Referral Program
    • PageFly old pricing plan
  • PageFly Affiliate Program
    • Affiliate Success: Understanding what PageFly can do for Merchants
    • Affiliate Success: Dos & Don'ts - Everything to Know about Becoming a Successful PageFly Affiliate
    • Affiliate Success: Frequently Asked Questions
Powered by GitBook
LogoLogo

Product

  • Templates
  • Pricing
  • Happy Customer

Resource

  • Blog
  • Academy
  • Video Tutorials
  • Community
  • Feedback

Partners

  • Our Partners
  • Affiliate Program

Company

  • About Us
  • Careers
  • Privacy Policy
  • Terms of Service

Copyright © 2025 PageFly. All rights reserved.

On this page
  • About PageFly Button Element
  • How To Access The Button Element
  • How To Configure The Button Element
  • Use Cases
  • Best Practices For Using Buttons
  • Version Update
  • Frequently Asked Questions

Was this helpful?

Edit on GitHub
  1. Page Structure & Elements
  2. PageFly Elements
  3. Basic

Button

Last updated 1 day ago

Was this helpful?

About PageFly Button Element

PageFly is one of the fundamental elements of any page. It acts as a Call To Action (CTA) for whatever goal you are trying to achieve on your page.

You can check details in the video tutorial below.

How To Access The Button Element

  • Step 1: Click on "Elements"

  • Step 2: From the PageFly tab, you can find and select "Button"

  • Step 3: The Button element comes with 6 button variations, each with different styling. We will continue to add more variations to help you save time. Drag and drop one of these variants you want on the page editor

How To Configure The Button Element

The Button element comes with plenty of parameters, allowing you to fine-tune content appearance to reach the best possible click-through rate for your Call To Action.

Select the element in the layout to see its parameters. The parameters in the General and Styling tabs are specific to this element.

General Configuration

  • Button Type

There are 3 options to choose from: Text only, Text with icon and Icon only.

  • Button Text

This setting is unavailable if the Button type is Icon only. You can insert and style the content of the button.

  • Icon Position: Choose among left, right or top for the icon position

Note: This parameter only shows when the "Text with icon" has been selected in the Button type.

  • Enable full width: Choose to show the button as full width of its container. This will make the button stretch horizontally to fill the entire width of its parent container element, as shown in the example below

Note: This parameter is only available in the Legacy editor.

  • Action

You can direct to a link, a section, a pop-up, an email address or a phone number by using the Click action parameter.

Styling Configuration

Below are main settings you will see in the Styling tab:

  • Global Style: Choose to style for the button with 6 variants.

  • State Styling: contains 3 options (Normal state, Mouse over state, and Active/Selected state) that you can choose for your button.

Use Cases

How To Increase The Button Size?

Basically, if you increase the button's content, then the button size will also automatically increase. In another case, you can change the Padding for the Button element. You can check the GIF below.

In this case, we increase the right and left padding from 20 px to 30px and top and bottom padding from 12px to 50px.

How To Change The Button Color?

You can easily customize the color of your button to match your branding or design preferences by using the color pickers for "Background Color" in the Styling tab.

By adjusting the color settings, you can create buttons that complement your site's color scheme, draw attention to important calls-to-action, or simply align with your brand's visual identity.

How To Create A Dynamic Checkout Button?

To create a Dynamic Checkout Button with PageFly, you have two options:

  • Legacy Editor: Use an HTML/Liquid element to add the custom code.

  • Gen 2 Editor: Simply drag and drop the Dynamic Checkout Button element onto your page and customize its appearance.

How To Make A Full-Width Button?

  • In Legacy editor: Choose your Button > General Tab > choose Yes to Enable Full-Width.

  • In Gen 2 editor: Simply choose the "Fill container width" option in the Width setting, under the Size parameters group in the Styling tab.

Best Practices For Using Buttons

  • Use clear and concise text for your button CTAs, such as "Buy Now", "Sign Up", or "Learn More".

  • Make sure your button stands out visually with contrasting colors and proper spacing.

  • Place buttons in strategic locations on your page, such as near important information or at the end of sections.

  • Consider accessibility by using larger button sizes and ensuring proper color contrast for users with visual impairments.

  • Test different button styles, colors, and placements to see what works best for your audience and goals.

Version Update

With the release of PageFly version 4.23.0, we introduced flex sections and blocks, offering greater flexibility and control over page layouts. You can now choose between the Flex editor (flex sections and blocks) or the Basic editor (column and row) when creating a new page.

Notably, the general settings for the Flex editor have removed the "Enable full width" option and added Size parameters to the styling settings.

Frequently Asked Questions

1. What are examples of Call to action (CTA)?

The 5 best examples are: 'Call now', 'Buy now', 'Subscribe', 'Sign Up' and 'Learn More'

2. Can I style the button element?

Yes, you can. The PageFly Button Element comes with 5 variants, with 3 state styling options for Normal state, Mouse over state, and Active/Selected state.

3. How do I add an icon to my button?

In the General Configuration settings, you can choose the "Text with icon" or "Icon only" button type.

4. Can I make my button clickable?

Yes, you can add click actions to your buttons using the "Action" parameter in the General Configuration settings. This allows you to direct users to a specific link, section, pop-up, email address, or phone number when they click the button.

Please read more about the ACTION parameter .

You can get further information about

You can check information about other settings in the Styling tab such as Typography, Background, Border using .

For detailed instructions, please refer to our .

Set up "" to streamline page creation and ensure consistent styling across all buttons on your website.

here
ATTRIBUTES, VISIBILITY, ANIMATION parameters.
this guide
guide here
Global styles
Button Element