multicolumn text on image

Solved

multicolumn text on image

Bells1
Excursionist
13 0 1

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.

Accepted Solution (1)

EBOOST
Shopify Partner
1395 351 428

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;
}

EBOOST_0-1743057370046.png

 

- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free. Github.com/eboost10
- ❤❤DONATE ❤❤Coffee tips

View solution in original post

Replies 7 (7)

devcoders
Shopify Partner
1322 156 376

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?

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!

EBOOST
Shopify Partner
1395 351 428

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;
}

EBOOST_0-1743057370046.png

 

- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free. Github.com/eboost10
- ❤❤DONATE ❤❤Coffee tips
Bells1
Excursionist
13 0 1

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

 

Bells1
Excursionist
13 0 1

is there a way to make the button have an outline? and the option to move the lettering to the center of the photo?

EBOOST
Shopify Partner
1395 351 428

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;
	}
- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free. Github.com/eboost10
- ❤❤DONATE ❤❤Coffee tips
Bells1
Excursionist
13 0 1

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!

EBOOST
Shopify Partner
1395 351 428

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%;
}

 

 

- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free. Github.com/eboost10
- ❤❤DONATE ❤❤Coffee tips