Jump to content

CalifLRev

Member
  • Posts

    9
  • Joined

  • Last visited

Everything posted by CalifLRev

  1. Here's how it's done: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script> <script> $(document).ready(function() { $('.blog-categories').each(function() { // select all elements with class "categories" and loop through them $(this).html($(this).html().replace(/\s/g,'&nbsp;')); // replace all white spaces with nbsp }); }); </script> <script> $(document).ready(function() { $('.summary-metadata-item--cats a').each(function() { // select all elements with class "categories" and loop through them $(this).html($(this).html().replace(/\s/g,'&nbsp;')); // replace all white spaces with nbsp }); }); </script>
  2. Hi! In mobile view, text in blog posts overflow past the right-hand side of the screen when a word or URL string is too long. Is there a way to force this text to wrap? I've tried the following code, but it doesn't work. { word-wrap: break-word !important; } Thank you!
  3. @tuanphan, if a category was to overflow into a second line, would it be possible to automatically create a line break that sends the entire category to the second line? For instance, "Freedman" in the image below automatically overflows into the second line because there's no more space. Is it possible for the full category, "Eli Freedman," to all go on the second line, and not just half of the category?
  4. @tuanphan Thanks so much! This worked perfectly.
  5. Hi thanks for the repsonse! On the blog page. Here's a link: https://kazoo-cheetah-9f28.squarespace.com/online
  6. I used the code below to enable italics to appear in blog titles in the blog landing page. However, once this was inserted, the blog titles themselves are no longer clickable. How could I make them clickable again? Thanks so much.
  7. Thanks, Derrick. @tuanphan, is there an automatic way to do this for all posts?
  8. Hi, hope all's well. We have summary blocks/blog pages that have three main categories listed above the post title. I was wondering if there was a way to get every third category onto a second line. For example, in the screenshot below, "Ari Ezra Waldman" would be all on its own line underneath "Article" and "Volume 110.4." Thank you.
×
×
  • 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.