Unicorn Shopify Theme
  • Getting Started
  • Demo
  • Section Groups
    • Header
      • Menu icons
      • Badges
      • Popup menu
      • Image with button (Mobile)
      • Featured promotion (Mobile)
      • Contacts
    • Cart drawer
    • Search popup
    • Mega menu
      • Menu
      • Image with button
      • Featured promotion
      • Custom HTML
      • Empty column
      • Badges
    • Footer
      • Menu
      • Text
    • Popups
  • Dynamic Theme Sections
    • Before/after image
    • Blog posts
    • Brand list
    • Collage
      • Image
      • Collection products
      • Video
    • Collage of images
      • Image
      • List item
    • Collection list
    • Collection slider
    • Contact form
    • Countdown timer
    • Custom Liquid
    • Email signup
      • Heading
      • Subheading
      • Email form
    • FAQ
    • Featured collage
      • Product
      • Image
    • Featured collection
    • Featured collections
    • Featured product
    • Featured promotions
      • Content, Text on image
      • Content, Text below the image
      • Content, Button on image
    • Image with text overlay
      • Second image
      • Mobile settings
      • Heading
      • Text and Custom HTML
      • Buttons
    • Image gallery
    • Lookbook
    • Map
    • Media
    • Multicolumn
    • Page
    • Popup
      • Image
      • Text
      • Newsletter form
      • Buttons
      • Social media
      • Time countdown
      • Collection
      • Promotional code
    • Reels
    • Rich text
      • Heading
      • Text
      • Button
    • Slideshow
    • Tags
    • Testimonials
    • Ticker
  • Page Categories
    • Products
      • Product information
      • Product recommendations
    • Collections
      • Collection banner
      • Product grid
    • Collections list
    • Cart
    • Blogs
    • Blog posts
    • Search
    • Password
      • Email signup
    • 404 page
  • Theme Settings
    • Top bars
    • Header and Logo
    • Colors
    • Typography
    • Layout
    • Styles
    • Product
    • Variant picker
    • Social media
    • Search
    • Favicon
    • Currency format
    • Cart
    • Popups
    • Performance
    • Advanced settings
    • Custom CSS
    • Theme style
  • SVG Icons
  • FAQ
    • How to customize Metafields
    • How to group product images by variants?
    • How to create a template?
    • How to create webpages?
    • How to set up filters?
    • Understanding of metaobjects and their use in a store
Powered by GitBook
On this page
  • Image
  • Heading
  • Text
  • Button/Second button
  • Layout
  • Mobile settings
  1. Dynamic Theme Sections
  2. Featured promotions

Content, Text on image

Use this block to display the image with the text and button overlay in the section.

PreviousFeatured promotionsNextContent, Text below the image

Last updated 1 month ago

Tip: To add a block, the "" section is required. Press "Add block" and choose the one in Theme Blocks. The following block can be added numerous times.

Drag and drop the block to the desired placement in a section.

Image

Main image

Press "Select" to upload the necessary image for both desktop and mobile. The recommended image ratio is two-to-one (width-to-height respectively). Once an image is selected, it can be linked to pages/ collections/ products. Choose the destination in the "Link" source selector.

Note! The "Image" settings described below will only apply to the desktop mode.

If you need to change the "Image overlay background", select the color from the color picker. By default, the color is set to transparent. The option works with the enabled "Add overlay opacity", "Zoom in, add overlay opacity", or "Zoom out, add overlay opacity" in the "" subsection.

Press "Image overlay gradient" to apply the gradient vector. Read details on how to use the option .

Adjust the transparency of an image overlay using the "Image overlay opacity" scale from 0 to 100%.

Heading

Use the "Heading" placeholder to insert a title. The title's font size can be changed to "Large", "Medium", or "Small" in the "Heading size" drop-down.

If you need to change a title color, use the "Heading color" picker. The same color as for the desktop can be applied to the mobile view by enabling the "Apply color on mobile" option.

Text

Here you can insert a text paragraph in the "Description" placeholder and connect a page in the "Custom HTML". Press "Select page" to choose the created page from the list or add a new one by pressing the button "Create page". If you press the "Create page" button, you will be redirected to your Shopify admin -> Online Store -> Pages. Read details on how to create pages in the following .

If you need to change a paragraph color, use the "Text " picker. The same color as for the desktop can be applied to the mobile view by enabling the "Apply color on mobile" option.

Button/Second button

Change the internal button text in the "Label" field. Leave the field blank to hide the button.

To redirect customers to the desired page, edit the "Link". Use the link from the source selector, or paste the one if you use an external link.

Use the "Color" picker to change the button background color for the "Primary" style. For the "Secondary" style the colorized text and border inside the button will be added. If you used the "Link style", the color will be applied to the text link.

Layout

The option "Desktop text position" helps to place texts in different areas of the banner: "Top left", "Top", "Top right"; "Center left", "Center", "Center right"; or "Bottom left", "Bottom", "Bottom right". Choose an option that best fits your needs in the drop-down.

If you need to align the text to "Left", "Center", or "Right", select one of the options in the "Desktop text alignment" drop-down.

In the "Text box desktop background", you can set the color from the color picker. By default, the color is set to transparent.

Use the "Text box desktop opacity" scale to change the text box background opacity from 0 to 100 %, where 0% is an invisible background, and 100% is opaque.

The "Text box desktop width" scale allows setting the text width from 30% to 100%.

Mobile settings

The settings described below can be applied for mobile mode regardless of the desktop settings by activating the "Enable mobile settings" option.

Image (Optional)

Here you can select an image for mobile individually. Otherwise, the same image as for the desktop will be shown on mobile view. Press on "Select" to upload the one you need. The recommended image ratio is two-to-one (width-to-height respectively).

The "Height" of an image on mobile can be changed by operating one of the options:

  • "Same as on desktop". Using the provided option, apply the same image height settings for mobile as for the desktop.

  • "Adapt to image". Displays the image in its original aspect ratio.

  • "Proportion in %". Select the option to adjust the image height as a percentage using the "Proportion of height" scale. The parameters can be changed from 10% to 210%.

"Proportion in %" indicators:

*100% = Square image

*Less than 100% = Landscape

*More than 100% = Portrait

*For an ideal video aspect ratio (16:9), set the proportion to 56%.

  • "Fixed in px". This option helps to change image size in pixels by setting the parameters on the "Fixed height" scale. The height can be adjusted between 100 and 700 pixels.

The heading size on mobile can be set in the corresponding drop-down by selecting one of the options: "Large", "Medium", or "Small". The "Same as on desktop" option saves the changes applied to the desktop.

Here is an example of how the block might be displayed in the section:

Use the "Style" drop-down to change the button's appearance in the sections. The theme includes three styles that can work out in your store: "Primary", "Secondary", or "Link style". Each button style can be viewed on the following .

You can read more about the described options on the following .

Check the "Show image overlay" option to display the color overlay of the image. This option works with the configured settings of the image overlay in the block. Find more details .

The text position can be adjusted using the options in the "Text position" drop-down: "Below image", "Over the image, top", "Over the image, middle", and "Over the image, bottom". The examples of available options can be viewed on the following .

If you need to align the text to "Left", "Center", or "Right", select one of the options in the "Text alignment" drop-down. To clarify the use of parameters, check the following .

Featured promotions
Animation
here
article
help page
help page
help page
help page
here