Jump to content

studionew

Circle Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by studionew

  1. 19 hours ago, Ziggy said:

    Tricky problem, you'd need to write some script to measure the character length of the title and then have a responsive height based on the estimate number of line, not the easiest solve. 

    Alternatively you could put a clamp on the title line count and match the max height to that, something like this:
    https://stackoverflow.com/questions/26973570/setting-a-max-character-length-in-css

    Or you could just request your client not to put very long titles... that can actually work!

    Thanks for your response and suggestions.

    I'm really hoping to find a solution for the height to respond to the title length.

    I absolutely agree that the easiest solution is for my client to not put long titles but unfortunately my client doesn't want to do that. 

  2. I'm trying to make the summary block height responsive to the 'longest title' of the displayed blogs.

    I currently have .summary-content {height: 20vh;} achieving an even height but if the title of new blogs is shorter or longer there will be issues.

    How to I target the title and ensure it is responsive in the future?

    premierleads.io/artur-test-page 

     

    Screen Shot 2022-11-24 at 1.35.07 pm.png

×
×
  • 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.