Jump to content

Social Icons on Mobile Site

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Hey dear Community,

I have a problem regarding my mobile site header which I cannot fix without coding but I have no clue how to write the proper code for this:

 

I want my Mobile Site Header to also show the social icons.

 

I found a code for just this but then the three bars at the top right (see image) disappear and I want them to also be visible on my mobile site header.

I want the three horizontal bars at the top right, the page name in the middle (just as it is right nowScreenshot2023-12-21111211.png.077a776d1faa7ad20430da3a7b21817b.png) and then my four social icons at the top left (there should be enough space there).

 

And then I also have to change the image of one of my mobile site icons because this is an external social link.

 

Thank you very much for potential help and merry christmas,

Philip

Posted

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted

Hey Ziggy - that was exactly the code I used but then the three bars at the top right disappeared.Screenshot2023-12-21204208.png.d51537974549880669a31f6f17af9b37.png If I can get them back I will be more than happy 😉

 

(And maybe scale the social icons smaller)

Posted
On 12/22/2023 at 2:44 AM, Philip_BT said:

Hey Ziggy - that was exactly the code I used but then the three bars at the top right disappeared.Screenshot2023-12-21204208.png.d51537974549880669a31f6f17af9b37.png If I can get them back I will be more than happy 😉

 

(And maybe scale the social icons smaller)

If you share site url, we can check easier

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!)

Posted
On 12/27/2023 at 2:32 AM, Philip_BT said:

Hey tuanphan,

Sorry for the late reply:

 

https://www.basictrading.net

 

(Mobile Site is important)

 

Header should be like this:

 

Social Icons - BasicTrading - Menu Bars

 

And I want to change the third social icon image.

 

Thank you so much in advance!

I see you solved desktop icon. With mobile, use this CSS code

header#header .icon[href*="tradingview.com"] {
        background-image:url(https://static1.squarespace.com/static/653e7a7496d8293cdfb19c1c/t/654a7e6b6e2a952e27e2679e/1699380844022/B.T._Insta-removebg-preview.png);
        background-size: 100%;
        background-repeat: no-repeat;
    }

header#header .icon[href*="tradingview.com"] svg {
        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!)

Posted

Hey tuanphan,

This helped me a lot already, thanks.

 

The only thing I need now is the three menu bars at the top right and smaller social icons so I can open my menu (only for mobile site).

Check this image (I drew in the three menu bars where they should be).

(Social Icons smaller please and add the menu at the top right - ONLY on mobile site please)

Thumbnail(18).thumb.png.15376b2c4892b42e357d606f004b9637.png

  • Solution
Posted
On 1/3/2024 at 1:33 AM, Philip_BT said:

Hey tuanphan,

This helped me a lot already, thanks.

 

The only thing I need now is the three menu bars at the top right and smaller social icons so I can open my menu (only for mobile site).

Check this image (I drew in the three menu bars where they should be).

(Social Icons smaller please and add the menu at the top right - ONLY on mobile site please)

Thumbnail(18).thumb.png.15376b2c4892b42e357d606f004b9637.png

Add to Custom CSS

.header-burger.menu-overlay-has-visible-non-navigation-items {
    display: flex !important;
    position: relative;
    left: -10vw;
}
.header-menu-actions.social-accounts {
    display: none;
}

image.thumb.png.330c185a38db11bddda846300945531d.png

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!)

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.