PALO ALTO: IMAGE WITH TEXT SIZE ADJUSTMENT FOR TEXT BOX

Lanchaster_91
Excursionist
23 1 3

Hi,

 

Is there a way to adjust the white text box into a smaller size?

 

Lanchaster_91_0-1637217614542.png

 

Replies 5 (5)
diego_ezfy
Shopify Partner
2302 413 542

Hello @Lanchaster_91,

Please share:
- your store URL;
- page URL with the issue you mention;
- storefront password (if your store has one).

If the store is not online yet, please follow this quick tutorial to learn how to safely and temporarily share an offline/unpublished theme URL.

Kind regards,
Diego

◦ Slideshow images cutting off? Try the Slideshow (PRO) section. No apps required. | Replace apps with copy/paste code snippets & save money. Examples here.
diego_ezfy
Shopify Partner
2302 413 542

@Lanchaster_91, do this to fix it in 20 seconds:

1. In your Shopify Admin go to: online store > themes > actions > edit code
2. Find Asset > theme.scss.liquid or theme.css and paste this at the bottom of the file:

@media (max-width: 600px){
    .featured-content-section__wrapper .rich-text__content{
    max-width: 300px !important;
}
}


You can change the 300px to any width you wish.

Kind regards,
Diego

◦ Slideshow images cutting off? Try the Slideshow (PRO) section. No apps required. | Replace apps with copy/paste code snippets & save money. Examples here.
Lanchaster_91
Excursionist
23 1 3

Hi Diego, Thanks for the code. However, can it also change the mobile view?

 

diego_ezfy
Shopify Partner
2302 413 542

@Lanchaster_91 

I'm not sure if I understand. This code will make the white box smaller exclusively on mobile devices.

◦ Slideshow images cutting off? Try the Slideshow (PRO) section. No apps required. | Replace apps with copy/paste code snippets & save money. Examples here.