Mobile responsive HTML

New Member
3 0 0

Any advice on how to get this code to be mobile responsive would be so helpful! Perferably the image stacks above and container box with text and two buttons below it. 



h1 {text-align: center;}
p {text-align: center;}
div {text-align: center;}
<div class="container">
<img src="" style="width:100%;">
<div class="text-block">
<form class="form-inline"></form>
<h4>Shop in store or online<br>
earn cash in store
<button class="btn btn-primary btn-inline"><a href="">Shop with us</a></button>
<button class="btn btn-primary btn-inline"><a href="">Sell to us</a></button>




/* Container holding the image and the text */
.container {
position: relative;

/* Center right text */
.text-block {
position: absolute;
bottom: 20px;
right: 20px;
background-color: White;
text-color: white;
color: white;
padding-left: 20px;
padding-right: 20px;
padding-top: 5px;



Any help would be so appreciated!! TIA!



Please share your store URL and screenshot.
So that I will check and let you know the exact solution here.


& define the things you want to be proper in mobile view !

Want to modify or incorporate custom changes on store, Hire us
If helpful then please Like and Accept Solution .
Skype : oscprofessionals-87
Whats app
Free Website Review and advice for sale from Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO ; Digital Marketing & amp | Site Speed Optimization | Performance Site Audit