Welcome to the LimeSurvey Community Forum

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

change background color of the header

More
10 years 3 months ago #139198 by jantienm
Yes that works. Thanks a lot. One more thing. I want to use two sizes of my logo. On mobile I want to use one with width 200px. On the other screens though I'd like to use a larger one. Is that possible?

Thanks again for helping out!
The topic has been locked.
More
10 years 3 months ago #139201 by tpartner
You can use a CSS Media Query to detect screen width - www.w3schools.com/cssref/css3_pr_mediaquery.asp

So, something like thisin template.css:

Code:
.navbar-brand img { width: 350px; height: auto } @media only screen and (max-width: 768px) { .navbar-brand img { width: 200px; height: auto } }

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
10 years 3 months ago #139202 by jantienm
Great! Thanks a lot
The topic has been locked.
More
10 years 2 months ago #139491 by adridg

tpartner wrote: Try something like this at the end of template.css:

Code:
.navbar-default .navbar-brand { color: #FFF000 !important; } .navbar-default .navbar-nav > li > a { color: #FFF000; } .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { color: #FF00FF; }


Can you help me in changing backgroung color where the question text appears?
Thank you
The topic has been locked.
More
10 years 2 months ago #139513 by Joffm
change background color in classes
.question-title-container
and
.questionvalidcontainer

Procedure always the same:
add the classes at the end of your "template.css" and overwrite the values of "background-color"

like screenshot (changed to blue)

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: adridg
The topic has been locked.
More
9 years 10 months ago #145628 by bruce78

tpartner wrote: Delete everything in /tmp/assets/, clear your cache and retest.


That was a life saver! I was beginning to tear my hear out!
The topic has been locked.
Moderators: tpartner, holch

Lime-years ahead

Online-surveys for every purse and purpose