How can I remove space between cards and center them on my website?

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.

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.

1 Like

Hi @crossovertees

Im not sure do you mean like this?

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!

Didnt fully work

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