- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Noob question - changing basic font color
- AbeStew
- Topic Author
- Offline
- New Member
Less
More
8 years 2 weeks ago #133756
by AbeStew
Noob question - changing basic font color was created by AbeStew
Sorry for such a basic question. Strangely I have managed to guess my way around the CSS and change the colors for everything to what I want - except for the basic text. I am editing a copy of the news_paper template. Within the editor the two sections I have not been able to change are the black text saying "TEMPLATE SAMPLE" in the top left and the main text beginning "This is a sample survey description. It could be quite long."
What sections of the CSS should I be editing to change the color of these?
Thank you.
What sections of the CSS should I be editing to change the color of these?
Thank you.
The topic has been locked.
- Stan
- Offline
- Junior Member
Less
More
- Posts: 28
- Thank you received: 0
8 years 2 weeks ago #133787
by Stan
Replied by Stan on topic Noob question - changing basic font color
Hi AbeStew,
welcome to Limesurvey Your question is good but you just don't look at the right place.
To change these text elements, forget about CSS and go straight to the Settings of your Survey (under General). Take look HERE in the Manual how to do this.
I do not have this template but i guess "TEMPLATE SAMPLE" at the top left could be the default survey name. if so, you can edit this in the Editor when you click on 'welcome.pstpl' (menu at left) and then change this: {SURVEYNAME}.
Maybe the other guys will help you with better hints.
welcome to Limesurvey Your question is good but you just don't look at the right place.
To change these text elements, forget about CSS and go straight to the Settings of your Survey (under General). Take look HERE in the Manual how to do this.
I do not have this template but i guess "TEMPLATE SAMPLE" at the top left could be the default survey name. if so, you can edit this in the Editor when you click on 'welcome.pstpl' (menu at left) and then change this: {SURVEYNAME}.
Maybe the other guys will help you with better hints.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
8 years 2 weeks ago #133789
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 Noob question - changing basic font color
Hi,
2.50 template is new ... then CSS specialist don't know it a lot.
Did you trye
.question-text{color:red;} ?
ANd , really : if you do css : you need firebug or another HTML developpement helper
2.50 template is new ... then CSS specialist don't know it a lot.
Did you trye
.question-text{color:red;} ?
ANd , really : if you do css : you need firebug or another HTML developpement helper
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.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
8 years 2 weeks ago - 8 years 2 weeks ago #133803
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Noob question - changing basic font color
Add something like this to the end of news_paper.css...not been able to change...the black text saying "TEMPLATE SAMPLE" in the top left...
Code:
.navbar-default .navbar-brand { color:red; }
Add something like this this to the end of news_paper.css...not been able to change...the main text beginning "This is a sample survey description. It could be quite long."...
Code:
body { color: #333333; }
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 8 years 2 weeks ago by tpartner.
The topic has been locked.
- Stan
- Offline
- Junior Member
Less
More
- Posts: 28
- Thank you received: 0
8 years 2 weeks ago #133807
by Stan
Replied by Stan on topic Noob question - changing basic font color
Oh my bad :blush:
i was completely wrong in my answer. Gracefully the guys came to the rescue
i was completely wrong in my answer. Gracefully the guys came to the rescue
The topic has been locked.
- AbeStew
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
8 years 2 weeks ago - 8 years 2 weeks ago #133817
by AbeStew
Replied by AbeStew on topic Noob question - changing basic font color
Thanks for the replies folks. Adding tpartner's recommendations worked a treat - now got my template looking how I want it . Thanks again for the help, greatly appreciated.
Edit: Ah, new problem. Although the template in the 'Question Page' view looks correct the questions don't in the test survey I created. While everything around each question conforms to the template the questions themselves default to white background with black text. I can see in the question editor how to change the font color but can't see an option to change the background to another color.
Edit: Ah, new problem. Although the template in the 'Question Page' view looks correct the questions don't in the test survey I created. While everything around each question conforms to the template the questions themselves default to white background with black text. I can see in the question editor how to change the font color but can't see an option to change the background to another color.
Last edit: 8 years 2 weeks ago by AbeStew.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
8 years 2 weeks ago #133824
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Noob question - changing basic font color
Can you activate a test survey, give us a link and also attach a mock-up of what you want?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- AbeStew
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
8 years 2 weeks ago #133829
by AbeStew
Replied by AbeStew on topic Noob question - changing basic font color
Thanks for the quick reply. Example of test survey as it currently looks:
constellations.scot/survey/index.php/sur...68/newtest/Y/lang/en
What I want it to look like:
Cheers,
Abe.
constellations.scot/survey/index.php/sur...68/newtest/Y/lang/en
What I want it to look like:
Cheers,
Abe.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
8 years 2 weeks ago #133833
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Noob question - changing basic font color
Try this:
Code:
div[id^="group-"] > div { background-color: transparent; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .navbar-default .navbar-nav > li > a { color: #ffffff !important; }
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- AbeStew
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
8 years 1 day ago #134713
by AbeStew
Replied by AbeStew on topic Noob question - changing basic font color
Sorry for delay in reply - been snowed under with work. That code managed to fix the inside of text boxes (where people can write their replies) and the color of the text used used for questions, cheers. However, the background for all questions remained white. After playing about some more with the inspector tool in Firefox managed to find the last few parts that needed changed.
Thanks again for all you help.
Thanks again for all you help.
The topic has been locked.