Topbar: Make the top announcement bar larger or smaller

Option 1: Increase size of announcement bar with padding

/* -- code to make info bar larger -- */
.info-bar { padding: 15px 0; min-height: 50px; }
/* - end - */

Before:

After:

Option 2: Increase size of announcement bar and text font size

To increase the text size in the topbar as well, you can use this code instead:

/* -- code to make info bar and text larger -- */
.info-bar { padding: 15px 0; min-height: 50px; font-size:1.2em; }
/* - end - */

Example:

Both larger bar and text version:

Option 3: Reduce the font size of the announcement bar text

/* -- code to reduce info bar font size  -- */
.info-bar { font-size: 0.8em; }
/* - end - */

The value of 0.8em; can be modified - 0.9em; is slightly larger or 0.7em; is even smaller (1.0em is the standard size).


Where do I add the code?

Open your Code Editor. 

From your list of themes, find the Actions link for the theme you'd like to edit. Then select Edit code. Example draft theme:

Example if you're working from your main live/published theme:

Quick link if the theme is live/published:
Open Code Editor

Next, in the Code Editor find your theme's CSS file, this will vary depending on which version of Pipeline you're running:
Which version of Pipeline am I using?

Once you know your version, find the right file in the left Assets folder:

Pipeline 4 - If you're working with a draft theme, open this file:

You'll be opening this file:

assets/theme.scss.liquid

Quick link if the theme is live/published:
assets/theme.scss.liquid

Earlier versions of Pipeline - If your theme is older than Pipeline 4 open this file for draft themes:

You'll be opening this file for earlier versions of Pipeline:

assets/style.scss.liquid

Quick link if the theme is live/published and an earlier version of Pipeline:
assets/style.scss.liquid

Add the code to the very bottom of the file on a new line. Make a couple blank lines before pasting the code snippet. 

Example:

Save the file after adding your code.

Still need help? Contact Us Contact Us