Jump to content

Change colours of index navigation bullets

Go to solution Solved by tuanphan,

Recommended Posts

Hello,

I'd like to change all the colours of the index navigation bullets for ONE section.

image.png.65c9224e274b31acb1f24a8ebc84c751.png These are the bullets currently. There are great for everywhere else.

These colours (orange, purple, and teal) are fine for everywhere else I need them to be different colours for this page  https://africanaeconomics.com/africana-portal/

I know it has to be something like the following

<style>
#collection-638633baa89b9902cf5927fa{

.tweak-index-nav-style-faded-dots .Index-nav.overlay .Index-nav-indicator {
background-color: rgba(255,0,116, 0.8);

.tweak-index-nav-style-faded-dots .Index-nav-item.active .Index-nav-indicator {
background-color: #1034A6;
}

</style>

Thanks so much guys!

https://africanaeconomics.com/africana-portal/

Link to comment
  • Solution

Add to Africana Portal Page Header

<style>
  nav.Index-nav>div>a:nth-child(2) .Index-nav-indicator {
    background: green !important;
}

nav.Index-nav>div>a:nth-child(3) .Index-nav-indicator {
    background: #f1f;
}

nav.Index-nav>div>a:nth-child(4) .Index-nav-indicator {
    background: blue;
}

nav.Index-nav>div>a:nth-child(5) .Index-nav-indicator {
    background: black;
}
</style>

 

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
On 1/7/2023 at 3:43 AM, tuanphan said:

Add to Africana Portal Page Header

<style>
  nav.Index-nav>div>a:nth-child(2) .Index-nav-indicator {
    background: green !important;
}

nav.Index-nav>div>a:nth-child(3) .Index-nav-indicator {
    background: #f1f;
}

nav.Index-nav>div>a:nth-child(4) .Index-nav-indicator {
    background: blue;
}

nav.Index-nav>div>a:nth-child(5) .Index-nav-indicator {
    background: black;
}
</style>

 

Thank you so much!

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.