What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: How can I make collection list links overlay on images?

Solved

How can I make collection list links overlay on images?

CapitalC
Tourist
11 0 2

As the question says, I would like the links to my collections overlay, perhaps as buttons, instead of appearing as text under each image. I don't see a customization option in the template editor, but maybe I'm missing something. Here is a screenshot of another store - this is how I would like mine to look, but with slightly larger text.

Untitled 8.png

Or, barring that, I would like to have some control over how the text links appear under my collection images. It's too large now. Thank you!

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9166 2186 2702

This is an accepted solution.

Hi @CapitalC 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

.collection-list-wrapper .card__content {
    position: absolute;
    bottom: 10px;
}

.collection-list-wrapper .card__heading a {
    color: white;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1728585184677.png

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
9166 2186 2702

This is an accepted solution.

Hi @CapitalC 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

.collection-list-wrapper .card__content {
    position: absolute;
    bottom: 10px;
}

.collection-list-wrapper .card__heading a {
    color: white;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1728585184677.png

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
CapitalC
Tourist
11 0 2

Thank you!

 

Is there something I can add to the code to right-justify the overlaid text?

Made4uo-Ribe
Shopify Partner
9166 2186 2702

Yes, replace on this code. I aslo remove the arrow. 

 

.collection-list-wrapper .card__content {
    position: absolute;
    bottom: 10px;
}

.collection-list-wrapper .card__heading a {
    color: white;
}

.collection-list-wrapper .card__heading {
    text-align: right;
    padding-right: 5px;
}

.collection-list-wrapper .card__heading span.icon-wrap {
    display: none;
}

 

And Save. 

Result:

Made4uoRibe_0-1728586019379.png

 

 

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
CapitalC
Tourist
11 0 2

That works, thank you. One more thing: Is there a line that I can add to put a translucent background just behind the text, so be sure it shows over any color in the photo? Maybe like an 80% black highlight behind?

Made4uo-Ribe
Shopify Partner
9166 2186 2702

Do you mean like this? 

Made4uoRibe_0-1728588637978.png

If it is, add this one same instruction. 

 

.collection-list-wrapper h3.card__heading {
    background-color: rgba(0, 0, 0, 0.7);
    width: fit-content;
}
.collection-list-wrapper .card__information {
    justify-self: end;
}
.collection-list-wrapper .card__heading {
 padding-left: 5px;
}

 

And Save. 

 

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.