Jump to content

CSS not responsive/ How do I hide the '+' navigation button on mobile

Recommended Posts

On 2/17/2022 at 10:24 AM, sksk111 said:

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

My social links are appearing as a menu button in the mobile version. I'd either just like to show the twitter logo as a button or hide it all together. As there's no point just having a whole menu for one single social icon. 

I tried using CSS but its not responsive at all. 

 

What do I do here? 

Screenshot 2022-02-17 at 03.22.28.png

Screenshot 2022-02-17 at 03.22.23.png

You can try adding to Home > Design > Custom Css

/*Hide navigator on mobile*/
@media only screen and (max-width: 767px) {
  .header-actions--right,.header-actions-action--social {
    display: block !important;
  }
  .header-burger {
    display: none;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Edited by bangank36
Update only for mobile

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.png.af44628c888722972ebfd9c9b3edde61.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
18 hours ago, bangank36 said:

You can try adding to Home > Design > Custom Css

/*Hide navigator*/
.header-actions--right,.header-actions-action--social {
  display: block !important;
}
.header-burger {
  display: none;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Thank you! this worked.

 

Weirdly when I was trying even simple CSS code to change text colour or even font size or positioning, it wasn't working. But this did 🙂 

Link to comment
34 minutes ago, sksk111 said:

Thank you! this worked.

 

Weirdly when I was trying even simple CSS code to change text colour or even font size or positioning, it wasn't working. But this did 🙂 

Do you need any further help?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 2/17/2022 at 11:24 PM, bangank36 said:

Do you need any further help?

If you are still available, I do need help with adding a social logo to my discord link. I've managed to do it in my header but can't get it to work in the footer. 

 

Also the alignment of the logo is messed up. for some reason they are not side by side (isn't this supposed to be the default?) 

 

 

Footer:1140839626_Screenshot2022-02-22at14_20_37.thumb.png.7bc61f621a287637571b3948ecc1d276.png

 

Header:2055463116_Screenshot2022-02-22at14_20_18.png.5d789b55cb651a5ab483e4a63f169ae2.png

 

Just to add: 

 

this is the CSS code I have used so far for the logo: 

//Discord logo
  .icon--fill:nth-of-type(2) {
    svg {
      display:none;
    }    
    background-image: url(https://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.png);    
    background-size: 100%;    
    background-repeat: no-repeat;  
  } 
  
.header-menu-actions-action:nth-of-type(2) {    
  svg { 
    display:none;    
  }    
  background-image: url(discohttps://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.pnghttps://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.pnghttps://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.pnghttps://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.pnghttps://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.pnghttps://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.pnghttps://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.pngrd.png);    
  background-size: 100%;    
  background-repeat: no-repeat;  
}

Edited by sksk111
adding code
Link to comment
On 2/22/2022 at 9:21 PM, sksk111 said:

If you are still available, I do need help with adding a social logo to my discord link. I've managed to do it in my header but can't get it to work in the footer. 

 

Also the alignment of the logo is messed up. for some reason they are not side by side (isn't this supposed to be the default?) 

 

 

Footer:1140839626_Screenshot2022-02-22at14_20_37.thumb.png.7bc61f621a287637571b3948ecc1d276.png

 

Header:2055463116_Screenshot2022-02-22at14_20_18.png.5d789b55cb651a5ab483e4a63f169ae2.png

 

Just to add: 

 

this is the CSS code I have used so far for the logo: 

//Discord logo
  .icon--fill:nth-of-type(2) {
    svg {
      display:none;
    }    
    background-image: url(https://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.png);    
    background-size: 100%;    
    background-repeat: no-repeat;  
  } 
  
.header-menu-actions-action:nth-of-type(2) {    
  svg { 
    display:none;    
  }    
  background-image: url(discohttps://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.pnghttps://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.pnghttps://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.pnghttps://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.pnghttps://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.pnghttps://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.pnghttps://static1.squarespace.com/static/620d1b923f98bd3b17c4e5e4/t/6214e9d1557793739d0354cc/1645537745675/discord.pngrd.png);    
  background-size: 100%;    
  background-repeat: no-repeat;  
}

It looks like you solved this?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.