Jump to content

Bold certain words in carousel slider titles

Recommended Posts

Hello! I'm looking to have certain words in the carousel list items title slider bold.

Right now, I have the following code installed in the footer and the words in each title tagged <strong></strong>, and it's working for all the sliders except the first one and I can't figure out why it won't work for that first slide - any help is super appreciated!!

 

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
  $(".list-item-content__title").each(function(){
    $(this).html($(this).text());
  });
});
</script>

Link to comment
  • Replies 7
  • Views 325
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
On 3/15/2023 at 3:43 AM, kellyetz said:

@tuanphan ah it's so weird since I have it tagged in the content and it bolds it in the edit mode, but as soon as I save, it unbolds it

image.thumb.png.0faaab9ace0007d61b13743d7ba7de21.png

 

image.thumb.png.c128086ba76c304881bd960fee6b4e1b.png

You try changing it to b tag

<b>Her insights...</b>

If it still doesn't work, let me know, I will try testing List Carousel on my site

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
On 3/24/2023 at 11:31 AM, kellyetz said:

Hey @tuanphan! Just tried the <b> </b> tags, but it unfortunately is still not bolding just that first slide for me 

Can you duplicate the site & add me as an admin on the duplicated site? I will try take a look.

If possible, you can send me a private forum message

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

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.