Separate 2 CSS Forms on 1 Landing page | Community
Skip to main content
April 11, 2014
Question

Separate 2 CSS Forms on 1 Landing page

  • April 11, 2014
  • 3 replies
  • 1113 views
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
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

November 4, 2014
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
December 11, 2014
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
December 11, 2014
My webteam managed to work it out.