Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey team,
I am working on our Noma.com site and my subtext is not displaying on mobile and was wondering if someone can assist me with what code to add into our file?
Desktop:
Mobile:
I identified where my header text is from component-slideshow.liquid
but not sure what to add here.
{%- endif -%}
<div class="content medium-up--one-quarter small--four-fifths small--text-center">
{% if block.settings.title != blank %}
<h5 class="h2" style="color:{{block.settings.font_color}} !important">{{block.settings.title}}</h5>
{% endif %}
Solved! Go to the solution
This is an accepted solution.
Hi @ctsimon,
Please send code of component-slideshow.liquid file. I need the code of the whole thing to be able to see the subtext variable.
Then I will guide you to add the code to display it.
Ex: subtext variable is subtext. Please add the code here: https://i.imgur.com/Oe8k4gU.png
{% if block.settings.subtext != blank %}
<p class="h6" style="color:{{block.settings.font_color}} !important">{{block.settings.subtext }}</p>
{% endif %}
Hope it clear to you.
Hello , @ctsimon
There are two different slideshows for desktop and mobile. So I think you didn't put HTML code for subtext in mobile slideshow.
Hi @ctsimon,
I checked and your slideshow is divided into 2, 1 display on desktop, 1 display on mobile and code on mobile without subtext. So can you send me the code of sections/slideshow.liquid file or component-slideshow.liquid file. I will check and guide you in detail.
This is an accepted solution.
Hi @ctsimon,
Please send code of component-slideshow.liquid file. I need the code of the whole thing to be able to see the subtext variable.
Then I will guide you to add the code to display it.
Ex: subtext variable is subtext. Please add the code here: https://i.imgur.com/Oe8k4gU.png
{% if block.settings.subtext != blank %}
<p class="h6" style="color:{{block.settings.font_color}} !important">{{block.settings.subtext }}</p>
{% endif %}
Hope it clear to you.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024