Foxify - Smart page builder
Try Foxify freeResourcesOther solutions
  • About Foxify
    • What is Foxify?
    • Account & Billing
      • Free trial
      • Pricing plans
      • Use discount code
      • Change your plan
      • Uninstall Foxify
    • Changelog
    • Terms & Policies
  • Getting started
    • How to install Foxify
    • Quick start guide
    • Analytics
    • App extensions
      • Age Verifier
      • Ajax Add to Cart
      • Countdown Timer
      • Inventory status
      • Product Options Swatches
      • Quick View
      • Recently Viewed Products
      • Storefront Filters
    • Global styles
    • Pages list
      • Templates
      • Save a page as a template
      • Create a Home page
      • Create a Product page
      • Create a Collection page
      • Create a Landing page
      • Create a Blog post
    • Import & Export pages
    • Translation
  • FoxStudio 🔥
    • What is FoxStudio
    • FoxStudio editor
    • FoxStudio tools
      • Autosave
      • Grids guide and Snap lines
      • Pan & Zoom mode
      • Inspector panel
      • Layers
      • Layout template 🧩
      • AI responsive ✨
      • Prettify
      • Page revisions
      • Keyboard shortcuts
      • Undo & Redo
      • SEO checker
    • Working with Pages
      • Page settings
      • Edit a Section
      • Add a Section
      • Animations
      • Save and re-use Assets
    • Working with Elements
      • Add and Edit Elements
        • Text
        • Button
        • Image
        • Video
        • Countdown timer
        • Marquee text
        • Newsletter form
        • Contact form
        • List items
        • Slideshows
        • Tabs
        • Collapsible content
        • Testimonials
        • Navigation
      • Cells and grids
      • Constraints
      • Frame Elements
      • Resize an Element
      • Stack Elements
      • Copy & Paste Elements
    • FoxTransfer - Clone web design to Foxify
  • 🔥Figma to Shopify with Foxify
  • Legacy editor
    • Page Editor
      • General settings
      • Styles settings
    • Sections & Presets
      • Before/ After slider
      • Blog posts
      • Collapsible content
      • Buy Now button
      • Collection list
      • Collection tabs
      • Countdown timer
      • Custom section
      • Favorite products
      • Featured product
      • Featured collection
      • Google Map
      • Handpicked products
      • Image banner
      • Image cards
      • Image with text
      • Lookbook
      • Multicolumn
      • Product tabs
      • Scrolling promotion
      • Slideshow
      • Tabs
      • Testimonials
    • Foxify layout
      • Menus
      • Link menus to Foxify layout
    • Advanced features
      • Custom code
      • Check SEO score
      • Keyboard shortcuts
      • Page revisions
      • Undo & Redo
  • Section design
    • Create a Theme Section
  • AI-powered fox magic
    • What is Fox Magic? ✨
    • All about credit
  • Build for Success series
    • Home page 🔥
    • Product page 🔥
    • Landing page 🔥
    • Custom sections with Legacy editor
      • Video hero section like Swarovski
      • Featured collections showcase like Puma
      • Multi-column section like SkinnyTeatox
      • Newsletter section like Emmabridgewater
      • Scrolling promotion like Elementmatcha
      • Testimonial section
  • FAQs
    • Foxify Free plan is sunsetting
    • How to report an issue
    • How to change the app language 🌍
    • Pick a theme to work with Foxify
    • Does Foxify work for all the pages in my store?
    • How to get API Secret key in Foxify
    • Completely remove Foxify code from my Shopify theme
    • Foxify Gen 2 Beta Test
    • How to join Foxify giveaway 2022
    • Edit your pages
      • Add custom font
      • Add custom icon
      • Change my page title and URL
      • Change the product prices' color
      • Create an anchor link
      • Create a parallax background
      • How to make rounded buttons
      • Set a page as Home page
      • Schedule your page to publish at a future date
      • Should I use Pixel, Rem, or Em?
      • Change the page background
  • Troubleshooting
    • Liquid error: Could not find asset snippets
    • Published page is not visible on live store
    • Compare-at prices do not show in live store
  • Shopify Apps Integrations
    • Air Product Reviews
    • DingDoong: Delivery + PickUp
    • Loox Product Reviews
    • LAI Product AliExpress Reviews
    • Wide Bundles - Quantity Breaks
    • Ai Loyalty, Email, Review, SMS
    • FoxKit AIO Upsell Cross-sell
    • Yotpo ‑ Product Reviews
    • Judge.me Product Reviews
    • BON Loyalty Program & Rewards
    • Kaching Bundles Quantity Break
Powered by GitBook
On this page
  • Resize an element
  • Size measurements
  • Resize Image elements

Was this helpful?

  1. FoxStudio 🔥
  2. Working with Elements

Resize an Element

Ensure everything fits perfectly across devices, creating harmony instead of chaos by controlling the size of the elements.

PreviousFrame ElementsNextStack Elements

Last updated 5 months ago

Was this helpful?

Resize an element

Select an element and resize it either by:

  • Dragging the size handles on the canvas.

  • Entering the width/height value in the Inspector panel.

You can set the element's size per screen size.

You may want to set values that never let an element's width or height go above or below a certain value:

  • The max-width and max-height properties will ensure that an element is never wider or taller than the value you set, even if there's enough room on the page for it to take up more space.

  • The min-width and min-height properties will ensure that an element is never narrower or shorter than the value you set, even if the browser window is too small to display the whole element.

Size measurements

  • Pixels (px) in Fixed sizing: If you want your element to stay the same when resizing.

  • Percentage (%) in Relative sizing: The width/height value of the element depends on its parent's dimensions. This ensures the element resizes in proportion to its parent.

For some elements, the height is already set to Auto. This means the element automatically adjusts its height based on its content, allowing you to add or remove content without manually resizing the element.

Resize Image elements

When resizing an Image element, you can decide how the image is resized to fit its bounding box. Make the image either has the width and height stay proportional to each other, or stretch to fill the bounding box.

Specify how an image should be resized to fit its container (bounding box) using the Image fit setting:

  • Keep image ratio: The image height is scaled proportionally when resizing the image width to keep its ratio.

  • Fill bounding box: The image is resized to fill the given dimension. If necessary, the image will be stretched or squished to fit.

  • Fit to bounding box: The image keeps its aspect ratio, but is resized to fit within the given dimension.

For example, you can and set its width to 50%. Your text then always takes up 50% of the stack container's width.

add a text element to a stack