Changing border and line color

More
5 months 1 day ago #168841 by salter
salter created the topic: Changing border and line color
Is it possible to change the line/border color on the default templates? The light gray color is hard to see for our older respondents.


thanks

Please Log in or Create an account to join the conversation.

More
5 months 1 day ago #168845 by holch
holch replied the topic: Changing border and line color
Yes, you just need to extend the default templates with your own CSS code.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
5 months 1 day ago #168846 by salter
salter replied the topic: Changing border and line color
Can you start me off in the right direction on how to do that? Not familiar where everything is located in LS.

Please Log in or Create an account to join the conversation.

More
5 months 1 day ago #168847 by holch
holch replied the topic: Changing border and line color
Depends very much on your LS version and your survey theme/template.

Short story: Check with a developer tool in your browser which elements you want to change, go to the theme editor and extend one of the standard themes with your CSS adaptations.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
5 months 1 day ago #168848 by salter
salter replied the topic: Changing border and line color
Using community version on my windows server. Using fruity template. I have not made any customization to this server. Only little knowledgeable with html and css coding.

Please Log in or Create an account to join the conversation.

More
5 months 1 day ago #168849 by holch
holch replied the topic: Changing border and line color
So what you need to do is open your survey and use some kind of developer tool (e.g. chrome already comes with it --> right click --> inspect). then when you click on the survey it will show you in the source code where the respective element you have clicked on has been defined. You check what ID or class it has and search for this in the CSS file in your template editor (extend your existing theme) and adapt the color accordingly.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
5 months 5 hours ago #168910 by salter
salter replied the topic: Changing border and line color
Not having much luck. Did as you suggested, but I can't seem to find the correct values. I have attached an example of the lines I am referring to, they are circled in red.
Attachments:

Please Log in or Create an account to join the conversation.

More
5 months 5 hours ago - 5 months 5 hours ago #168914 by Joffm
Joffm replied the topic: Changing border and line color
Hi, salter,
unfortunately you didn't say which browser you are using.
Therefore here in Chrome.

With CTRL-Shift-I you start the Development tool.

Then you start exploring.

You see here, that the "question and answer" area has a class ".question-container"


and at the right you see the actual values.


Just overwrite these values in your "custom.css" of your extended theme.

Next:
Here you see that the class ".form-control" is affected.

And also you see the actual values:

which you overwrite by e.g. "border: 1px solid red;" or whatever.

Of course, without a little bit of knowledge in css (and HTML) it seems to be difficult, but a challenge to learn.

Best regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last Edit: 5 months 5 hours ago by Joffm.
The following user(s) said Thank You: holch

Please Log in or Create an account to join the conversation.

More
5 months 2 hours ago #168924 by salter
salter replied the topic: Changing border and line color
I see it now, thanks for the help.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!