Jump to content

Highligt category on blog page

Recommended Posts

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

On 2/10/2021 at 5:24 PM, Essensen said:

Thank you so much, that worked perfectly.

Is there any way to only highlight categories when selected like in the navigation bar? Tried typing in active instead of visited but it didn't work.

Add to Design > Custom CSS

.header-nav-item--active a {
    text-decoration: underline !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Hi tuanphan

Thanks for your reply.

That works fine with the navigation header, but with the category titles in the archive block it doesn't work.

I have managed to make the category titles change colour when visited but I would like them to only change colour when selected/active. Any tricks here?

Link to comment
  • 2 weeks later...
On 2/22/2021 at 4:06 PM, Essensen said:

Hi tuanphan

Thanks for your reply.

That works fine with the navigation header, but with the category titles in the archive block it doesn't work.

I have managed to make the category titles change colour when visited but I would like them to only change colour when selected/active. Any tricks here?

Hi. Do you still need help on this?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

I have been experimening with this too. I can't make it work because as soon as you select a category and click it, you navigate away from the archive block, and it is no longer on the page,  so in effect it is no longer active. I think it becomes more "last visited" as opposed to active. With that in mind maybe a coder can target it. 

Edited by derricksrandomviews
Link to comment
On 3/9/2021 at 4:44 PM, Essensen said:

Hi tuanphan

Yes 🙂I use an archive block on my blog page to filter content. I am still looking for a way to highlight the selected category by making the font bold when active. 

This will require CSS & javaScript. Do you use Personal or Business or Commerce Plan?

Also, you haven't changed blog page seo title, so browser tab name still shows "Blog 2"

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.