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

Can I get a social link to appear on mobile only?

Question

Posted (edited)

Site URL: https://www.eatdoshi.com/

Hello! I chose to have a social icon appear on the top navigation in my Brine site. However, it does not appear on mobile. Squarespace support has informed me that there is no official way to get it to appear on the mobile nav. If that is the case, I would like one of the following options:

1. For the social link icon to appear in the mobile menu also

2. For the social link to appear in the footer on mobile only. (Right now it is in the header and footer on desktop, which is not ideal.) Is there a way to create content that appears on the mobile site only?

Thank you!

Edited by squashco

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

Hi,
There is almost nothing that you say it can't be done!

Use this code in Design -> Custom CSS

@media screen and (max-width: 640px){
.Header--top,[data-nc-base="header"] [data-nc-group="top"] {
    display: block;
    padding: 0;
}
.enable-load-effects .Site.loaded .Header [data-nc-container="top-left"],[data-nc-base="header"] [data-nc-container="top-right"] [data-nc-element="primary-nav"],[data-nc-base="header"] [data-nc-container="top-right"] [data-nc-element="secondary-nav"]{
    display: none;
}

[data-nc-base="header"] [data-nc-container="top-right"] [data-nc-element="social"] {
    position: absolute;
    top: 24px;
    right: 70px;
}
}

Please use the like button if it helps you!

Best,
Leopold


Ninja Kit Extension: Upgrade your Squarespace website without coding.

YouTube Preview    -    FREE DOWNLOAD

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