Help Needed for a Fixed Form

SOLVE
Regular Contributor

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?

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Regular Advisor

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

3 Replies 3
Regular Advisor

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

Highlighted
Regular Contributor

Worked a treat, thank you!

Regular Advisor

Hi @simon2,

 

Cool Heart Chears!

 

Want more solutions like this?

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

Reply
0 Upvotes