Welcome to the LimeSurvey Community Forum

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

Align bootstrap buttons to the center

More
4 years 11 months ago #206548 by mpi0920
Hi everybody!

I just wondered whether there is a way to align the bootstrap buttons in the center of the page within the source code of the question? I tried:

<style type="text/css">

#question{QID} radio-list {align:center;}

</style>


what didn't work. Maybe someone has some suggestions? Thank you!
The topic has been locked.
More
4 years 11 months ago #206567 by tpartner
Try this:

Code:
<style type="text/css">
 
  #question{QID} .answers-list {
    text-align: center;
  }
 
  #question{QID} .answers-list > div {
    display: inline-block;
    float: none;
  }
 
</style>


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: mpi0920
The topic has been locked.
More
4 years 11 months ago #206601 by mpi0920
Fantastic!! Thank you! :)
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose