- Posts: 39
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Changing Bootstrap bouton question
- Bti2024
- Topic Author
- Offline
- Junior Member
Less
More
1 month 5 days ago - 1 month 5 days ago #258899
by Bti2024
Replied by Bti2024 on topic Changing Bootstrap bouton question
Hi, Joffm, Yes I clicked on Save but if I switch to another question and come cack to this question its code source disapear!
Last edit: 1 month 5 days ago by Bti2024.
Please Log in to join the conversation.
- Bti2024
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 39
- Thank you received: 0
1 month 5 days ago - 1 month 5 days ago #258900
by Bti2024
Replied by Bti2024 on topic Changing Bootstrap bouton question
Hi DenisChenu [url=https://template/theme], [/url]yes I have access to template/theme
Last edit: 1 month 5 days ago by Bti2024.
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12942
- Thank you received: 3979
1 month 5 days ago #258901
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Changing Bootstrap bouton question
Yes, you have no rights, meaning the XSS filter is ON.
You have to ask the admin.
You have to ask the admin.
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- Bti2024
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 39
- Thank you received: 0
1 month 5 days ago #258902
by Bti2024
Replied by Bti2024 on topic Changing Bootstrap bouton question
Ok, thanks ,I 'll check this admin parameter and feedback you
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
1 month 5 days ago #258918
by DenisChenu
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 Changing Bootstrap bouton question
If you have access to theme
BEST solution :
Extend the theme and
Add
and any other update to custom.css
Add mybtn CSS Class on the question seetings where you need this button
BEST solution :
Extend the theme and
Add
Code:
.mybtn .btn { padding: 26px 5px; line-height: 2.5; border-radius: 50%; width: 62%; margin-left: 19%; margin-top: 20px; }.mybtn .btn-primary:active,.mybtn .btn-primary.active { background-color: #76C1E2 !important; border-color: #76C1E2 !important; } .mybtn .btn-primary { background-color:maroon; border-color: #2473B9; } .mybtn .btn-primary:hover { background-color: green; border-color: #2473B9; }
Add mybtn CSS Class on the question seetings where you need this button
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.
Please Log in to join the conversation.
- Bti2024
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 39
- Thank you received: 0
1 month 4 days ago - 1 month 4 days ago #258944
by Bti2024
Replied by Bti2024 on topic Changing Bootstrap bouton question
Hi DenisChenu,
Thanks for your feedback.
I have added the code in the custom.css file and set mybtn in Class css of the main question (see the attached picture) , but still doesnt change the bootstrap shape (the bold parts are the existing code) :
/******************
User custom CSS
In this file you can add your own custom CSS
It will be loaded last, so you can override any other property.
Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
/* Normal */
/* body{background : #C2DAFE }*/
8#b3c9f8
// Variable overrides first
$primary: #900;
$enable-shadows: true;
$prefix: "mo-";
// Then import Bootstrap
/*@import ".C:\Backup\Sondages\Nouveau\Siège\En cours\new\awesome-bootstrap-checkbox.css";*/
.mybtn .btn {
padding: 26px 5px;
line-height: 2.5;
border-radius: 50%;
width: 62%;
margin-left: 19%;
margin-top: 20px;
}.mybtn .btn-primary:active,.mybtn .btn-primary.active {
background-color: #76C1E2 !important;
border-color: #76C1E2 !important;
}
.mybtn .btn-primary {
background-color:maroon;
border-color: #2473B9;
}
.mybtn .btn-primary:hover {
background-color: green;
border-color: #2473B9;
}
.btn-primary {
background-color: #5CB9EC;
border-color: #5CB9EC;
}
.btn-primary:hover {
background-color: #91DEF8;
border-color: #91DEF8;
}
.btn-primary:active,
.btn-primary.active {
background-color: #91DEF8 !important;
border-color: #91DEF8 !important;
}
I have also login with admin user but cannot see where I can set the XSS filter(please see the screenshot).
Regards
Thanks for your feedback.
I have added the code in the custom.css file and set mybtn in Class css of the main question (see the attached picture) , but still doesnt change the bootstrap shape (the bold parts are the existing code) :
/******************
User custom CSS
In this file you can add your own custom CSS
It will be loaded last, so you can override any other property.
Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
/* Normal */
/* body{background : #C2DAFE }*/
8#b3c9f8
// Variable overrides first
$primary: #900;
$enable-shadows: true;
$prefix: "mo-";
// Then import Bootstrap
/*@import ".C:\Backup\Sondages\Nouveau\Siège\En cours\new\awesome-bootstrap-checkbox.css";*/
.mybtn .btn {
padding: 26px 5px;
line-height: 2.5;
border-radius: 50%;
width: 62%;
margin-left: 19%;
margin-top: 20px;
}.mybtn .btn-primary:active,.mybtn .btn-primary.active {
background-color: #76C1E2 !important;
border-color: #76C1E2 !important;
}
.mybtn .btn-primary {
background-color:maroon;
border-color: #2473B9;
}
.mybtn .btn-primary:hover {
background-color: green;
border-color: #2473B9;
}
.btn-primary {
background-color: #5CB9EC;
border-color: #5CB9EC;
}
.btn-primary:hover {
background-color: #91DEF8;
border-color: #91DEF8;
}
.btn-primary:active,
.btn-primary.active {
background-color: #91DEF8 !important;
border-color: #91DEF8 !important;
}
I have also login with admin user but cannot see where I can set the XSS filter(please see the screenshot).
Regards
Attachments:
Last edit: 1 month 4 days ago by Bti2024.
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
1 month 2 days ago #258990
by DenisChenu
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 Changing Bootstrap bouton question
Need a sample on your website,
CSS are complex sometimes
CSS are complex sometimes
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.
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12942
- Thank you received: 3979
1 month 2 days ago #258998
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Changing Bootstrap bouton question
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
1 month 2 days ago #259000
by DenisChenu
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 Changing Bootstrap bouton question
Not needed if done via template/theme"Configuratión"
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.
Please Log in to join the conversation.
- Bti2024
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 39
- Thank you received: 0
1 month 1 day ago #259005
by Bti2024
Replied by Bti2024 on topic Changing Bootstrap bouton question
Hi Denis,
What do you need me to send to you?
Thanks
What do you need me to send to you?
Thanks
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
1 month 1 day ago #259017
by DenisChenu
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 Changing Bootstrap bouton question
A link to a sample survey on your system
Sample : only this question
Sample : only this question
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.
Please Log in to join the conversation.