Jump to content

Is there a way to change the color of a letter or symbol in navigation items?

Recommended Posts

Site URL: https://garlic-vanilla-9jsw.squarespace.com

I'm trying to change the color of the ▮ symbol to the red I'm using on the site, while keeping the rest of the navigation the same color. For example: "▮Nosotros"; red for "▮" and white for "Nosotros"

closest I got was this code, but I could not find a way to determine individual characters:
.header-nav-item a[href="/about"], .header-menu-nav-item a[href="/about"]
 {
    color: #ec8349 !important;
}

Thanks!

Link to comment
  • Replies 11
  • Created
  • Last Reply

Top Posters In This Topic

Try change your item to this

Quote

<span>▮</span>NOSOTROS

Then let me know. We will give some code to hide <span> & change symbol color

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

Try change your item to this

Quote

<span>▮</span>NOSOTROS

Then let me know. We will give some code to hide <span> & change symbol color

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
On 6/29/2021 at 4:53 AM, DSGNRAgencia said:

Done, waiting for your reply. Thanks!

It looks like you add a span only

</span>NOSOTROS

You need to add both. It should be

<span></span>NOSOTROS

 

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
On 7/2/2021 at 12:03 AM, DSGNRAgencia said:

I did. As I mentioned before, that's how they show up for some reason, I don't understand whyjjr.thumb.PNG.5a445e0ee7e2d4d4f157033aea84e861.PNG

Remove span & add this to Design > Custom CSS

/* nav items square */
.header-nav-item a:before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: green;
}

 

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
16 hours ago, tuanphan said:

Remove span & add this to Design > Custom CSS

/* nav items square */
.header-nav-item a:before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: green;
}

 

That did it. Is there a way to do this for the mobile navigation menu? it would be last wrinkle. Thanks, you're a lifesaver!

Link to comment
On 7/4/2021 at 5:35 AM, DSGNRAgencia said:

That did it. Is there a way to do this for the mobile navigation menu? it would be last wrinkle. Thanks, you're a lifesaver!

With mobile, use this code

div.header-menu-nav-item a:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #791726;
}

 

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
On 7/5/2021 at 11:58 PM, DSGNRAgencia said:

It worked, and this is gonna help on other sections as well. Thank you!

Hi. Do you need help on these?

Site URL – https://garlic-vanilla-9jsw.squarespace.com/

1. (Desktop/Mobile – Areas) Scroll bar at the bottom of page.

https://garlic-vanilla-9jsw.squarespace.com/areas

garlic-vanilla-9jsw.squarespace.com-01-m

2. (Mobile – Footer) Increase space between lines?

https://garlic-vanilla-9jsw.squarespace.com/

garlic-vanilla-9jsw.squarespace.com-02-m

3. (Tablet – Innicio) Increase space between reconocimientos and horizontal line above?

https://garlic-vanilla-9jsw.squarespace.com/

garlic-vanilla-9jsw.squarespace.com-03-m

4. (Tablet – Menu) Social icon not  aligned with the menu items above.

https://garlic-vanilla-9jsw.squarespace.com/

garlic-vanilla-9jsw.squarespace.com-04-m

5. (Tablet – Areas) The text and image are quite small in width and are skewed to the left of the page.

https://garlic-vanilla-9jsw.squarespace.com/areas

garlic-vanilla-9jsw.squarespace.com-05-m

6. (All devices – Equipo) Scroll bar at the bottom of page.

https://garlic-vanilla-9jsw.squarespace.com/equipo

garlic-vanilla-9jsw.squarespace.com-06-m

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.