Background image

Questions and bug reports for current release of CKForms

Background image

Postby sam » Mon Oct 19, 2009 8:58 am

can we put an image to the background of the form?
sam
 
Posts: 6
Joined: Wed Oct 07, 2009 10:03 am
Top

Re: Background image

Postby falso » Tue Jan 12, 2010 3:24 pm

I'm also interested in a solution.
I tried the following:

1. klick at the form, tab "Advanced" give the form a CSS class e.g. "test"
2. extend the CSS file
Code: Select all
.test{background-color:red; background:url(test.jpg) no-repeat;}


No changes in frontend :(

The source code in frontend:
Code: Select all
<form action="index.php?option=com_ckforms&view=ckforms&task=send&id=2" method="post" id="ckform" class="form-validate ckform test"enctype="multipart/form-data">


Is it possible to influence the design of a certain form?

Thx in advance.
falso
 
Posts: 3
Joined: Tue Jan 12, 2010 3:19 pm
Top

Re: Background image

Postby falso » Tue Jan 12, 2010 4:21 pm

It works with the correct CSS code ;)

Code: Select all
.test{background-image:url(http://www.yourdomain.com/test.jpg); background-repeat:no-repeat; background-position:0px 0px;}


Don't forget to assign the CSS class to your form.
falso
 
Posts: 3
Joined: Tue Jan 12, 2010 3:19 pm
Top


Return to CKForms 1.3.x Support forum

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest