Jump to content

fixed button in the lower right corner

Recommended Posts

Site URL: https://flamingo-comunicacion.squarespace.com

Password to view site: flamingo1234

Hello everyone,

On September 2018 I was developing a website and needed

Hello everyone,

On September 2018 I was developing a website and needed to add a fixed button in the lower right corner, so I asked this same question. But the item doesn´t exist anymore and Now I don´t now what I`m doing wrong.

So, DMK was very kind and posted these answer:

If you have a Code Block in the footer and give it an ID, this should give you something similar:

 #yourIdHere {

     position: fixed;

     bottom: 11px;

     right: 11px;

     z-index: 20000;

     background-color: #222;

     border-radius: 30px;

     height: 52px;

     white-space: nowrap;

     text-align: left !important;

     border-radius: 0px;

     height: 70px;

 }

 

So, I make a code block at the footer and give it an ID just like these:

<div id="idiomas">

  </div>

And then went to:

SETTINGS-ADVANCED-CODE INYECTION-FOOTER

 

And put in the footer code section these:

#idiomas {

     position: fixed;

     bottom: 11px;

     right: 11px;

     z-index: 20000;

     background-color: #222;

     border-radius: 30px;

     height: 52px;

     white-space: nowrap;

     text-align: left !important;

     border-radius: 0px;

     height: 70px;

 }

 

The result is that the code appears in the footer, and there is no button fixed. I am sure I am making something wrong.

Does someone can help me please?

I actually need to put to button for linking to the languages. Does someone now what is the correct code?

Thank you all so much

 

 

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Remove code in Footer Code Injection, move this code to Code Injection Header

<style>
  #idiomas {
     position: fixed;
     bottom: 11px;
     right: 11px;
     z-index: 20000;
     background-color: #222;
     border-radius: 30px;
     height: 52px;
     white-space: nowrap;
     text-align: left !important;
     border-radius: 0px;
     height: 70px;
 }
</style>

 

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.