CalifLRev Posted April 16, 2023 Share Posted April 16, 2023 I used the code below to enable italics to appear in blog titles in the blog landing page. Quote <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script> <script> $(document).ready(function(){ $(".blog-basic-grid--text h1.blog-title").each(function(){ $(this).html($(this).text()); }); }); </script> However, once this was inserted, the blog titles themselves are no longer clickable. How could I make them clickable again? Thanks so much. Link to comment
tuanphan Posted April 16, 2023 Share Posted April 16, 2023 Hi, Blog title on Blog page or summary block or? Can you share link? 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
CalifLRev Posted April 16, 2023 Author Share Posted April 16, 2023 Hi thanks for the repsonse! On the blog page. Here's a link: https://kazoo-cheetah-9f28.squarespace.com/online Link to comment
Solution tuanphan Posted April 18, 2023 Solution Share Posted April 18, 2023 On 4/16/2023 at 11:35 PM, CalifLRev said: Hi thanks for the repsonse! On the blog page. Here's a link: https://kazoo-cheetah-9f28.squarespace.com/online Try this new code <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script> <script> $(document).ready(function(){ $(".blog-basic-grid--text h1.blog-title a").each(function(){ $(this).html($(this).text()); }); }); </script> 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
CalifLRev Posted April 20, 2023 Author Share Posted April 20, 2023 @tuanphan Thanks so much! This worked perfectly. 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