Remove space before the survey

More
2 months 1 week ago #184428 by ubound
I am planning to embed my survey into existing website so I removed Lime logo but I am left with a huge space at the top. I checked what causes it and it's this line that can be seen right in the source code of the survey page:
<body style="padding-top: 90px;" class=" vanilla font-noto lang-en  "  >


I know that if I modify this, the problem will be solved but I can't figure out how. It is not a .css file, it is probably generated by PHP scripts somehow and I can't find what generates it (also don't really understand PHP).

Here is a link to a test survey where the space can be seen:

https://bit.ly/2YvszIs

Thanks in advance!

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
2 months 1 week ago #184429 by jelo
Replied by jelo on topic Remove space before the survey
You should mention the LimeSurvey version you use.

The section you mention can be found in the theme template "layout_global.twig".
These files are available via the theme editor. Create a copy of your favourite theme and access "layout_global.twig" via e.g. Welcomepage to edit it.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu, ubound

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #184431 by ubound
Thank you!!! I went ahead and edited it right in my cPanel as it's more clear to me this way. I would never, never, NEVER find it on my own. This worked great!

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #184462 by jelo
Replied by jelo on topic Remove space before the survey

ubound wrote: I went ahead and edited it right in my cPanel as it's more clear to me this way.

You should change that value not via the filemanager of cPanel.

The theme concept of LimeSurvey is a bit more complex. To ensure that your modifications survive in the longrun, use the theme editor inside LimeSurvey.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: ubound

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #184472 by DenisChenu

jelo wrote:

ubound wrote: I went ahead and edited it right in my cPanel as it's more clear to me this way.

You should change that value not via the filemanager of cPanel.

Yes (and no ;) )

If you work on a copy of template : you can copy this file from vanilla to your template manually in your template directiry (in upload/themes/survet/mytemplate).
It's more easy via GUI system.

But since the file is in upload/ directory : it's OK to edit it.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: ubound

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #184493 by ubound
Thank you everyone! I know what you are saying. I need to spend some more time to figure out how to use the theme editor. I am a self-taught webmaster. I run a somewhat popular website where I write, draw and solve technical issues myself, so some things are a little over my head. But I will definitely keep this in mind.
The following user(s) said Thank You: DenisChenu

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!