Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Reduce the space before survey title

  • sarathka
  • sarathka's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago - 3 years 7 months ago #205287 by sarathka
Reduce the space before survey title was created by sarathka
Hello,

I don't have much experience with LimeSurvey and I am trying to customize a survey I created. I was able to modify most of the elements by editing css files. However I am unable to figure out where the space before survey title is defined (between navbar and title). I found the following using developer tools :

Code:
element.style {
    padding-top: 100px;
}

But I can't find where this is defined. I checked "layout_global.twig" and "nav_bar.twig", but couldn't find this element. Can someone guide me? I am using Bootswatch theme. Version 4.3.2+200629

Also please let us know how to reduce the height of navigation bar.

Appreciate any help on these two things.

Thank You,
Sarath
Last edit: 3 years 7 months ago by sarathka.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205300 by tpartner
Replied by tpartner on topic Reduce the space before survey title
I don't see that inline style. Can you provide a screenshot?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • sarathka
  • sarathka's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago - 3 years 7 months ago #205319 by sarathka
Replied by sarathka on topic Reduce the space before survey title
Hello tpartner,Thank you for your reply.

This is the spaces I want to reduce.



Here is what I found from developer tools. Hope this makes easier for you to understand my requirement.




Thank You,

Sarath
Last edit: 3 years 7 months ago by sarathka. Reason: To hide URLs
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205372 by DenisChenu
Replied by DenisChenu on topic Reduce the space before survey title

tpartner wrote: I don't see that inline style. Can you provide a screenshot?

Quick fix are bad fix in HTML

github.com/LimeSurvey/LimeSurvey/blob/ma...stom_header.twig#L19

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205399 by tpartner
Replied by tpartner on topic Reduce the space before survey title
Try this is your custom.css file:

Code:
body article .top-container {
    margin-top: 1em;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • sarathka
  • sarathka's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #205423 by sarathka
Replied by sarathka on topic Reduce the space before survey title

tpartner wrote: Try this is your custom.css file:

Code:
body article .top-container {
    margin-top: 1em;
}


Thank you Tony, it did the trick!! Saved my day.

Could you please tell me how to reduce the height of navigation bar?

Regards,
Sarath
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205477 by tpartner
Replied by tpartner on topic Reduce the space before survey title
Can you activate a sample survey and give a link here so we can see exactly what styles rules are affecting it?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose