Welcome to the LimeSurvey Community Forum

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

Times font and remove asterisk

  • Camila.rebustini
  • Camila.rebustini's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 2 months ago - 3 years 2 months ago #219006 by Camila.rebustini
Times font and remove asterisk was created by Camila.rebustini
Hello,

I've been having trouble changing the font to "Times New Roman" and removing the red asterisk from mandatory questions. Here are the codes I put in custom.css:

body {
font-family: "Times New Roman";
font-size: 24pt;
}
});
</script>
<style type="text/css">
#question{QID} .asterisk{display:none;}
</style>
<style type="text/css">
#question{QID} .asterisk{display:none;}
</style>
<script>
$(function() {
$("#question{QID} .asterisk").remove();
});
</script>

What could be going wrong?

Thanks.
Last edit: 3 years 2 months ago by Camila.rebustini.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #219007 by tpartner
Replied by tpartner on topic Times font and remove asterisk
LimeSurvey version and template used?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Camila.rebustini
  • Camila.rebustini's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 2 months ago #219073 by Camila.rebustini
Replied by Camila.rebustini on topic Times font and remove asterisk
I used the template fruity and the version 4.4.15
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #219076 by Joffm
Replied by Joffm on topic Times font and remove asterisk
with default "fruity"
 

with this in "custom.css" of an extended fruity
Code:
body {
font-family: 'Times New Roman', serif !important;
font-size: 24pt;
}
.asterisk { display:none; }

 

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #219257 by Joffm
Replied by Joffm on topic Times font and remove asterisk
Some addition:
If you use "fruity" you may set the font in the "Theme options"
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose