Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Mobile Icon for Secondary Nav Issue


viccismarshall

Question

Site URL: https://pumpkin-harp-dd4x.squarespace.com/

Hi everyone, 

I hope someone can point me in the right direction please! It's driving me slightly crazy!!

I have added custom CSS to include icons before each of the primary nav pages on the site as follows:

.Header-nav--primary .Header-nav-item[href="/clients"]::before,
.Mobile-overlay-nav--primary .Mobile-overlay-nav-item[href="/clients"]::before {
  background-image: url('https://static1.squarespace.com/static/5d8c929f2d89533d477b026f/t/5e60fc963720b572b5ccc364/1583414422430/OA+BUllet+Point.png');
}

this works brilliantly - except that the secondary nav (which doesn't require an image for the main site as it is a button) doesn't have an image on the mobile menu:

image.thumb.png.98d3b1a4bb957b34cbde4a96434b6668.png

I have tried to add it in using .mobile-overlay-nav-item to no avail! 

Password to the site is oneadvisory

Can anyone help please? Thank you in advance.

 

Link to comment

2 answers to this question

Recommended Posts

  • 0

Add to Home > Design > Custom CSS

.Mobile-overlay-nav-item[href="/get-in-touch"]:before {
    background-image: url(https://static1.squarespace.com/static/5d8c929f2d89533d477b026f/t/5e60fc963720b572b5ccc364/1583414422430/OA+BUllet+Point.png);
	content: '';
    height: 15px;
    width: 15px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 5px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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...