Background images and more

More
4 years 3 weeks ago #96591 by johoward
johoward created the topic: Background images and more
Hey!

So I'm trying to sort out a theme for a survey. But I can't figure out for the life of me how to add a background image to the entire survey (not the part within the border). I've added codes in the template.css and also tried changing various background images within the code to see if this would work.

I also want to add images to the parts circled in the attachment. What selectors in the CSS do i need to add the elements to? If I can do it at all?


Thanks
Attachments:

Please Log in to join the conversation.

More
4 years 3 weeks ago #96593 by holch
holch replied the topic: Background images and more
I guess no one but the person that created this template (it is not one of the default templates shipped with LS) will be able to respond this question.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
4 years 3 weeks ago #96594 by johoward
johoward replied the topic: Background images and more
It is a default theme, I just changed the colours of it. But I can't add a background image for some reason. I worked out how to add images to the red bars I think (touch wood).

The theme is "default" that comes with limesurvey

Please Log in to join the conversation.

More
4 years 3 weeks ago #96599 by DenisChenu
DenisChenu replied the topic: Background images and more
Best is to use FireBug with firefox !

Look at template.css line 207
then for a background-iage add this to your template.css:
body.default{
background: transparent url(yourimage.png) repeat 0 0;
}
For example

For the part circeled : you have add the color, the same think for background-image.

Denis
PS: CSS tutorial

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 3 weeks ago #96646 by johoward
johoward replied the topic: Background images and more
Thanks, placing my code in the .default got the image to appear at least.

Please Log in to join the conversation.

More
4 years 3 weeks ago #96648 by johoward
johoward replied the topic: Background images and more
it appears, but only the top of it on the bottom of the screen, no matter what I do to move it up it wont.
Is there a work around for this?
Attachments:

Please Log in to join the conversation.

More
4 years 3 weeks ago #96658 by tpartner
tpartner replied the topic: Background images and more
Can you activate a test survey for us to see the source?

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
4 years 2 weeks ago #96668 by johoward
johoward replied the topic: Background images and more
The survey is only local at the moment. But I did manage to fix it by changing the positioning to absolute and then editing the inner and outer borders of the actual survey field. :)
Attachments:

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now