Welcome to the LimeSurvey Community Forum

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

Times font and remove asterisk

More
4 years 1 week ago - 4 years 1 week ago #219006 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: 4 years 1 week ago by Camila.rebustini.
The topic has been locked.
More
4 years 1 week ago #219007 by tpartner
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.
More
4 years 1 week ago #219073 by Camila.rebustini
I used the template fruity and the version 4.4.15
The topic has been locked.
More
4 years 1 week ago #219076 by Joffm
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.
More
4 years 3 days ago #219257 by Joffm
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