Welcome to the LimeSurvey Community Forum

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

Trying to customize colors.

More
4 years 1 month ago #217850 by ajkelsey78
I have extended one of the themes and I would like to customize the colors of the buttons and what not. It seems like creating a custom theme variation is the way to go. I followed the instructions in this thread:  forums.limesurvey.org/forum/design-issue...ruity-css-variations . However, it hasn't worked. I copied all the files over as instructed. I edited the options.twig to list my custom css file. I even entered its full path to make sure it found it. I edited the css file by finding the color code I wanted to change and changing it to my new color code. It still remains the same. Any input would be appreciated.
The topic has been locked.
More
4 years 1 month ago #217865 by holch
Replied by holch on topic Trying to customize colors.
Did you apply the new theme to your survey?
Did you empty the cache?
Did you try with a different browser?

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
4 years 1 month ago #217872 by ajkelsey78
I am doing this using the theme editor. I do not have any surveys.

In the theme editor, it shows a sample of a survey to demonstrate what it will look like. If I change to a stock variation, this sample will change in the theme editor.
The topic has been locked.
More
4 years 1 month ago #217876 by holch
Replied by holch on topic Trying to customize colors.
Then you might want to empty the assets in Limesurvey. What about creating a small survey and do a test? At the end you'll need to test with a real survey anyway, the preview can only help to a certain point anyway.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
4 years 1 month ago #217879 by ajkelsey78
I created a survey and it doesn't show the changes I made in the css file.
The topic has been locked.
More
4 years 1 month ago #217882 by ajkelsey78
Ok. I think I'm heading in a direction. I went into the mytheme/config.xml and changed the variations path to the file I changed. I then reset the theme. That got one button to change color. I did some more inspections and discovered that the others are as lightly different color than what I had already changed. I went into the myvariation.css and made those changes. However, I'm having the same trouble where it doesn't update.

I've learned that in my browser developer tools that I can hover over the .css file it gets the info from to get the full path. The full path is to /tmp. There are a number of different folders that seem to be generated from the root path of my custom theme that are put into tmp/assets. I think my answer lies in how those items in /tmp are generated.
The topic has been locked.
More
4 years 1 month ago #217883 by ajkelsey78
I think I got it. I deleted all the folders in /tmp/assets and reset the theme. I left the index.html. It appears to have worked. I wish there was an easier way.
The topic has been locked.
More
4 years 1 month ago #217890 by holch
Replied by holch on topic Trying to customize colors.
There is a button to reset the assets in the GUI...

I would call this "an easier way".

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
4 years 1 month ago #217894 by ajkelsey78
Are you referring to the reset button in the theme manager? If so, that doesn't seem to do the same thing.
The topic has been locked.
More
4 years 1 month ago #217895 by holch
Replied by holch on topic Trying to customize colors.
No, I am referring to "Configuration" --> "Settings" --> "Global Settings" --> "General" --> "Clear assets cache: (1)" --> "Clear now"

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
3 years 8 months ago #223007 by holch
Replied by holch on topic Trying to customize colors.
Dear Alexis, congratulations! You earned yourself a ban from this forum for your spam activity.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose