Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Price and description of products in collection on homepage are not aligned.

Solved

Price and description of products in collection on homepage are not aligned.

blublu
Excursionist
19 1 12

Price and description of products in my collection on homepage are not aligned. The price is at the left and the description slightly more right.

 

https://blublu.ca

password: saghooprice align.JPG

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9035 2160 2664

This is an accepted solution.

Hi @blublu 

Do you want it center? or left?

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.card__content .card-information {
    text-align: center;
}

 

And Save. To center the price. 

Result:

Made4uoRibe_0-1726156625571.png

 

.card__heading a {
    text-align: left !important;
}

 

And Save. Both in the left. 

Result:

Made4uoRibe_1-1726156739575.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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 5 (5)

BSSCommerce-B2B
Shopify Partner
1969 564 566

@blublu ,

Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file theme.liquid.

Step 3. Add this code above </body>

 

<style>
.card-information {
  text-align:center!important;
}
</style> 

 

 

Result:

BSSCommerceB2B_0-1726156550218.png

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

BSS-TekLabs
Shopify Partner
2350 688 810

- Here is the solution for you @blublu 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the theme.liquid file.
- Then add the following code at the before tag </head> and press 'Save' to save it.

<style>
.card-information {
    text-align: center !important;
}
</style>

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
BSS-TekLabs
Shopify Partner
2350 688 810

- Here is the result you will achieve:

BSSTekLabs_0-1726156563779.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you @blublu .

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Tech_Coding
Shopify Partner
417 110 99

Hello @blublu 

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>
  .full-unstyled-link {
       text-align: justify !important;
  }
</style>

Tech_Coding_0-1726156592304.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.

Made4uo-Ribe
Shopify Partner
9035 2160 2664

This is an accepted solution.

Hi @blublu 

Do you want it center? or left?

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.card__content .card-information {
    text-align: center;
}

 

And Save. To center the price. 

Result:

Made4uoRibe_0-1726156625571.png

 

.card__heading a {
    text-align: left !important;
}

 

And Save. Both in the left. 

Result:

Made4uoRibe_1-1726156739575.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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.