Taking space out of between cards

crossovertees
Excursionist
39 0 4

Need help. I want to take the space out of between the cards. I figured out how to do it but then they were over to the left and not centered. I want them centered . Also it has to look the same on mobile. I had figured out how to center earlier but it was with padding and it had caused the mobile version to be out of wack. 

Screenshot 2024-01-31 155631.png

 

Also I want to take the text from the bottom and overlay it over the pictures. I want to have it were when you mouse over it it shows a grey overlay behind the text. Also i want to change the color of the text so its readable when its over the photos. 

 

website is www.crossovertees.com

thanks. 

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
5109 1218 1490

Hi @crossovertees 

Im not sure do you mean like this? 

Made4uoRibe_0-1706740880699.png

Made4uoRibe_1-1706740895002.png

If it is check this code. 

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:

 

ul#Slider-template--21930801430836__collection_list_rGCGE {
    gap: 0px;
}
.card__content {
    background: transparent;
    position: absolute;
    top: 50%;
}
.card__content a {
    color: white;
}
.card__content a:hover {
    color: grey;
}

 

And Save.

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


crossovertees
Excursionist
39 0 4

Didnt fully workScreenshot 2024-02-04 160317.png

 

crossovertees
Excursionist
39 0 4

also how do i make the background photo not so wide. Its full width.