Jump to content

Part of product's title to be bold

Recommended Posts

  • Replies 3
  • Views 522
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

(1) First, wrap SO in a <b> tag

image.thumb.png.16dd4f932936069ad115968a383f6fa4.png

You will have this

image.thumb.png.947551500f9d4ffa1645412237c9b137.png

(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>

image.thumb.png.75cc3998f1ed55c1cffcb42610e1da5a.png

Result

image.png.997ca4f17e89b0237e7377fb390ebf5c.png

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
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:

image.png.53f6cfcae1f31a581f76eccdca5d9ec5.png

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

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.