Refresh Theme

Refresh Theme

Akie785
Tourist
4 0 0

I am using the refresh theme and I have added a featured collection section but when I switch over to mobile it isnt very compact, as in it takes up 75% of the screen on mobile. I want to have the distance between the products and the heading to be smaller as well as the distance from the products to the "View All" button. What is the CSS to make this more compact?

 

Thanks in advance.

Replies 4 (4)

sahilsharma9515
Shopify Partner
1079 132 203

Hi @Akie785 

Can you please provide your store URL and password as well if applicable, so that I can provide you solution that can work for your store.

 

Best regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


Akie785
Tourist
4 0 0

https://7ltwviw990i1tyad-83519832344.shopifypreview.com 

 

It is just on mobile where the issue is. Doesn't really bother me as to what it looks like on desktop. 

 

I am also not sure If you will be seeing the correct theme because it is currently not my active theme which I am wanting to edit. Please let me know if it doesn't look like the one below and what I can do to send you to the correct theme

Akie785_0-1719479676986.png

Thanks in advance 🙂

 

sahilsharma9515
Shopify Partner
1079 132 203

Hi @Akie785 Please add the code in your theme.css/base.css/style.css file which is available in your theme.

 

 

ul#Slider-template--22817701626136__featured-collection-0 {
    margin: unset;
}

.collection__view-all a:not(.link) {
    margin: unset;
}

 

 

If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
  6. You can add the above code at the bottom of the file.

Result:

sahilsharma9515_0-1719481138954.png

 

If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

 

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


Akie785
Tourist
4 0 0

Hey Sahil!

 

Thanks for that! I think it made a difference but very slightly. Is it possible to make it even smaller?

Akie785_0-1719525437036.png

 

Also, there is only a theme.css/base.css files in my code. I couldn't find index.css/style.css but it still seemed to make a difference 

 

Thanks in advance.