Separate 2 CSS Forms on 1 Landing page

Anonymous
Not applicable

Separate 2 CSS Forms on 1 Landing page

Hi 

I have 2  forms 2.0 in 1 landing page. One lightbox redirecting to another LP. The other classic, here  be filled out.

I edited the CSS of the lightbox one to put a background color. But it also added the background color to the classic form.

How can I keep my background color only on the lightbox form ?

thanks
Tags (1)
3 REPLIES 3
Anonymous
Not applicable

Re: Separate 2 CSS Forms on 1 Landing page

I am guessing you CSS is targeting a class. Try placing your form inside a div with an ID and then target the form by the ID of the parent div. 
Edward_Masson
Level 10

Re: Separate 2 CSS Forms on 1 Landing page

can you have 2 lightbox forms on the same webpage? I have Contact us and a Try Now forms on one webpage. Both are lightbox forms. They are in a div, but depending on what button you click first, that same form displays when you click on the other. Eg. click on Contact us, exit then click on Try Now but Contact us form will display again.

not sure if its a CSS conflict. Here is the page
Edward_Masson
Level 10

Re: Separate 2 CSS Forms on 1 Landing page

My webteam managed to work it out.