edit font and button size and location on auto video in only mobile view

Solved

edit font and button size and location on auto video in only mobile view

katty4
Tourist
3 0 2

pls, advise me how to change the button and letter size and location on auto video in only mobile view.

I use dawn theme to create my store. desktop version is fine but mobile version, letters and button cover all auto video. I want make letter smaller or make separate box as other image banner in mobile version only.

pls, help me for solving this issue

Accepted Solutions (2)

Made4uo-Ribe
Shopify Partner
8292 1989 2446

This is an accepted solution.

Hi @katty4 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes"

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
@media (max-width: 480px) {
    .wbs-pck__text-alignment-center .wbs-pck__block-id-buttons_UpWmmY div.wbs-pck__button-area {
        width: fit-content;
    }
    .wbs-pck__block-id-buttons_UpWmmY .wbs-pck__button, .wbs-pck__text.wbs-pck__rte {
        font-size: 12px;
    }
    .wbs-pck__block-id-heading_ynw67n .wbs-pck__heading {
        font-size: 25px;
    }
}
</style>

 

And Save. 

result:

Made4uoRibe_1-1726065949819.png

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.

View solution in original post

BSSCommerce-B2B
Shopify Partner
1739 524 584

This is an accepted solution.

@katty4 ,

Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file theme.liquid.

Step 3. Add this code above </body>

<style>
@media only screen and (max-width: 768px) {
.wbs-pck__image__wrapper > * {
    grid-area: inherit!important
}
.wbs-pck__inner-content {
  transform:scale(0.8)
}
}
</style>

Result:

BSSCommerceB2B_0-1726066071243.png

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

Replies 5 (5)

BSS-TekLabs
Shopify Partner
2350 702 827

Hello @katty4 
Our team is ready to help you.
Please share your website address and access password (if necessary) so that we can check and assist you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
katty4
Tourist
3 0 2

Made4uo-Ribe
Shopify Partner
8292 1989 2446

This is an accepted solution.

Hi @katty4 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes"

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
@media (max-width: 480px) {
    .wbs-pck__text-alignment-center .wbs-pck__block-id-buttons_UpWmmY div.wbs-pck__button-area {
        width: fit-content;
    }
    .wbs-pck__block-id-buttons_UpWmmY .wbs-pck__button, .wbs-pck__text.wbs-pck__rte {
        font-size: 12px;
    }
    .wbs-pck__block-id-heading_ynw67n .wbs-pck__heading {
        font-size: 25px;
    }
}
</style>

 

And Save. 

result:

Made4uoRibe_1-1726065949819.png

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.

BSSCommerce-B2B
Shopify Partner
1739 524 584

This is an accepted solution.

@katty4 ,

Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file theme.liquid.

Step 3. Add this code above </body>

<style>
@media only screen and (max-width: 768px) {
.wbs-pck__image__wrapper > * {
    grid-area: inherit!important
}
.wbs-pck__inner-content {
  transform:scale(0.8)
}
}
</style>

Result:

BSSCommerceB2B_0-1726066071243.png

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

katty4
Tourist
3 0 2

thank you so much! it works really well! I had a hard time to fine </body> but finally made it!

thank you again!