- Posts: 146
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How to make two minor change to the tempate ubuntu orange in limesurve 2.73.1
- mrli999
- Topic Author
- Offline
- Premium Member
Less
More
4 years 4 weeks ago - 4 years 4 weeks ago #195895
by mrli999
How to make two minor change to the tempate ubuntu orange in limesurve 2.73.1 was created by mrli999
Hello,
I am now using tempate ubuntu orange in limesurvey 2.73.1
I would like to make two minor change to the template's banner
1. Align the surveyname - TestSurvey center.
2. Add a new text click after 'Exit and Clear Survey'. That is there should have three text clicks: Resume Later, Exit and Clear Survey, the new click.
Thanks.
By the way, which template in limesurvey 4 is most close to ubuntu organge template in limesurvey 2.73?
I am now using tempate ubuntu orange in limesurvey 2.73.1
I would like to make two minor change to the template's banner
1. Align the surveyname - TestSurvey center.
2. Add a new text click after 'Exit and Clear Survey'. That is there should have three text clicks: Resume Later, Exit and Clear Survey, the new click.
Thanks.
By the way, which template in limesurvey 4 is most close to ubuntu organge template in limesurvey 2.73?
Last edit: 4 years 4 weeks ago by mrli999.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
4 years 4 weeks ago - 4 years 4 weeks ago #195903
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 How to make two minor change to the tempate ubuntu orange in limesurve 2.73.1
1) There may not be room for the survey title in the center if you add a link to the menu.
2) Add something like this to the end of template.js:
2) Add something like this to the end of template.js:
Code:
$(document).ready(function(){ $('.navbar-right').append('<li><a href="http://pathToMyLink/">Custom link</a></li>'); });
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 4 years 4 weeks ago by tpartner.
The topic has been locked.
- mrli999
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 146
- Thank you received: 2
4 years 4 weeks ago #195936
by mrli999
I copied <li><a href="http://pathToMyLink/">Custom link to the navigator.pstpl, it works now. Thanks.
However, another question:
In the image your provided, the "Exit and Clear Survey" and "Custom link" align right. But in my survey, they don't align right, there seems many blank in the right. How to align them right?
Replied by mrli999 on topic How to make two minor change to the tempate ubuntu orange in limesurve 2.73.1
tpartner wrote: 1) There may not be room for the survey title in the center if you add a link to the menu.
2) Add something like this to the end of template.js:
Code:$(document).ready(function(){ $('.navbar-right').append('<li><a href="http://pathToMyLink/">Custom link</a></li>'); });
I copied <li><a href="http://pathToMyLink/">Custom link to the navigator.pstpl, it works now. Thanks.
However, another question:
In the image your provided, the "Exit and Clear Survey" and "Custom link" align right. But in my survey, they don't align right, there seems many blank in the right. How to align them right?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
4 years 4 weeks ago #195942
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 How to make two minor change to the tempate ubuntu orange in limesurve 2.73.1
I have no clue without seeing a live example.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: mrli999
The topic has been locked.