Hi,
I’ve recently enabled Shop Pay instalments on my site but the pricing for Shop Pay is showing as bold.
I can’t figure out how to remove this as CSS doesn’t seem to work unfortunately.
Would really appreciate if someone could help!
Thanks in advance.
@Dylan_Propeller
Hello,
Please give me the store URL then i will help.
@Dylan_Propeller
its impossible think because the tag is present in HTML so don’t change the font-weight by css.
Hi [email removed]Dylan_Propeller,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid,
Step 3: Paste the below code at before or element of the file → Save
const interval=setInterval(()=>{
const text=document.querySelector('shopify-payment-terms')
if(text){
clearInterval(interval)
text.shadowRoot.querySelector('#shopify-installments b').style.fontWeight='400'
}
},1)
setTimeout(()=>{
clearInterval(interval)
},10000)
Hope my solution works perfectly for you!
Best regards,
Victor | PageFly
Hey @PageFly-Victor
Thank you for the code you have provided!
Unfortunately, I have tried both before and with no luck:
Hi @Dylan_Propeller ,
I see one error is 1 sign left “)”
Hey @PageFly-Victor ,
Thanks for spotting that!
Unfortunately, even after removing it doesn’t seem to work on the live site:
Hi @Dylan_Propeller ,
You can try gain
const interval=setInterval(()=>{
const payment=document.querySelector('shopify-payment-terms')
const text=payment.shadowRoot.querySelector('#shopify-installments b')
console.log('text',text)
if(text){
clearInterval(interval)
text.style.fontWeight='400'
}
},1)
setTimeout(()=>{
clearInterval(interval)
},15000)
Thank you @PageFly-Victor
Amazing, this worked 
You are welcome. I’m glad when I can help you 