Welcome to the LimeSurvey Community Forum

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

How to center or customize the 'Submit' button in a one-page survey

More
2 days 6 hours ago #271438 by alpaalpa
Please help us help you and fill where relevant:
LimeSurvey version: Community Edition Version 6.15.5+250724 
Own server or LimeSurvey Cloud: Own Server
Survey theme/template: fruity/ls_lens
==================
My apology that this question has been asked several times, but for much older version of the survey.

I have a 1-page survey.  I want to know how to center the submit button, as well as to remove the 'Previous' button.  Previous responses involve modifying the 'navigator.twig' file.  In my version of the software, navigator.twig is referenced in the Question -> main.twig.  However, when I extend a theme, I do not see the file 'navigator.twig' being copied in the extended theme.

What's the proper way to edit the 'navigator.twig' file?  It's not exposed in the GUI.

Perhaps someone has a complete solution for centering the 'Submit' button (and changing the text) for 6.x version of LS?

Thanks.
 

Please Log in to join the conversation.

More
2 days 4 hours ago #271439 by Joffm
This "navigator.twig" is on the "navigation" page


Change this line
  <div class="{{ aSurveyInfo.class.navigatorbuttonr }} col-6 text-end">
to
  <div class="{{ aSurveyInfo.class.navigatorbuttonr }} col-12 text-center">

The "previous" button is hidden by default in a "all on one page" survey.
 

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: alpaalpa

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose