How to change font size of product name and price for mobile version only (Dawn)

hi all,

How to change font size of product name and price for mobile version only (Dawn)

Mu url:https://lelundijewelry.com/

Thanks

Hi @jessica_0430 ,

May I suggest to update code these steps:

  1. Go to Store Online-> theme → edit code
  2. Assets/base.css
  3. Add code below to end of file
@media(max-width: 749px){
  body .price .price-item,
  body  .price__regular .price-item--regular,
  body  .card__heading {
    font-size: 15px !important;
  }
}

I did, but it is not working. Font size does not change.

Hi,

Where did you add it? I checked here. https://lelundijewelry.com/cdn/shop/t/1/assets/base.css?v=48209976890689617951715833208. Howerver, I don’t see code.

I just removed the codes coz it seems doesn’t work to me.

Hi,

You should be remove “}” end of file. After that add code above

Before remove

After remove

@jessica_0430 Please follow the below steps to change the font size of the product name and price for the mobile version only. Let me know whether it is helpful for you.

  1. From admin, go to “Online Store” → “Themes”.
  2. Click “Customize” button from the current theme.
  3. Click “Theme settings”.

  1. Locate “Custom CSS” field and paste the below code as like in the screenshot.
@media screen and (max-width: 750px) {
    .card__content .card__information .card__heading a, .card-information .price .price__container .price__regular .price-item--regular {
        font-size: 15px !important;
    }
}

Result will be like,

Please provide your support by click “Like” and “Accepted” if our solution works for you. Thanks for your support.