squashco Posted August 27, 2020 Share Posted August 27, 2020 (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 August 27, 2020 by squashco Link to comment
Solution IXStudio Posted August 27, 2020 Solution Share Posted August 27, 2020 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 squashco and tuanphan 1 1 Ninja Kit Extension: Upgrade your Squarespace website without coding.YouTube Preview - FREE DOWNLOAD Link to comment
squashco Posted August 28, 2020 Author Share Posted August 28, 2020 Thank you, Leopold! That worked perfectly! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment