Price closer to product name.

Hello,

I would like the price to be closer to the product name.

Can somebody help?

https://excitarestudios.myshopify.com/

Found it!

Hi @JoaquinExcitare

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.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:
.contains-card--product  .price {
    margin-top: 0;
    line-height: 1;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Hello,

  1. Go to Online Store
  2. Edit Code
  3. Find theme.css/base.css file
  4. Add the following code in the bottom
@media (min-width: 1024px) {
    .featured-slide-content-template--23998962303301__ss_featured_collection_11_dPJ4H4 {
        padding: 10px 10px;
        display: flex !important;
        gap: 3rem !important;
    }
}

@media (min-width: 1024px) {
    .featured-price-template--23998962303301__ss_featured_collection_11_dPJ4H4 * {
        font-size: 13px;
        padding: 0px 8px !important;
    }
}

Thanks!

Hello @JoaquinExcitare

  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:
.card--standard>.card__content .card__information {
display: flex;
align-items: baseline;
}
.card-information {
width: 50%;
text-align: end;
}
.card__heading {
width: 50%;
}
.card--standard>.card__content .card__information {
padding: 0 10px 0 10px;
}

This worked, what do I need to add for the price to be a smaller font?

Hello @JoaquinExcitare

  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:
.card-information .price {
font-size: 1.3rem;
}

The font size only ajusts on desktop, I need the same thing to show on mobile

Hello @JoaquinExcitare
I have checked, and it is also working fine on mobile devices.

For me it does not work on mobile?

Hello @JoaquinExcitare

  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 (max-width: 768px){
.card-information .price {
font-size: 1.3rem!important;
}
}