How can I align my product title and price in a Sense theme?

Hey, i just made my store and i want my product text and product price in line and i have tried everything.

Example: BODY WASH €19

Would appreciate it if you would help me.

Theme is Sense

Hi @PRETTYFRIDAYS , can you share your store url?

https://e8aaa0-3.myshopify.com/

password is mohwhi

@PRETTYFRIDAYS , Go to Component-card.css and add the following :

.card--standard>.card__content .card__information {
    padding-left: 0;
    padding-right: 0;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.card-information {
    width: auto !important;
}

Where in the file?

In you theme files, choose edit code and search for component-card.css file

yes i know, but where in the file? On the bottom?

Yes, in the bottom.

thanks!

Glad it helped, feel free to contact me if you run into any problems in the future.

Hey @Abdosamer , i have one question. The price shows a little bit lower than the title. How do i change this?

Hi @PRETTYFRIDAYS

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 “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:
.card-information .price {
    margin-top: 0px !important;
}

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

Add the following code :

.card-information .price{
    margin-top :0 !important;
}