Jump to content

Adding "Home" navigation to mobile-only menu

Recommended Posts

  • 1 year later...
On 6/5/2021 at 6:46 PM, wearequbit said:

Hi @tuanphan , does the CSS code apply to a version <7.1? 

(I'm having no joy with it on 7.1) 🤔

Add to Design > Custom CSS

/* Remove nav first item on desktop only */
.header-nav-item:first-child {
	display: none;
}

 

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
  • 1 month later...
On 8/13/2021 at 12:35 AM, wearequbit said:

For anyone scratching their head about this, it stopped working for me and I'm not sure why.

This did the trick though:

/* Remove nav first item on desktop only */
@media screen and (min-width:641px) {
.header-nav-item:nth-child(2) {
  display: none;
  }
}

 

 

 

Do you still need help?

What is your site url?

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
  • 3 months later...

Hi all, I'm trying to achieve the same thing this thread discusses: to show a "home" page listing on my mobile navigation, but to not have it appear on my Desktop main navigation.

My site name is www.timmms.net. 

I first added the above code suggested by @Tuanphan, which did not work. 

Then I added the code later suggested by @wearecubit, which also did not work. 

Can anyone help me? 

I'm also desperately trying to find a way to include my Site Logo on my site header for mobile, but I cannot figure out how to keep it visible. 

Help!!!

Link to comment
On 11/26/2021 at 1:51 PM, Dratz said:

Hi all, I'm trying to achieve the same thing this thread discusses: to show a "home" page listing on my mobile navigation, but to not have it appear on my Desktop main navigation.

My site name is www.timmms.net. 

I first added the above code suggested by @Tuanphan, which did not work. 

Then I added the code later suggested by @wearecubit, which also did not work. 

Can anyone help me? 

I'm also desperately trying to find a way to include my Site Logo on my site header for mobile, but I cannot figure out how to keep it visible. 

Help!!!

It looks like you figured it out with this CSS

#mainNavWrapper div.homepage {
    display: none !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

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.