Jump to content

have a floating button but cannot find the code :) + button on index page - york template

Recommended Posts

Hi, all 🙂

 

I have, with the help of this great forum, made a floating vertical button on all my pages. I want to change the text on this, but somehow. I cannot find the code for this. In custom CSS I have code for this:

 

.kl-float {
   position: fixed;
   opacity: .9;
   top: calc(30%);
   right: 0;
   z-index: 20000;
   background-color: #0000c8;
   white-space: nowrap;
   text-align: center !important;
   border-radius: 0px;
   height: 28px;
   font-family: arial;
   font-weight: bold;
   font-size: 14px;
   padding-top: 10px;
   padding-right: 20px;
   padding-bottom: 10px;
   padding-left: 20px;
   -moz-transform: rotate(-90deg);
   -ms-transform: rotate(-90deg);
   -o-transform: rotate(-90deg);
   -webkit-transform: rotate(-90deg);
   transform-origin: bottom right;
}

But in the footer code, there is nothing to find concerning this .kl-float. I am lost now! 

 

Furthermore. I would like a button on my index page under the header text. But this is not possible without some code too I guess?

Ideas anyone? Thanks.

Link to comment
  • Replies 14
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

14 minutes ago, arie said:

Hi, all 🙂

 

I have, with the help of this great forum, made a floating vertical button on all my pages. I want to change the text on this, but somehow. I cannot find the code for this. In custom CSS I have code for this:

 

.kl-float {
   position: fixed;
   opacity: .9;
   top: calc(30%);
   right: 0;
   z-index: 20000;
   background-color: #0000c8;
   white-space: nowrap;
   text-align: center !important;
   border-radius: 0px;
   height: 28px;
   font-family: arial;
   font-weight: bold;
   font-size: 14px;
   padding-top: 10px;
   padding-right: 20px;
   padding-bottom: 10px;
   padding-left: 20px;
   -moz-transform: rotate(-90deg);
   -ms-transform: rotate(-90deg);
   -o-transform: rotate(-90deg);
   -webkit-transform: rotate(-90deg);
   transform-origin: bottom right;
}

But in the footer code, there is nothing to find concerning this .kl-float. I am lost now! 

 

Furthermore. I would like a button on my index page under the header text. But this is not possible without some code too I guess?

Ideas anyone? Thanks.

Remove the code. Before removing the code, save it somewhere. After then change the text and add the code again. 

Edited by Web_Solutions

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment

The code is in Code Block in Footer

Check your Footer & edit Code Block

image.png.b4d1fed1ab778ebb86168e59cfe9f8a9.png

If you can't find it, you can access this link, it will disable all code in Edit Mode, so you can find Code Block easier

https://www.gewoonarie.nl/config/safe

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Ah, found it in the footer. It was a block indeed, while I was looking in the Website-tools - Custom css. Thank you @tuanphan

Any ideas for my other question? 

Quote

Furthermore. I would like a button on my index page under the header text. But this is not possible without some code too I guess?

Thank you!

Edited by arie
Link to comment
On 1/29/2024 at 2:45 PM, arie said:

Ah, found it in the footer. It was a block indeed, while I was looking in the Website-tools - Custom css. Thank you @tuanphan

Any ideas for my other question? 

Thank you!

Under Header text - What do you mean?

You mean move float button on right of site to between navigation header - top section text?

image.thumb.png.2de6b1aa3153537ff4acc1cdc01cabbd.png

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

Contact Customer Care - Learn CSS - Buy me a coffee (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.