Change points # to bold + white bkgrnd

Solved

Change points # to bold + white bkgrnd

Luxurymrkt
Globetrotter
761 2 161

Hi,

 

id like to change just the # of points ex: 700 to bold if possible

 

also the background of the shoppay to white and align left.

 

my site is: https://vazluxe.com/products/solace-london-dresses-black-os39029black-p25?pr_prod_strat=collection_f...

906827B8-7AD4-4032-91A9-442CF852A2B6.jpeg

 

Thank You | mike
Accepted Solution (1)

B2Bridge
Explorer
363 75 91

This is an accepted solution.

Hi @Luxurymrkt , you can follow these steps:

Step 1: Open Online Store -> Themes -> Edit code.

Step 2: Find component-card.css file

Step 3: Paste this code at the bottom of the file

 

.bm_product_points {
 font-weight: 700 !important;
}
.product-form__shop-pay {
 background-color: transparent !important;
 padding-left: 0 !important;
}

 

Screenshot_6.png

If this is helpful, please let us know by giving us a like and marking it as a solution. Thank you 😍



B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.

View solution in original post

Replies 5 (5)

Huptech-Web
Shopify Partner
1169 234 264

Hello! @Luxurymrkt  ,Please follow these steps to add this CSS code:

1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. If you have a custom CSS file, open that instead.
5. If you can't find your custom CSS file, open "theme.css"
6. Add the following code at the end of the file.

.bm_product_points {
    font-weight: 700;
}
body .product-form__shop-pay {
    background: #fff;
    box-shadow: 0px 0px 1px 0.5px lightgrey; /* If required then add it */
}


Here, is the screenshot for the same.
bg-color.png

If you found this response helpful, please do like and accept the solution, and also if you have any questions please don't hesitate to ask.
(S.P)

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required

Dotsquares
Shopify Partner
390 25 52

hi @Luxurymrkt 

 

we can need a html tag for particular text to bold (refer attachement)

for the the background of the shoppay to white and align left add below CSS

.product-form__shop-pay {
    background: none;
    padding-left: 0;
    padding-right: 0;
}

 

Dotsquares_0-1742362337211.png

 

 

Dotsquares Ltd


Problem Solved? ✔ Accept and Like solution to help future merchants.


Shopify Partner Directory | Trustpilot | Portfolio

PageFly-Richard
Shopify Partner
5011 1120 1802

Hi @Luxurymrkt 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

 

<script>
let spanElement = document.querySelector('.bm_product_points');

let text = spanElement.textContent;
let number = text.match(/\d+/)[0];  // Extract the number (e.g., 400)
let prefix = text.split(number)[0];  // Get the text before the number
let suffix = text.split(number)[1];  // Get the text after the number

let boldNumber = document.createElement('span');
boldNumber.style.fontWeight = 'bold';
boldNumber.textContent = number;

spanElement.innerHTML = prefix + boldNumber.outerHTML + suffix;

</script>
<style>
.product-form__shop-pay.fs-body-75 {
    background: #fff;
    text-align: left;
}
</style>

PageFlyRichard_0-1742365677300.png

 


Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly  

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

B2Bridge
Explorer
363 75 91

This is an accepted solution.

Hi @Luxurymrkt , you can follow these steps:

Step 1: Open Online Store -> Themes -> Edit code.

Step 2: Find component-card.css file

Step 3: Paste this code at the bottom of the file

 

.bm_product_points {
 font-weight: 700 !important;
}
.product-form__shop-pay {
 background-color: transparent !important;
 padding-left: 0 !important;
}

 

Screenshot_6.png

If this is helpful, please let us know by giving us a like and marking it as a solution. Thank you 😍



B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.

Rahul_dhiman
Shopify Partner
808 155 169

Hello @Luxurymrkt 
a) id like to change just the # of points ex: 700 to bold if possible:-
1. To make the word bold. You can use "b" tab like this <b>500</b> to make the word "500" bold.
2. You can use this snippet to make bold. button { font-weight: 700; }

b) the background of the shoppay to white and align left.:-
Go to online store ----> themes ----> actions ----> edit code ----> base.css
add this code at the end of the file and save.

.product-form__shop-pay {
background-color: #fff !important;
text-align: left !important;
}

result
37.png

Thanks

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages