Line height for span in HTML widget being overwritten
-
Hey, I have created a HTML widget and want to have 1.3 line height here for the span element. –wd-text-line-height is overwriting my css, even when I am using important. How can I fix this? Thank you. I have attached a txt file with the custom HTML code in the moderators section. There is also a login there. Hope to hear from you soon.
Attachments:
You must be
logged in to view attached files.
Hello,
Send me screenshot of where that span situated on your website and send me the URL link to the website so I can check it.
Kind Regards
Hey, thanks for getting back to me so quickly. Left the URL in the private content section. Screenshot is attached.
Attachments:
You must be
logged in to view attached files.
Hello,
Define just the “line-height” property here – https://prnt.sc/1NdASZ6KsnBV and it should work – https://prnt.sc/qdrYqJdV91Gi
Kind Regards
Does not work. Please help me find a solution.
Hello,
Remove your custom code – https://prnt.sc/vg7Zm44uI2Rf
And use the below code instead:
.deliverydate-flex {
font-size: 14px;
line-height: 1;
}
Result: https://prnt.sc/y9GU4p0EVOpy
Kind Regards
Amazing, thank you so much, Luke! Have a wonderful day and a good weekend.
Hello,
You are welcome! If you do not mind, can you please leave a 5 stars rating for our theme by going here: http://themeforest.net/downloads It will allow us to release more updates and provide dedicated support in the future. It would encourage our work a lot.
Have a good day!
Kind Regards
The topic ‘Line height for span in HTML widget being overwritten’ is closed to new replies.