Jump to content

How to extend archive block to fit long text

Go to solution Solved by tuanphan,

Recommended Posts

Hi,

I currently use the 7.0 theme called Five. For my blog pages, I use a summary block to pull in the posts. I decided to set up an archive block above it to contain a dropdown menu of the categories so people can choose the topics they're interested in.

The archive block seems rather short! Meaning the category text that's too long gets pushed into two lines. Is there a way to extend the archive block so that it can fit all the long text onto one line to keep things nice and neat?

Is there a CSS code for this?

Hope someone can help.
 

Many thanks!

Link to comment
13 hours ago, tuanphan said:

Hi,

Can you share link to page where you use archive block? We can check easier

Of course, here it is https://worldofcreativedreams.co.uk/blog-history-lovers

The postcode histories series uses two lines because there isn't enough space. If I can extend the archive box longer, it might fit everything onto 1 line like the others.

Hope you can help 🙂

 

 

 

Link to comment
  • Solution
On 5/3/2023 at 9:58 PM, soullessabandon said:

Of course, here it is https://worldofcreativedreams.co.uk/blog-history-lovers

The postcode histories series uses two lines because there isn't enough space. If I can extend the archive box longer, it might fit everything onto 1 line like the others.

Hope you can help 🙂

 

 

 

Add to Design > Custom CSS

.sqs-block-archive .archive-block-setting-layout-dropdown.archive-block-wrapper {
    max-width: 500px !important;
}

 

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.