Is anyone please able to help me with my icon with text, text in mobile version only? The letters are splitting up and I cant figure out a way around it. Is there a way to decrease the padding of the icon with text section, so that it has more room to fit the words?
I see that you want to reduce the spacing between the text for the mobile devices on this section.
To achieve that please add the below code just before the closing body [ ] tag on the theme.liquid file.
{% if template contains 'product' %}
{% endif %}
Now save the file and try previewing your store to validate the changes. If the changes were made correctly then the update icon with text section would be as shown in the screenshot below:
If my response helped you, please consider giving it a like ( ) and marking it as an accepted solution if it resolved your issue. Your feedback helps other community members with similar questions.
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
i am happy to use this solution instead, however when i put mine in, my text centred. it may be something i have in my code centering my product container. how do i override this to my the text align to left? not sure why the “eco-concious” one is randomly to the left, but it looks funny as well! needs more spacing after the icon