CMS Development

simon2
Mitwirkender/Mitwirkende

Help Needed for a Fixed Form

lösung

I'm playing around with trying to get a 'fixed form' - one that stays in place when scrolling.

 

See a test page here:

https://www.ldf.co.uk/test/sticky-form 

 

I have got the form fixed ok - but after fixing it the form moves to the left of the screen instead of staying to the right of the Rich Text module. 

 

Does anyone have any ideas what I'm doing wrong?

0 Upvotes
1 Akzeptierte Lösung
TRooInbound
Lösung
Autorität

Help Needed for a Fixed Form

lösung

Hi @simon2,

 

position fixed cannot control by another property it's like a free bird.

 

just add to your CSS 

.hero-form {
    right:0;
}

let know if not working

 

Did my post help answer your query? Help the Community by marking it as a solution.

 

Team TRooInbound

Lösung in ursprünglichem Beitrag anzeigen

3 Antworten
TRooInbound
Lösung
Autorität

Help Needed for a Fixed Form

lösung

Hi @simon2,

 

position fixed cannot control by another property it's like a free bird.

 

just add to your CSS 

.hero-form {
    right:0;
}

let know if not working

 

Did my post help answer your query? Help the Community by marking it as a solution.

 

Team TRooInbound

simon2
Mitwirkender/Mitwirkende

Help Needed for a Fixed Form

lösung

Worked a treat, thank you!

TRooInbound
Autorität

Help Needed for a Fixed Form

lösung

Hi @simon2,

 

Cool Herz Chears!

 

Want more solutions like this?

Please visit us at www.trooinbound.com or mail us at hello@trooinbound.com

0 Upvotes