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.
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.
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.
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.
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.