Welcome to the LimeSurvey Community Forum

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

problem with the asterisk symbol in custom template

More
7 years 6 months ago #142862 by tasos
Hello,

I have a problem with the asterisk symbol in the custom template I created. They don't show up and in their place is printed the ''f069' which obviously is the code of the asterisk symbol. Any ideas on how to fix this? In all the default templates it is presented correctly so it is weird that it does not work in the custom (since it actually is a copy of the default in the beginning).


Version 2.53+161004

Thank you
Attachments:
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 6 months ago #142863 by LouisGac
did you imported font awesome in your custom template?
The topic has been locked.
More
7 years 6 months ago #142866 by tasos
Since each custom template that is created is a copy of the default isn't it already already imported?
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 6 months ago #142868 by LouisGac
it should yes.

what version/build of LimeSurvey are you using?
The topic has been locked.
More
7 years 6 months ago #142869 by tasos
and yes it seems to be imported in the <head> and not showing any errors.
The topic has been locked.
More
7 years 6 months ago #142870 by tasos
Version 2.53+161004
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 6 months ago #142871 by LouisGac
sorry, can't reproduce here.

did you already changed the css?
The topic has been locked.
More
7 years 6 months ago #142872 by tasos
Hmm, i created a new template and it works so it has to do with my css customizations after all. Although I remember seeing this problem from the beginning that I created it. Anyway, I''l just customize the new one that is working.

Thank you
The topic has been locked.
More
7 years 6 months ago #142880 by tasos
It seems that with even the slightest change in css of the template the asterisk disappear and only its code is showing (even if you change something that has nothing to do with it). And even if you revert the change and save again it doesn't come back. I can't understand why this happens.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 6 months ago #142883 by DenisChenu
Hi,

Maybe it's better if we can have a look at your updated template with a single question.

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.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 6 months ago #142885 by LouisGac
Only way I can reproduce your bug is by replacing:
Code:
.asterisk:before {
    content: "\f069";
}

by:
Code:
.asterisk:before {
    content: "f069";
}

question is: did you removed the \?
The topic has been locked.
More
7 years 6 months ago - 7 years 6 months ago #142886 by tasos
So I just created a brand new template and a new survey. Initially the asterisk is displayed.
Then changed file css/template.css line 4 randomly from padding-bottom: 10px; to padding-bottom: 9px; just for the sake of the experiment. And the asterisk is gone with this small change. Please see the link below.

survey.hc-barometer.gr/index.php/544526?lang=en



Thank you
Last edit: 7 years 6 months ago by tasos.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose