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
  • Views 375
  • 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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates)

If you find my answer useful, 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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates)

If you find my answer useful, 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.