Welcome to the LimeSurvey Community Forum

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

Trying to customize colors.

  • ajkelsey78
  • ajkelsey78's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 8 months ago #217850 by ajkelsey78
Trying to customize colors. was created 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.
  • holch
  • holch's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months 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?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • ajkelsey78
  • ajkelsey78's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 8 months ago #217872 by ajkelsey78
Replied by ajkelsey78 on topic Trying to customize colors.
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.
  • holch
  • holch's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months 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.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • ajkelsey78
  • ajkelsey78's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 8 months ago #217879 by ajkelsey78
Replied by ajkelsey78 on topic Trying to customize colors.
I created a survey and it doesn't show the changes I made in the css file.
The topic has been locked.
  • ajkelsey78
  • ajkelsey78's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 8 months ago #217882 by ajkelsey78
Replied by ajkelsey78 on topic Trying to customize colors.
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.
  • ajkelsey78
  • ajkelsey78's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 8 months ago #217883 by ajkelsey78
Replied by ajkelsey78 on topic Trying to customize colors.
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.
  • holch
  • holch's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months 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".

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • ajkelsey78
  • ajkelsey78's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 8 months ago #217894 by ajkelsey78
Replied by ajkelsey78 on topic Trying to customize colors.
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.
  • holch
  • holch's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months 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"

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • holch
  • holch's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 3 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.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose