How to add tabs to product pages in Shopify: Minimal theme

If you are using the Minimal theme and want to add tabs to your product pages, I'll show you exactly how in this tutorial. A few months ago, I published a tutorial on how to add tabs to your product pages in Shopify, and I've had a number of people comment on that post saying that they were having problems adding the tabs to the Minimal theme. After doing some research, I found that the Minimal theme already has the support for tabs built in, so in this tutorial I'll show you how to take advantage of that feature in Minimal and add tabs to your own product pages.

If you're not using the Minimal theme, head over to this page for a tutorial on how to add tabs to other Shopify themes.

Warning: If you already tried my other tutorial for adding tabs to product pages, and are now trying to get the tabs working in the Minimal theme, make sure to delete any code that you added from that tutorial.

Step 1: Open the product editor in your Shopify Dashboard

After opening up the product you want to edit, click the "View HTML" button over the top right corner of the text area. 

Step 2: Paste this code into the product description

[code]
<ul class="tabs">
<li><a class="active" href="#tab1">Tab 1</a></li>
<li><a href="#tab2">Tab 2</a></li>
<li><a href="#tab3">Tab 3</a></li>
</ul>
<ul class="tabs-content">
<li class="active" id="tab1">
<p>Tab 1 content goes here.</p>
</li>
<li id="tab2">
<p>Tab 2 content goes here.</p>
</li>
<li id="tab3">
<p>Tab 3 content goes here.</p>
</li>
</ul>
[/code]

Your product should now look something like this: 

Step 3: Edit the labels and content for each tab

I highly recommend editing the labels and content from within the HTML editor, rather than using the visual editor. This is because the visual editor tends to mess up the HTML code that you pasted in.

Step 4: Save

Click "Update" or "Save" to save the changes you made to the product. Then go ahead and view the product on your website to make sure the tabs are showing up properly.

I hope that went smoothly for you! If you had any problems, please leave a comment below with a description of the problem and I'll do my best to help.

Comments (39)

Leave a comment

Hi I am in making of my store, which will be launching soon, i have used minimal theme and i want to change my social icons to something, when i hove the icon it should show the original brand color icon, something similar to link below.
http://bradsknutson.com/blog/css3-rollover-social-media-icons/

Kindly help thanks.

manish

Hi Leighton, thanks for the tutorial. Was wondering if you knew how to add product review functionality to a product page using the Minimal theme? Thanks!

Randy

Hey Randy, I’d recommend using Yotpo (http://yotpo.com). They have a review app and provide instructions for installing it on your Shopify site.

Leighton Taylor

Nice blog here! Additionally your web site a lot up fast!
What host are you the usage of? Can I get your affiliate link to
your host? I want my website loaded up as quickly as yours
lol

my blog … Angelspeak.Com.Au

Angelspeak.Com.Au

I updated the Minimal theme for Shopify and now the tabs want work… You know any reason for this?

Riggs

Hello Leigthon,

thank you very much for your great tutorials here. I tried to add the tabs but somehow they disappear because the style of the ul element is going to “display:none”. Any idea?

I tried it with this script code:

$(document).ready(function() { $(‘ul.tabs’).each(function(){ var active, content, links = $(this).find(‘a’); active = links.first().addClass(‘active’); content = $(active.attr(‘href’)); links.not(‘:first’).each(function () { $($(this).attr(‘href’)).hide(); }); $(this).find(‘a’).click(function(e){ active.removeClass(‘active’); content.hide(); active = $(this); content = $($(this).attr(‘href’)); active.addClass(‘active’); content.show(); return false; }); }); });

Thank you very much.
Best regards,
Max

Maximilian

Hi there,

Is there way to change the tab color and give the tabs more rounded corners? Any help with the css?

Thanks!

Kaylin

PW: eafluz

Just wondering how you solved this? I have tried reloading the theme but that hasn’t worked…

Any Comments will be great.

Carl Lobato

This has worked well however, I was wondering if I can move the tabs to above the Product header?

nina
« Previous 1 2 3 4

You Might Also Like

View All Articles

61: Research-based A/B testing, with Nick Disabato

April 21, 2026

Topics covered in this episode:

  • Nick D's work, writing, tips, and tools
  • Basics of A/B testing
  • How to interview your customers to learn what needs to change on your website
  • How to know when your business is ready for A/B testing
  • Most common UX and copy mistakes to watch out for
  • Common misconceptions about A/B testing

Links mentioned on the show:

Read Article

How to add an announcement bar on your Shopify store (without an app)

August 26, 2018

Read Article