I need some help with formatting the header and hero of a website for mobile. I have some coding knowledge, but far from being proficient (I will know what you mean if you say "try changing display to block" and how to use "@media" tags). We use Shopify and I know it’s difficult without seeing code, but hoping someone may have some insight by looking at the screenshot to start.
-
I need to make the announcement bar disappear on mobile
-
I need help formatting the hero slideshow on mobile. The button goes below the image and creates this huge space. I just want to make the space and button disappear on mobile. So "New Arrivals" will be right below the hero.
Here is the screenshot:
https://drive.google.com/file/d/13HZ-4TAjqsktHXDorokmAS5zE3-bI6KE/view?usp=sharing
2
Answers
As You have not shared code for,Instance Let’s Take:
Now for any width smaller than 600px the css inside @media will come into use for the classes defined in it. rest everything will work as it is
You can easily do this with media queries. When writing your media queries, always start with the bare minimum CSS for mobile, and as the screen size gets larger, you introduce more styles for that screen size. Here is a VERY BASIC example of what you are asking for (best viewed on CodePen):
https://codepen.io/seanstopnik/pen/ff55dbb00531287e8d7bfa4708c37fde