SectionAI is free + 20K tokens if you're a The4 customer, Free plan is available Install App  

Header background

Header Group - Top bar

Eira

Written by Eira

Last updated

3 views

On this page


The "Top Bar" is a thin, horizontal strip located at the very top of a website, typically above the main header or navigation. Its primary function is to display high-priority, concise information that needs to be visible immediately to users, without being intrusive. Common uses include announcements, promotional messages, contact information, or quick links.

1. How to access the Top bar section?

Step 01: From Shopify Admin, click on Online Store > Select Themes > In the Current theme section, click the Customize button.

theme customize.png

Step 02: In the theme editor (Customize), click the Sections button > find the Top bar

top bar 1.png

2. How to customize the Top bar section?

2.1. Blocks

2.1.1. Information block

To add Information block to the Top bar, click the Add block button (plus icon ➕) under the Top bar

  • Show email: Check to display your contact email address on the website.

  • Email: Enter the email address you wish to display and use for contact.

  • Show phone: Check to display your contact phone number on the website.

  • Phone: Enter the phone number you wish to display and use for contact.

  • Hide on tablet, mobile: Check to hide these contact details (email and phone number) on tablet and mobile devices.

top bar 2.png

2.1.2. Welcome message block

To add Welcome message block to the Top bar, click the Add block button (plus icon ➕) under the Top bar

  • Text1, Text2, Text3: Enter the text content for these fields. Each field can be used for different announcements, taglines, or concise information.

  • Adding a bottom border on link: Check to add a bottom border to links within this section. This helps to visually emphasize the links.

  • Date countdown: Select the end date and time for the countdown. The countdown will display the time remaining until this date.

  • Text day countdown: Enter the text to display alongside the countdown

  • Effect slider: Choose the transition effect between slides.

    • Fade: Slides fade in and out.

    • Slider: Slides slide horizontally or vertically.

  • Autoplay speed in seconds: Set the autoplay speed in seconds. Set to 0 to disable autoplay.

  • Pause when hover: Check to pause autoplay when the user hovers over the slider.

  • Hide on tablet, mobile: Check to hide this entire section on tablet and mobile devices.

top bar 3.png

2.1.3. Currency, Language block

To add Currency, Language block to the Top bar, click the Add block button (plus icon ➕) under the Top bar

  • Show currency selector: Check to display the currency selector, allowing customers to view and purchase products in their desired currency.

  • Show language selector: Check to display the language selector, allowing customers to browse your store in their preferred language.

  • Use location: Check to display a link to a specific location (e.g., a physical store address, a region-specific page).

  • Link location: Enter the URL that the location link will point to.

  • Open link in: Select how the location link will open when clicked: in the current tab or a new tab.

  • Hide on tablet, mobile: Check to hide these items (currency selector, language selector, and location link) on tablet and mobile devices.

top bar 4.png

2.1.4. Custom liquid block

To add Custom liquid block to the Top bar, click the Add block button (plus icon ➕) under the Top bar

  • Custom liquid: Enter your custom Liquid, HTML, CSS, or JavaScript code. This code will be rendered directly within this section, allowing for advanced customizations.

    Add app snippets or other liquid code to create advanced customizations

  • Hide on tablet, mobile: Check to hide this entire section (including the custom code) on tablet and mobile devices.

top bar 5.png

2.1.5. Socials block

To add Socials block to the Top bar, click the Add block button (plus icon ➕) under the Top bar

  • Hide on tablet, mobile: Check to hide this entire section on tablet and mobile devices.

Display added social media links in the theme settings

top bar 6.png

You can add maximum 3 blocks.

2.2. Top bar section

  • Min height: Set the minimum height for this section. This helps ensure the section always occupies a certain vertical space, even if its content is minimal.

  • Font size: Set the font size for the text within this section.

  • Show separator line: Check to display a separator line above or below this section, helping to visually divide content.

  • Make section full width: Check to stretch this section to full width of the screen. If unchecked, the content will be constrained to the page's maximum content width.

  • Display colors by section: Check to apply a specific color schema for this section. When selected, you can assign an independent color scheme to this section, overriding global theme color settings.

  • Colors schema: Select the color schema to be applied to this section. A color schema defines color variables such as background color, text color, button colors, and more, ensuring consistency and easy management.

  • Background opacity: Set the opacity of this section's background. 0 is completely transparent, 1 is fully opaque.

top bar 7.png

Theme Settings

Relevant options will be displayed based on the block you've added.

  • Show country flag: Check to display the country flag next to the country name in the currency/region selector.

  • Flag size: Set the size of the country flag

  • Multiple Currencies By: Select the multi-currency management tool being used.

    • Shopify: Utilizes Shopify Payments' built-in multi-currency feature.

    • The4: Uses The4's custom solution (likely an app or integrated theme feature).

top bar 8.png

You can add or remove Social media from the corresponding fields

top bar 9.png

Custom CSS

Allows users to customize by adding CSS rules, beyond the limitations of default settings. This allows for fine-tuning the design to every detail, to suit specific needs.

Add custom styles to this section only.

To add custom styles to your entire online store, go to theme settings for detailed instructions.

custom CSS.png

🎁 Exclusive Deals for The4 Customers

EComposer

🎉 EComposer – Free 6-Month Plan

Build landing pages, sales funnels, and more with drag & drop.
The4 users get 6 months free (save $114) on Pro plan.

  • ✅ 100+ templates ready to use
  • ✅ Build any Shopify page
  • ✅ No coding required
🔓 Get 6 Months Free
SectionAI

🤖 EcomRise: Upsell & Bundles

Boost sales effortlessly with product bundles, upsell and cross-sell, buy X get Y, volume discounts

  • ✅ Easy upsell & cross-sell
  • ✅ Works with the latest themes
  • ✅ Trusted by 10k customers
🚀 Get 6 Months Free

Enjoy a free 3-day trial. Then get your first month for $1. Try Now

We uses cookies to ensure you get the best experience on our website.