Jump to content

Highligt category on blog page

Recommended Posts

  • Replies 12
  • Views 1k
  • 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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 years later...
On 4/22/2023 at 3:47 AM, thedowntowncreative said:

Hi, big thanks ahead of time for your help on this. I'm interested in changing the color of an active category link for my blog posts. Is there a way to do this? I'm on a business plan. https://officeproducts.squarespace.com/used-furniture

What is access password?

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.