Remove space before the survey

Más
3 meses 4 días antes #184428 por 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!

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

LimeSurvey Partners
Más
3 meses 4 días antes #184429 por jelo
Respuesta de jelo sobre el tema 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
El siguiente usuario dijo gracias: DenisChenu, ubound

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 4 días antes #184431 por ubound
Respuesta de ubound sobre el tema Remove space before the survey
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!

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 4 días antes #184462 por jelo
Respuesta de jelo sobre el tema Remove space before the survey

ubound escribió: 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
El siguiente usuario dijo gracias: ubound

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 3 días antes #184472 por DenisChenu
Respuesta de DenisChenu sobre el tema Remove space before the survey

jelo escribió:

ubound escribió: 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 .
El siguiente usuario dijo gracias: ubound

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 3 días antes #184493 por ubound
Respuesta de ubound sobre el tema Remove space before the survey
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.
El siguiente usuario dijo gracias: DenisChenu

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

¡Comenzar ahora!

Simplemente cree una cuenta y comience a usar LimeSurvey hoy mismo.

Registrarse ahora
¡Únase a nuestro boletín informativo!

Iniciar sesión