Jump to content

Customize .archive-item-link display settings

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://learningenglishwithjames.com/idioms

I am using the Archive block list layout grouped by tag to show all my blog posts, but the title links are appearing across 5 columns on the Desktop view. This means that some of the titles display across 2 lines and I only want them to appear on a single line.

Is there a way in CSS to prevent the text from wrapping across 2 lines or making each column wider so only say 3 columns appear? 
I don't want the font size smaller than 14px, and I want the Mobile view to stay as a single column list.

The only CSS I'm using at the moment for this section is:

/* Archive tag list */
#block-yui_3_17_2_1_1725971050311_6906 
.archive-group-name-link {font-size: 14px !important}

Link to comment
  • Replies 4
  • Views 418
  • Created
  • Last Reply

Top Posters In This Topic

On 9/19/2024 at 2:53 PM, Astaraiche said:

Hi!

This worked for the Desktop view but the Mobile view is now showing 2 columns instead of a one column. How do just change the Desktop view?

This code target Desktop Only. If it affect desktop + mobile, you can keep the code then let me know, I will check again

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.