Welcome to the LimeSurvey Community Forum

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

Split backend and frontend in CSS - best way?

  • mad99
  • mad99's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 4 months ago - 5 years 4 months ago #177546 by mad99
Hi,
I have a problem with a button «remove video» in the customer-view from a survey.

Does anybody has the best way «.class» or «#id» to define CSS only for backend or in this particular situation to «hide» the button with CSS in customer survey?

Found the body.className in backend matched with theme. But this would be different dependent from the project or does not work anymore if I change the theme.

- Is there something more general class or id? Like «.ls-backend» in in an as high as possible HTML-element in backend or frontend?

Can't find topic about in forum or google...
But is hard to come up with the right term.

Any help or push in the right direction is very welcome.
Last edit: 5 years 4 months ago by mad99.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 4 months ago #177549 by DenisChenu
Replied by DenisChenu on topic Split backend and frontend in CSS - best way?
front end css are in theme : custom.css are easily updatable if you extend core theme.

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.
  • mad99
  • mad99's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 4 months ago #177555 by mad99
Hey DenisChenu,
thank you for help.

So custom.css will only have effect in the customer-survey view?
No influence in Backend- Right?
Great!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 4 months ago #177558 by DenisChenu
Replied by DenisChenu on topic Split backend and frontend in CSS - best way?
PS : i think the best way is to really remove this button … since ckeditor is not activated : this button have no reason …

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.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 4 months ago #177565 by holch
The theme of the survey and the themes of the administration are totally separated. Changing your survey theme does not change the backend at all. Only one point where there is a little bit of overlap in my opinion is that the survey theme that is set to default influences the design of the survey list page (index of your installation). In my opinion, this page actually should belong to the admin theme, not to the default survey theme. But this is a historical thing.

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