Check out the LimeSurvey source code on GitHub!

How to change the "Next" button?

More
4 years 3 weeks ago - 4 years 3 weeks ago #91995 by Serafim
Hello once again.

This is probably a css problem but I can't find where to change it. The "Next" button in my language for some reason as the word in one line and in the second line it shows the ">", like this:

In English: "Next >"

In Portuguese: "Seguinte
______________>"

This is proably because of the size of the button, but I can't find it in the .css file.
Last Edit: 4 years 3 weeks ago by Serafim.

Please Log in to join the conversation.

More
4 years 3 weeks ago #91999 by vipgroup
Dear colleagues!
I have the same problem, but in Latvian. I tried to find a solution in .css file, but unsuccessfully. Please, give me the benefit of your experience.
BR, Andrew

Please Log in to join the conversation.

More
4 years 3 weeks ago #92000 by Serafim
If I could find where it is, at least could delete the ">", and probably would work, but I can't find it.

Please Log in to join the conversation.

More
4 years 3 weeks ago #92009 by adishardis
If you download the translation tool you can change the button text.

This link describes the steps, it's pretty straightforward!

( docs.limesurvey.org/Translating+LimeSurvey ).

Cheers
Adam

Please Log in to join the conversation.

More
4 years 3 weeks ago #92012 by Serafim
Hi there, the problem is not the translation, the problem is that the button doesn't change the size. It's made for the word "Next >", but when the word is bigger than 4 letters the symbol ">" goes to the other line. The box of the button doesn't change his width, only his height.

Please Log in to join the conversation.

More
4 years 3 weeks ago #92014 by adishardis
Ok, I changed the buttons by editing the template.css

I inserted this in the beginning of the css and you can adjust the visuals and adding width:

#moveprevbtn {
color: #414141;
border: 3px solid #92d050;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
background-color: WHITE;
padding: 0.3125em 1em;
cursor: pointer;
white-space: nowrap;
overflow: visible;
font-size: 1em;
font-weight: bold;
outline: 0 none /* removes focus outline in IE */;
margin: 0px;
line-height: 1.6em;

}
#moveprevbtn:hover {
color: #414141;
border: 3px solid #90da42;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
background-color: #fcfcfc;
padding: 0.3125em 1em;
cursor: pointer;
white-space: nowrap;
overflow: visible;
font-size: 1em;
font-weight: bold;
outline: 0 none /* removes focus outline in IE */;
margin: 0px;
line-height: 1.6em;

}

Please Log in to join the conversation.

More
4 years 3 weeks ago #92018 by DenisChenu

Serafim wrote: Hi there, the problem is not the translation, the problem is that the button doesn't change the size. It's made for the word "Next >", but when the word is bigger than 4 letters the symbol ">" goes to the other line. The box of the button doesn't change his width, only his height.

What is your version ?

Think in the last version, we don't have >. And you can replace the included function for button look:
function navbuttonsJqueryUi(){
    // Just deactivate default jquery-ui button
}
in template.js

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 3 weeks ago #92020 by Serafim
I'm probably doing something wrong because it doesn't change anything. Do I insert the code in a specific place i the .css file?

Please Log in to join the conversation.

More
4 years 3 weeks ago #92021 by adishardis
Oh, I posted the wrong code :-/

Find this in the template css and change it as you like:

button.ui-state-default

Please Log in to join the conversation.

More
4 years 3 weeks ago #92029 by Serafim
Nice, thanks.

By the way just found another solution, checking the other template models, I saw that the buttons are different, so I can choose the one that I like the buttons, copy my old .css file and paste it to the new model with the different buttons, and there it is, old template with new buttons.

Please Log in to join the conversation.

More
1 year 8 months ago #121418 by flink
I am having the same trouble with my copy of the "limespired" theme in German. In the CSS file, I tried modifying the following part:

.submit {
background-color: #d9dadb;
border: 1px solid #86b8bc;
}

but no matter what I do, the small triangle will always appear in a new line within the button. Does anyone know how to solve this? I am using Version 2.05+ Build 140915.

Thank you very much!

Please Log in to join the conversation.

More
1 year 8 months ago #121445 by Mazi
1. Did you update your Limesurvey version recently?

2. Please upload a link to an activated sample survey for testing.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
1 year 8 months ago #121452 by flink

Mazi wrote: 1. Did you update your Limesurvey version recently?

No, I didn't.

Mazi wrote: 2. Please upload a link to an activated sample survey for testing.

You can see it right on the welcome screen. --> arbeitszufriedenheit.net/limesurvey/index.php/215916/lang-de

Please Log in to join the conversation.

More
1 year 8 months ago #121455 by Mazi
Try adding this to your template.css file:
.ui-button-icon-secondary
{
display: none;
}


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
1 year 8 months ago #121457 by flink
It works, but only for the "next" button. The "< previous" button is still double spaced.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form