How to align text with top of image via adding "image with text" section

Solved
RCG
Excursionist
17 0 3

Hello everyone,

Check the image below, the red arrow shows what I want to do with the text using the image with text option editing the home page. rosecoloredgaming.com is the website if you want to check code.

I see no option for this in the default shopify homepage editor.

I did see an existing solution for this but it was an old solution which was invalid in the current code. I could not find the snippets that were being discussed, nor the files in the assets folder.

Thanks!

 

image-with-text-alignment.jpg

0 Likes
dmwwebartisan
Shopify Partner
8369 1966 2646

This is an accepted solution.

@RCG 

 Please add the following code at the bottom of your assets/theme.scss.liquid file.

 

@media only screen and (min-width: 750px){
.feature-row__text {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    height: 570px;
    vertical-align: top;
}
}

 

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →
RCG
Excursionist
17 0 3

@dmwwebartisan works thank you!