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

Hide Nav Items on desktop only (or Show on Mobile Only)

Question

Site URL: https://pletttruckrepair.ca/

I would like to have 2 phone numbers linked in the main navigation menu only on mobile, not on desktop. I would like desktop navigation menu to remain exactly as it is. Most answers for this type of thing are using collection id, but from what I understand that only works with pages not with external links (phone numbers in this case). 

SS 7.0 Bedford theme

Any help would be much appreciated. 

@tuanphan (looks like you have provided solutions to very similar questions)

Share this post


Link to post

7 answers to this question

Recommended Posts

  • 0
Posted (edited)
47 minutes ago, tuanphan said:

You can add 2 phones to Navigation, I can give code to hide them on desktop.

Yes that is exactly what I want to do. Please.

"i would like desktop navigation menu to remain exactly as it is" - just meaning on the desktop version I want to keep it as it currently is on desktop (only change the mobile menu). I don't want to force desktop menu on mobile.

Edited by truckingitup
clarification

Share this post


Link to post
  • 0
9 hours ago, truckingitup said:

Yes that is exactly what I want to do. Please.

"i would like desktop navigation menu to remain exactly as it is" - just meaning on the desktop version I want to keep it as it currently is on desktop (only change the mobile menu). I don't want to force desktop menu on mobile.

Yes that is exactly what I want to do. Please.

Please add phones first. I can't check phones code..

"i would like desktop navigation menu to remain exactly as it is" - just meaning on the desktop version I want to keep it as it currently is on desktop (only change the mobile menu). I don't want to force desktop menu on mobile.

Can you clarify more? I still don't get your point.


You can send your question to my email to get faster answer.

How to Setup Password & Share URL  Armadillo - Free portfolio template

Share this post


Link to post
  • 0
On 4/1/2020 at 1:53 AM, tuanphan said:

Yes that is exactly what I want to do. Please.

Please add phones first. I can't check phones code..

"i would like desktop navigation menu to remain exactly as it is" - just meaning on the desktop version I want to keep it as it currently is on desktop (only change the mobile menu). I don't want to force desktop menu on mobile.

Can you clarify more? I still don't get your point.

Okay just put the phones up and now the desktop nav looks awful. Hope you can get back to me quickly...

 

All i mean is i dont want the solution to impact the look of the desktop nav. 

Share this post


Link to post
  • 0
16 hours ago, tuanphan said:

Add to Home > Design > Custom CSS


@media screen and (min-width:641px) {
.external {
    display: none !important;
}
}

 

This is great, but now my desktop button that used to be on "Contact" is gone and is highlighting one of the phone numbers on mobile. 

Ideally, the solution would allow me to keep the nav button on the desktop version and allow me to have the two phone numbers as nav buttons on mobile too. (which I know makes it a bit complicated and an addition to my original question. I looked at other forum questions but none of the code worked for me, even after playing with it a little... being inexperienced in code didn't help. Thinking its an n-th solution similar to this (https://forum.squarespace.com/topic/80979-how-to-add-a-call-to-action-button-in-main-navigation-hyde-template/#comment-336343) but it wouldn't work for me... a little more help please?

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...