Welcome to the LimeSurvey Community Forum

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

Custom CSS not applying... what am I doing wrong?

  • ninaviz
  • ninaviz's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 7 months ago - 3 years 7 months ago #205948 by ninaviz
Hello! I am not a developer. I have read the documentation, and I have googled around and looked at the mozilla dev docs to try and figure this out, and am still not making progress.

What else do I need to do to my CSS (see screenshot attached) to make it apply to all global attributes meeting these styles, for my survey in 3.x?
Last edit: 3 years 7 months ago by ninaviz.
The topic has been locked.
  • ninaviz
  • ninaviz's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 7 months ago #205952 by ninaviz
I have also tried multiple specificity and syntax variations, to no avail.

For the Survey Title, I'm currently at...
Code:
#welcome-container .survey-name {
  font-size: 3em;
  font-weight: 300;
  text-align: left;
  margin-top: .1em;
  color: #888;
}

...and it just won't apply. Yes, I suck at CSS. Help?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205959 by tpartner
Your first screenshot does not seem to target the .survey-name class.

Having said that, can you activate a sample survey so we can see what CSS rules are taking precedence.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: ninaviz
The topic has been locked.
  • ninaviz
  • ninaviz's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 7 months ago #205960 by ninaviz
survey.qubes-os.org/index.php?r=survey/index&sid=681812&lang=en

Thank you!! Yes, I have tried every combination of div/class combos pertaining to just the Welcome page's Title, to just get that one right... and cannot seem to even hit that one.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205965 by DenisChenu
Replied by DenisChenu on topic Custom CSS not applying... what am I doing wrong?
Your customs css seems not loaded.


What LimeSurvey version ?
Did you activate debug mode ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • ninaviz
  • ninaviz's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 7 months ago #205971 by ninaviz
Hi Denis: Thank you for looking at this!

I just activated both frontend and backend debug mode. We now have Version 3.23.6+200929 running. We'd had a 4.x version previously, and it was too unstable so I requested a downgrade.

Unfortunately I cannot learn what "debug mode" does, as the page in the LS docs is loading w/o content. It says that you were the last editor to the page in 2015.

Thoughts?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205972 by DenisChenu
Replied by DenisChenu on topic Custom CSS not applying... what am I doing wrong?
By default without any update : link must be like this survey.qubes-os.org/tmp/assets/randomnumber/custom.css

Becaus eby default we use asset manager. The only way to disable asset manager is toupdate manually a PHP file …

Here seems someone update (manually) application/config/config.php
manual.limesurvey.org/Optional_settings#...opment_and_debugging

BUT :
Seems strange survey.qubes-os.org/upload/themes/survey...bes22/css/custom.css show at 404 but are shown in editor …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: ninaviz
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose