make productname smaller on mobile

Solved

make productname smaller on mobile

sixdreamz
Explorer
103 0 36

hey,

 

on my mobile layout the name and the box around it seems very chunky.

 

is it possible to make the lines of the box a little bit thinner, and the letters a little bit smaller?

 

NOTE: only for mobile

 

sixdreamz_0-1727422900599.png

 

url: sixdreamz.com

password: sdc2003

Accepted Solution (1)

Tech_Coding
Shopify Partner
326 87 78

This is an accepted solution.

 Hello @sixdreamz 

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 (max-width: 767px){
   .card__information {
       border: solid 1px black !important;
    }
    .full-unstyled-link {
        font-size: 10px !important;
    }
}
</style>

Tech_Coding_0-1727423406172.png

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

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

View solution in original post

Replies 5 (5)

websensepro
Shopify Partner
1221 136 156

Hi @sixdreamz ,
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

 

<style>
@media only screen and (max-width: 767px) {
    .card__information {
        border: solid 1px black !important;
    }
    .card__information h3 {
        font-size: 10px !important;
    }
}

</style>

 

 

 

websensepro_0-1727423256074.png

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer?
Hire us at WebSensePro
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel or buy us a Cofee here

Free Shopify Beginner Tutorial

Tech_Coding
Shopify Partner
326 87 78

This is an accepted solution.

 Hello @sixdreamz 

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 (max-width: 767px){
   .card__information {
       border: solid 1px black !important;
    }
    .full-unstyled-link {
        font-size: 10px !important;
    }
}
</style>

Tech_Coding_0-1727423406172.png

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

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

Sangeetanahar
Explorer
541 36 69

hello @sixdreamz 

Go to online store ----> themes ----> actions ----> edit code ---->assets ---->component-card.css...> add the code end of the file

 @media screen and (max-width: 750px) { 
.card__information h3 {
    font-size: 12px;
}
.card__information {
    border: solid 1px black !important;
}

   
}

Produkte-–-sixdreamz-09-27-2024_01_20_PM.png

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

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me [email protected] - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here

Rahul_dhiman
Shopify Partner
563 113 110

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

h5, .h5 {
font-size: 10px !important;
}
.card__information {
border: solid 1px black !important;
}

result
5.png

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

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me [email protected] - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167

ZestardTech
Shopify Partner
5770 1052 1392

Hello There,

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

 

@media screen and (max-width: 750px) {
.card__information h3 {
font-size: 12px;
}
.card__information {
border: solid 1px black !important;
}
}
Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: [email protected]
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing