Center video on desktop with text underneath

Solved

Center video on desktop with text underneath

Notagrownup
Tourist
5 0 1

How do I make the video large and center on a desktop with the text below it? Right now, the video is on the left, and the text/caption is on the right. The theme is Dawn. 
http://notagrownup.net

Accepted Solution (1)

GTLOfficial
Shopify Partner
852 176 191

This is an accepted solution.

Hello @Notagrownup 
Go to online store ----> themes ----> actions ----> edit code ----> base.css
add this code at the end of the file and save.

.custom-video-container .image-with-text__media-item {
width: 51% !important;
}
@media screen and (min-width: 750px) {
.image-with-text__media-item--large + .image-with-text__text-item {
flex-grow: 1;
}
}

result
21.png


If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

View solution in original post

Replies 4 (4)

Dan-From-Ryviu
Shopify Partner
11700 2293 2475

Please add this code to Custom CSS of that section

.image-with-text__grid { flex-direction: column; }
.image-with-text__media-item,
.image-with-text__text-item { width: 100%; }

Screenshot 2025-05-08 at 11.12.54.png

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Amazon Products Importer - Import Amazon Products to Dropship in Your Store!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

BiDeal-Discount
Shopify Partner
471 55 111

Hi @Notagrownup 

let try to add this custom css to apply this code for desktop only:

@media screen and (min-width: 750px){
  .custom-video-container .image-with-text .grid {
    flex-direction: column;
  }
  .custom-video-container .image-with-text__media-item, .custom-video-container .image-with-text__text-item{
    width: 100%;
  }
}

 The result will like:

BiDealDiscount_0-1746679021988.png

 

- Helpful? Like & Accept solution!
- BiDeal Bundle Volume Discounts: Upsell with bundles, quantity breaks, volume discounts. AOV+ with gifts, shipping & progressive cart
- Bify app: Shopify automatic discount solutions
- Contact me? support@bify.app or WhatsApp: +84974709330

GTLOfficial
Shopify Partner
852 176 191

This is an accepted solution.

Hello @Notagrownup 
Go to online store ----> themes ----> actions ----> edit code ----> base.css
add this code at the end of the file and save.

.custom-video-container .image-with-text__media-item {
width: 51% !important;
}
@media screen and (min-width: 750px) {
.image-with-text__media-item--large + .image-with-text__text-item {
flex-grow: 1;
}
}

result
21.png


If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh
Notagrownup
Tourist
5 0 1

This was very helpful, but the text isn't centered. Is that an easy fix?