- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Reduce the space before survey title
- sarathka
- Topic Author
- Offline
- New Member
Less
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 :
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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
3 years 7 months ago #205300
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
3 years 7 months ago - 3 years 7 months ago #205319
by sarathka
Replied by sarathka on topic Reduce the space before survey title
Last edit: 3 years 7 months ago by sarathka. Reason: To hide URLs
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
3 years 7 months ago #205372
by DenisChenu
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.
Replied by DenisChenu on topic Reduce the space before survey title
Quick fix are bad fix in HTMLtpartner wrote: I don't see that inline style. Can you provide a screenshot?
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
3 years 7 months ago #205399
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
3 years 7 months ago #205423
by sarathka
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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
3 years 7 months ago #205477
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
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.