Re: kindly reply.. want to replace the sale/save xx label of my product image to top right corner.

Solved

kindly reply.. want to replace the sale/save xx label of my product image to top right corner.

Muhammad_Faraz
New Member
20 0 0

I am using dawn theme and changed the sale label to save Rsxx but i want to reposition the label to top right corner.
someone help me in this regard. 

 

my website URL: https://lichenofficial.pk/

Capture 2.PNG

Accepted Solutions (3)

Roy-ロイ
Shopify Partner
81 18 31

This is an accepted solution.

Hi @Muhammad_Faraz 

 

I'm happy to help you with that! You can easily achieve this by adding some simple CSS code to your theme.

 

To get started, follow these steps:

  1. Log in to your Shopify Admin panel.
  2. Go to Online Store > Theme > Edit code.
  3. In the code editor, navigate to the component-card.css file.

Now, add the following code at the end of the file:

 

.product-card-wrapper .card__content {
    display: block;
}

.product-card-wrapper .card__badge {
    position: absolute;
    top: 0;
    right: 10px;
}

 

Result: 

Roy_0-1722086731401.png

 

 

Let's connect and grow your Shopify business together! 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - Connect with me at: roy.solution.partner@gmail.com ( CRO | Site Speed Optimization | Custom Development )

View solution in original post

K-Mahesh
Shopify Partner
21 3 5

This is an accepted solution.

Hello @Muhammad_Faraz 
You can by following these steps

1. Go to Online Store -> Theme -> Customize.
2. Open your theme customize > Theme settings > Scroll down > Click the Badges.
3. Change the badges Position on cards.



Screenshot 2024-07-27 190041.png

 

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

View solution in original post

BSS-TekLabs
Shopify Partner
2350 702 827

This is an accepted solution.

Hi @Muhammad_Faraz,

Here are the steps you can follow:

1, Navigate to Online Store > Themes > Edit Code.

2, Locate and open the base.css (or theme.css, custom.css) file.

3, Paste the code snippet provided below at the bottom of the file, then save your changes.

.card__content {
    display: block;
}
.card__content .card__badge span {
    position: absolute;
    top: 5px;
    right: 10px;
}

Here is the result

BSSTekLabs_0-1722087770696.png

We hope this assists in resolving the issue.

If you find our solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!

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

View solution in original post

Replies 5 (5)

Roy-ロイ
Shopify Partner
81 18 31

This is an accepted solution.

Hi @Muhammad_Faraz 

 

I'm happy to help you with that! You can easily achieve this by adding some simple CSS code to your theme.

 

To get started, follow these steps:

  1. Log in to your Shopify Admin panel.
  2. Go to Online Store > Theme > Edit code.
  3. In the code editor, navigate to the component-card.css file.

Now, add the following code at the end of the file:

 

.product-card-wrapper .card__content {
    display: block;
}

.product-card-wrapper .card__badge {
    position: absolute;
    top: 0;
    right: 10px;
}

 

Result: 

Roy_0-1722086731401.png

 

 

Let's connect and grow your Shopify business together! 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - Connect with me at: roy.solution.partner@gmail.com ( CRO | Site Speed Optimization | Custom Development )

Muhammad_Faraz
New Member
20 0 0

How can I make the label small?
It is too big on the phone display. Can you help me with that?

K-Mahesh
Shopify Partner
21 3 5

This is an accepted solution.

Hello @Muhammad_Faraz 
You can by following these steps

1. Go to Online Store -> Theme -> Customize.
2. Open your theme customize > Theme settings > Scroll down > Click the Badges.
3. Change the badges Position on cards.



Screenshot 2024-07-27 190041.png

 

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Muhammad_Faraz
New Member
20 0 0

How can I make the label small?
It is too big on the phone display. Can you help me with that?..

BSS-TekLabs
Shopify Partner
2350 702 827

This is an accepted solution.

Hi @Muhammad_Faraz,

Here are the steps you can follow:

1, Navigate to Online Store > Themes > Edit Code.

2, Locate and open the base.css (or theme.css, custom.css) file.

3, Paste the code snippet provided below at the bottom of the file, then save your changes.

.card__content {
    display: block;
}
.card__content .card__badge span {
    position: absolute;
    top: 5px;
    right: 10px;
}

Here is the result

BSSTekLabs_0-1722087770696.png

We hope this assists in resolving the issue.

If you find our solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!

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