Center content vertically in images and text columns lorenza theme

Center content vertically in images and text columns lorenza theme

jasminsharp97
Shopify Partner
44 0 18

On this page: https://66cdcb-86.myshopify.com/pages/studio

(password: chohme)

I'm having an issue with this Design & Fabrication section. I want the content to be centered vertically with the picture. How do I accomplish that?

Screenshot 2024-09-16 131405.png

 

 

 

 

 

The other thing I want to accomplish in that same section is centering the caption on the image without centering the rest of the text, and getting rid of that extra space below the image:

Screenshot 2024-09-16 131439.png

Replies 6 (6)

brandography
Shopify Partner
136 27 25

Hi @jasminsharp97 , there's most likely a setting inside of your theme section to apply centering to your text. Looks like other sections on your site are using this so this likely the case for this section as well. Good luck!

Find a Powerful eCommerce Marketing Partner


Let Brandography help you spread the word about your products through cutting-edge eCommerce web design, strategic sales channels, and expert digital marketing tactics.
Check out our website
jasminsharp97
Shopify Partner
44 0 18

The issue is I don't want to center all the text. I can center the text horizontally but I only want the caption under the image to be centered, not all the content. Any advice?

brandography
Shopify Partner
136 27 25

You'll need to target that specific line of text in this case. What page are you looking at specifically and what theme are you using?

Find a Powerful eCommerce Marketing Partner


Let Brandography help you spread the word about your products through cutting-edge eCommerce web design, strategic sales channels, and expert digital marketing tactics.
Check out our website
jasminsharp97
Shopify Partner
44 0 18

The theme is Lorenza, here is the page: https://66cdcb-86.myshopify.com/pages/studio (password: chohme)

 

I tried:

.text-block__item text-block__heading type-heading-1-small{

align-content:center!important;

}

and that didn't solve it. What am I missing?

brandography
Shopify Partner
136 27 25

Try this instead:

 

h3.text-block__item.text-block__heading.type-heading-1-small {
    text-align: center !important;
}

Find a Powerful eCommerce Marketing Partner


Let Brandography help you spread the word about your products through cutting-edge eCommerce web design, strategic sales channels, and expert digital marketing tactics.
Check out our website

Made4uo-Ribe
Shopify Partner
8179 1967 2403

Hi @jasminsharp97 

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.

 

.text-block.text-columns__feature {
    align-content: center;
}

[data-theme-editor-setting="section.template--18036270104807__text_columns_with_images_38UA78.block.column_9aHQ6C.title"] {
    text-align: center;
}

div#shopify-section-template--18036270104807__text_columns_with_images_38UA78 .section {
    padding-bottom: 20px;
}

 

And Save. 

Result:

Made4uoRibe_0-1726519327291.png

Just concern, you request to rid of the extra space below the "L’OBJET HAAS" title. How about above on section? 

The default size on every section is 80-80 top and bottom. I only adjust make into 20px on that below. Do you want also to adjust the upper part? 

 

 

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.