Jump to content

removing social block on mobile york template

Recommended Posts

I need the css for removing the social block from mobile site on a york template. on the desktop version, the block is in the top right corner under the nav.

I tried this but it didn't work..

[data-nc-base="header"] [data-nc-group="bottom"] {
    display: none;
}
@media screen and (min-width: 1024px) {
.ancillary-header-social-position-bottom-right.has-social [data-nc-base="header"] [data-nc-group="bottom"] {
    display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
}
}

image.thumb.png.d66e5a8895a6d36543d24489a15b174d.pnghttps://share.getcloudapp.com/z8unz1QB 

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hi @vsulzer26

The York template does not allow for Social Icons in the header natively. The photo you've posted is of a Brine family template, so Social Icons in the navigation will automatically be hidden on mobile view. If you'd like to set the mobile breakpoint higher so that mobile view kicks in on larger screens, you can do that in Design > Site Styles.

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.