How to Overlay Text on Multicolumn Image

Solved

How to Overlay Text on Multicolumn Image

Danceddiction
Excursionist
31 0 8

I'm trying to put a text overlay on multicolumn images in Dawn theme. Currently the website looks like this:

 

Danceddiction_0-1727064981721.png

But I would like to add the header and the paragraph over the center of the images like below: 

 

Danceddiction_2-1727065021822.png

I've tried following along with some other messages on here but none of them worked. Please let me know how I can accomplish this! 

Thanks, 



Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
10184 2417 3060

This is an accepted solution.

Thanks for the info, check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.section-template--18442698490111__multicolumn_YFTjji-padding .content-container:after {
    z-index: auto; 
}

.section-template--18442698490111__multicolumn_YFTjji-padding .multicolumn-card__info {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%); 
    text-align: center;
    color: white;
    width: 100%;
}

#shopify-section-template--18442698490111__multicolumn_YFTjji h3 {
    font-family: "Bungee", sans-serif;
    color: white;
    line-height: 1; 
    font-size: 30px;
    text-shadow: 2px 2px #000000;
}

 

And Save. 

Result:

Made4uoRibe_0-1727263203464.pngMade4uoRibe_1-1727263214569.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.

View solution in original post

Replies 7 (7)

5079diane
Visitor
1 0 0

I would upload my images into Canva. CREATE A NEW DESIGN in Canva using 1000 px x 1000 px design size.  Put your pic on a design page and size it to fit. Then add your TEXT on as an overlay over pic, adjusting the size and spacing to place it where you want it on your pic. Then SHARE each design page, saving it as a transparent download. Then upload them/drag them into your Column as you create it. Get my drift? Hope this helps.

Danceddiction
Excursionist
31 0 8

This is my backup option. I've done this before, but I don't think this is the preferred way to do it. Thanks for the reminder of this!

Danceddiction
Excursionist
31 0 8

This is really good. Very close to what I need but with the exception of a few things: 

1. I want this to only apply to certain multi-column sections. I have another multi-column section I don't want this to happen to and want it to be standard. 

2. The text isn't completely centered nor does it wrap. In order to go to the next line in the paragraph setting I have to press enter where I want to go to the next line: 

Danceddiction_0-1727139744167.png

 

Made4uo-Ribe
Shopify Partner
10184 2417 3060

Hi @Danceddiction 

Would you mind sharing your store URL? 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.
Danceddiction
Excursionist
31 0 8

URL is here: https://danceddiction.com/?_ab=0&_fd=0&_sc=1
Password is: testword. 

Thanks for taking a look at this. 

Made4uo-Ribe
Shopify Partner
10184 2417 3060

This is an accepted solution.

Thanks for the info, check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.section-template--18442698490111__multicolumn_YFTjji-padding .content-container:after {
    z-index: auto; 
}

.section-template--18442698490111__multicolumn_YFTjji-padding .multicolumn-card__info {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%); 
    text-align: center;
    color: white;
    width: 100%;
}

#shopify-section-template--18442698490111__multicolumn_YFTjji h3 {
    font-family: "Bungee", sans-serif;
    color: white;
    line-height: 1; 
    font-size: 30px;
    text-shadow: 2px 2px #000000;
}

 

And Save. 

Result:

Made4uoRibe_0-1727263203464.pngMade4uoRibe_1-1727263214569.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.
Made4uo-Ribe
Shopify Partner
10184 2417 3060

Welcome! Would you mind hitting 'like' as well? 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.