Jump to content

Add a semi-transparent "rectangle" with coding

Recommended Posts

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

Pass: cagliari

Hey everyone! I'm working on this website. Right not it look like this (pc.1) but especially in the mobile version it's kinda impossible to make the dark toogle and the clock visible. For this reason I'd like to add a fixed semi-transparent bar at the bottom (pic.2) "just in the mobile version". Could someone help me with that? Thanks everyone! 

Screenshot 2022-03-24 at 19.15.32.png

Yay.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 3/25/2022 at 1:21 AM, Cardamomo1991 said:

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

Pass: cagliari

Hey everyone! I'm working on this website. Right not it look like this (pc.1) but especially in the mobile version it's kinda impossible to make the dark toogle and the clock visible. For this reason I'd like to add a fixed semi-transparent bar at the bottom (pic.2) "just in the mobile version". Could someone help me with that? Thanks everyone! 

Screenshot 2022-03-24 at 19.15.32.png

Yay.png

Try adding to Home > Design > Custom Css

.dark-mode-toggle {
  width: 100%;
  bottom: 0;
  padding: 5px;
  left: 0;
}

.dark-mode .dark-mode-toggle {
  background: rgb(48,48,48,0.5);
}

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.thumb.png.592ee6a2a847fd7739b0c786f9be693c.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

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.