How can I adjust the banner heading font size only on desktop?

Solved

How can I adjust the banner heading font size only on desktop?

Atsimataves
Excursionist
46 0 5

Hello,

I have a problem with banner.heading font size. I want to change font size, but ONLY ON DESKTOP. 

Website: amberound.com

Before:
font size.JPG
After:
font size1.JPG

Thanks!

Accepted Solutions (2)

Made4uo-Ribe
Shopify Partner
7661 1842 2256

This is an accepted solution.

Hi @Atsimataves 

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 "Assets" folder, click on "section-image-banner.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (min-width: 749px){
.slideshow__text.banner__box .banner__heading {
    font-size: 50px;
}
}

 

And Save. 

Result:

Made4uoRibe_0-1704991512137.png

You can adjust the sizes you like. 

 

 

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

niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

Hello @Atsimataves 

You can add code by following these steps 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid


<style>

     @media screen and (min-width:767px){
          .banner__heading {
             font-size: 30px !important;
         }
         .banner__box{
              left:-28% !important;
          }
}

</style>

techlyser_web_0-1704992358674.png

 

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Replies 8 (8)

Made4uo-Ribe
Shopify Partner
7661 1842 2256

This is an accepted solution.

Hi @Atsimataves 

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 "Assets" folder, click on "section-image-banner.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (min-width: 749px){
.slideshow__text.banner__box .banner__heading {
    font-size: 50px;
}
}

 

And Save. 

Result:

Made4uoRibe_0-1704991512137.png

You can adjust the sizes you like. 

 

 

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.
formuladoctor
Tourist
8 0 0

In my case, the Image Banner element is under the section-image-banner.css

 

This code worked for adjusting the header height and the text height, specified in vw for responsiveness


@media only screen and (min-width: 749px){
.banner__box .banner__heading {
font-size: 5vw;
}
.banner__box .banner__text {
font-size: 3.5vw;
}
}
@media only screen and (max-width: 749px){
.banner__box .banner__heading {
font-size: 7vw;
}
.banner__box .banner__text {
font-size: 5.5vw;
}
}

niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

Hello @Atsimataves 

You can add code by following these steps 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid


<style>

     @media screen and (min-width:767px){
          .banner__heading {
             font-size: 30px !important;
         }
         .banner__box{
              left:-28% !important;
          }
}

</style>

techlyser_web_0-1704992358674.png

 

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
Atsimataves
Excursionist
46 0 5

@niraj_patel , boooom! It works. :)) May I know if I want to change the text below how I can do that? Now it looks a little too small "Women's Jewelry".

Thanks a lot!

niraj_patel
Shopify Partner
2378 514 511

Hello @Atsimataves 

You can add code by following these steps 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid


<style>

     @media screen and (min-width:767px){
              .banner__text.rte p {
                   font-size: 22px !important;
              }
        }

</style>

techlyser_web_1-1704994071929.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
Atsimataves
Excursionist
46 0 5

@niraj_patel Thank you very much! 💛

niraj_patel
Shopify Partner
2378 514 511

Welcome😊

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
Bren_oc
Tourist
7 1 3

hi there can will the positioning change for mobile to?