- Posts: 7
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Server delivers empty custom.css
- vasyugan
- Topic Author
- Offline
- New Member
Less
More
3 weeks 5 days ago - 3 weeks 5 days ago #259784
by vasyugan
Server delivers empty custom.css was created by vasyugan
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Community Edition Version 6.0.0+230405
Own server or LimeSurvey hosting: own
Survey theme/template: bootswatch
==================
I've edited the custom.css file to contain
``
body {
font-size: 14px;
}
``
However, when I run the survey that uses this theme, the server delivers an empty custom.css. That is: I look at the source code, see that the html header contains the line<link rel="stylesheet" type="text/css" href="[url=view-source:https://survey.uferwerk.org/tmp/assets/b66d22d3/css/custom.css]/tmp/assets/b66d22d3/css/custom.css[/url]" />
and when I open the latter, I see a file only containing the following lines:
/******************
User custom CSS
In this file you can add your own custom CSS
It will be loaded last, so you can override any other property.
Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
Everything I added below is missing.
Why is that? I also switched the theme, saved the survey, switched back. No change.
Your LimeSurvey version: LimeSurvey Community Edition Version 6.0.0+230405
Own server or LimeSurvey hosting: own
Survey theme/template: bootswatch
==================
I've edited the custom.css file to contain
``
body {
font-size: 14px;
}
``
However, when I run the survey that uses this theme, the server delivers an empty custom.css. That is: I look at the source code, see that the html header contains the line<link rel="stylesheet" type="text/css" href="[url=view-source:https://survey.uferwerk.org/tmp/assets/b66d22d3/css/custom.css]/tmp/assets/b66d22d3/css/custom.css[/url]" />
and when I open the latter, I see a file only containing the following lines:
/******************
User custom CSS
In this file you can add your own custom CSS
It will be loaded last, so you can override any other property.
Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
Everything I added below is missing.
Why is that? I also switched the theme, saved the survey, switched back. No change.
Last edit: 3 weeks 5 days ago by vasyugan. Reason: formatting
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12956
- Thank you received: 3984
3 weeks 5 days ago #259788
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Server delivers empty custom.css
Hi,
I see this
Survey theme/template: bootswatch
Does it mean you did not extend the theme?
When I extend "bootswatch" and enter this into the "custom.css"
I get this
The changes are obvious.
Now, please, tell us: What exactly did you do?
And why suddenly English?
Joffm
I see this
Survey theme/template: bootswatch
Does it mean you did not extend the theme?
When I extend "bootswatch" and enter this into the "custom.css"
Code:
body { font-size: 36px; font-family: Georgia; font-style: italic; }
The changes are obvious.
Now, please, tell us: What exactly did you do?
And why suddenly English?
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10110
- Thank you received: 3594
3 weeks 5 days ago #259789
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 Server delivers empty custom.css
Wow, it seems you need new reading glasses.
Code:body { font-size: 36px; font-family: Georgia; font-style: italic; }
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Please Log in to join the conversation.
- vasyugan
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 weeks 5 days ago #259792
by vasyugan
Replied by vasyugan on topic Server delivers empty custom.css
If you mean me: I ordered new reading glasses yesterday, but they will be ready only on 15 April.
Anyway, I don't get the same result as Joffm. When I enter code into my local custom.css, Limesurvey still delivers an empty file, that is, a file that looks like this:
/******************
User custom CSS
In this file you can add your own custom CSS
It will be loaded last, so you can override any other property.
Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
Anyway, I don't get the same result as Joffm. When I enter code into my local custom.css, Limesurvey still delivers an empty file, that is, a file that looks like this:
/******************
User custom CSS
In this file you can add your own custom CSS
It will be loaded last, so you can override any other property.
Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
Please Log in to join the conversation.
- vasyugan
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 weeks 5 days ago #259794
by vasyugan
Replied by vasyugan on topic Server delivers empty custom.css
I extended the bootwatch theme, after which I edited its custom.css, however, according to what is shown in the editor window, what I edit is the file
'themes/survey/bootswatch/css/custom.css'
Anyway, the thing is that limesurvey for whatever reason doesn't use it, whether I use the original bootswatch theme or my extended version.
'themes/survey/bootswatch/css/custom.css'
Anyway, the thing is that limesurvey for whatever reason doesn't use it, whether I use the original bootswatch theme or my extended version.
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12956
- Thank you received: 3984
3 weeks 5 days ago #259796
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Server delivers empty custom.css
Yes, you are absolutely right; my glasses get worse and worse.Wow, it seems you need new reading glasses
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10110
- Thank you received: 3594
3 weeks 5 days ago - 3 weeks 5 days ago #259803
by tpartner
...you should see something like this.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Server delivers empty custom.css
If you have saved this...I extended the bootwatch theme, after which I edited its custom.css, however, according to what is shown in the editor window, what I edit is the file
'themes/survey/bootswatch/css/custom.css'
...you should see something like this.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 3 weeks 5 days ago by tpartner.
Please Log in to join the conversation.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10110
- Thank you received: 3594
3 weeks 5 days ago #259804
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 Server delivers empty custom.css
Also, I suggest updating your LimeSurvey instance - there have been many bug fixes in the last year.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Please Log in to join the conversation.