Qubbaj Posted September 28 Share Posted September 28 Hi all, I'm wondering if I can have part of my product's name to be in bold, for an example, this product is named SO0001, can I have the "SO" part to be in bold? like this: SO0001 Thank you! Link to comment
tuanphan Posted September 30 Share Posted September 30 (1) First, wrap SO in a <b> tag You will have this (2) Next, use this code to Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function(){ $(".grid-title, h1.ProductItem-details-title").each(function(){ $(this).html($(this).text()); }); }); </script> Result Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
paul2009 Posted September 30 Share Posted September 30 7 hours ago, tuanphan said: wrap SO in a <b> tag Please bear in mind there is a downside with this approach because the tags are not intended to be used in this way. They may therefore appear in other places where you don't want to see them. For example, on the Cart page and on the Order Summary page: Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Qubbaj Posted September 30 Author Share Posted September 30 Thank you! it did work, but here in the subtitle it shows with the tag, can you help with fixing this, please? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment