Under my hero banner on my homepage ( my site is moonryvr.com , using Taiga theme) I have a “image with text” section inserted.
However, for just for mobile I would like to make a change so that the text appears first followed by the image - currently the image is first and the text is then underneath.
Is there a simple custom code I could add that would make just this specific image with text section reverse order for mobile view?
Thanks so much in advance for any help! Best, Will
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:
Thank you so much! This has worked well for mobile
One more thing however - is it possible to add something to make this only apply to mobile? I liked the side by side style on the desktop previously and would love to keep that the same as before on desktop, and only make this new change to mobile if possible
thank you for your reply - unfortunately that is not working, it just puts things back to how they were with the text under the image in mobile and the text and image side by side in desktop
I am trying to flip the text to above the image for mobile, but keep the text and image side by side in desktop
Hi @will70 , you can paste the following css code into base.css, theme.css (I’m not sure which is the general css file of the Taiga theme, but usually it is one of these two files):