Shopify themes, liquid, logos, and UX
I am trying to put text on top of images on a multicolumn. I'd like the text at the bottom left with the button, but the option to put the text in the middle of the photo also. Also I only want this to apply to one section not all of my multicolumns so I am looking to add this to the custom css of that section.
I am using Dawn theme.
Solved! Go to the solution
This is an accepted solution.
Hi @Bells1 ,
May I suggest code below to add to custom CSS in the section that you would like to custom.
.multicolumn-card.content-container {
position: relative;
}
.multicolumn-card__info {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.1);
display: flex;
flex-flow: column;
justify-content: flex-end;
text-align: left;
}
Hello @Bells1
Thank you for submitting your query to the Shopify community. I’d be happy to assist you. Could you please provide the store URL and password (if it’s password-protected) so I can review and get back to you with an update?
This is an accepted solution.
Hi @Bells1 ,
May I suggest code below to add to custom CSS in the section that you would like to custom.
.multicolumn-card.content-container {
position: relative;
}
.multicolumn-card__info {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.1);
display: flex;
flex-flow: column;
justify-content: flex-end;
text-align: left;
}
Works great, but there is a dark box around my photos how do I remove that? fixed it - there was background 0.1 and I changed it to 0
is there a way to make the button have an outline? and the option to move the lettering to the center of the photo?
Hi,
You can add more code below:
- center letter
.multicolumn-card__info {
justify-content: center;
text-align: center;
}
- outline button
.multicolumn-card__info .link {
border: 1px solid;
}
is there a way to take off the arrows and make the whole photo clickable? with a shadow effect? Thank you for all your help!
Hi,
the size limit of 500 characters in the custom CSS of each section. If you want to it. You need get ID of this section add before each line CSS below after add it to Assets/base.css
.multicolumn-card__info:hover {
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
.multicolumn-card__info .link .svg-wrapper {
display: none;
}
.multicolumn-card__info .link:after {
content: "";
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
}
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025