Jump to content

Changing mobile menu navigation background and font color + products per row in shop

Recommended Posts

Site URL: http://wislinski.com

Hello,

I'm lost trying to change my menu background and font color (that shows when "Menu" button is clicked on mobile) it's tied to something I don't quite get to grasp yet and the colors are really "heavy" when I manage to change it, it also changes something on my site.

Also I would like to have rows with two items shown on mobile if that's possible.

Site is: Wislinski.com

password: 123456789

Help appreciated, thank you

Luka

Screenshot 2022-08-28 at 13.32.56.png

Link to comment
2 hours ago, Luksan7 said:

Site URL: http://wislinski.com

Hello,

I'm lost trying to change my menu background and font color (that shows when "Menu" button is clicked on mobile) it's tied to something I don't quite get to grasp yet and the colors are really "heavy" when I manage to change it, it also changes something on my site.

Also I would like to have rows with two items shown on mobile if that's possible.

Site is: Wislinski.com

password: 123456789

Help appreciated, thank you

Luka

Screenshot 2022-08-28 at 13.32.56.png

Try adding to Home > Design > Custom Css

#mobileNav .main-nav.mobile-nav a {
  color: #fff ;
}

Let me know how it works on your site

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.8ad8660a3cb6865eda03d0d121197f3f.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
  • 3 weeks later...
On 8/28/2022 at 4:32 PM, bangank36 said:

Try adding to Home > Design > Custom Css

#mobileNav .main-nav.mobile-nav a {
  color: #fff ;
}

Let me know how it works on your site

Yes, sorry for the long reply time, it works great, is there any way to change the background color with coding also? 

And the two products per row would be great to know.

Thank you again.

Link to comment
3 hours ago, Luksan7 said:

Yes, sorry for the long reply time, it works great, is there any way to change the background color with coding also? 

And the two products per row would be great to know.

Thank you again.

you can try the following Css code

@media only screen and (max-width: 800px){
  #mobileNav {
    background: #000;
  }
  #productList {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px
  }
  #productList .product-image img {
    width: 100% !important;
    height: 100% !important;
  }

 

Edited by bangank36

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
2 hours ago, bangank36 said:

you can try the following Css code

@media only screen and (max-width: 800px){
  #mobileNav {
    background: #000;
  }
  #productList {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px
  }
  #productList .product-image img {
    width: 100% !important;
    height: 100% !important;
  }

 

Thanks! The code was missing closing "}" before #mobileNav but it works after adding one, however it messes up my desktop shop layout a lot, is there any way to implement it only on mobile?

Regards

Link to comment
12 hours ago, Luksan7 said:

Thanks! The code was missing closing "}" before #mobileNav but it works after adding one, however it messes up my desktop shop layout a lot, is there any way to implement it only on mobile?

Regards

You can try changing the breakpoint into 767px

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

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.