Re: Shopify product title and price inline

Solved

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

PRETTYFRIDAYS
Pathfinder
197 0 35

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

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
8402 2006 2465

This is an accepted solution.

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;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1700233363220.png

     

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

Replies 12 (12)

Abdosamer
Shopify Partner
895 163 183

Hi @PRETTYFRIDAYS , can you share your store url?

Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work
PRETTYFRIDAYS
Pathfinder
197 0 35
Abdosamer
Shopify Partner
895 163 183

@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;
}
Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work
PRETTYFRIDAYS
Pathfinder
197 0 35

Where in the file?

 

Abdosamer
Shopify Partner
895 163 183

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

Abdosamer_0-1700224948859.png

 

Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work
PRETTYFRIDAYS
Pathfinder
197 0 35

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

 

Abdosamer
Shopify Partner
895 163 183

Yes, in the bottom.

Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work
PRETTYFRIDAYS
Pathfinder
197 0 35

thanks!

 

Abdosamer
Shopify Partner
895 163 183

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

Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work
PRETTYFRIDAYS
Pathfinder
197 0 35

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

 

Made4uo-Ribe
Shopify Partner
8402 2006 2465

This is an accepted solution.

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;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1700233363220.png

     

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.
Abdosamer
Shopify Partner
895 163 183

Add the following code :

.card-information .price{
    margin-top :0 !important;
}
Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work