[Plugin: Surveys Extended] Make the font for the questions bold
-
I wanted all my questions to be in bold, while the answers were in regular weight text. I thought others might want to do the same. Here’s how:
In the plugins section of your WP Dashboard, click Editor and in Select Plugin to Edit, choose Surveys Extended.
Click to open the file called
surveys-extended/show_survey.php
Scroll down about 3/4 of the file and find the line that says echo
"{$ques->question}\n";
Now, you have to add a line before and a line after that line. The line that goes before is:
echo "<p>";
The line that goes after is:
echo "</p>";
Click Update File to save your changes.
Essentially, that puts
<p> </p>
tags around the question.Now, we need to style the <p> tags. To do that, on the right side, open the file called:
surveys-extended/style.css
At the bottom of the file, type (or copy/paste) the following:
.survey-area p{ margin:0; padding: 0; font-weight: bold; font-size: 15px; }
This will bold any text enclosed in
<p> </p>
tags and increase the font size from the current 12px to 15px.Click Update File to save your changes.
NOTE: If you ever update the plugin, it will likely erase these changes.
https://www.ads-software.com/extend/plugins/surveys-extended/
- The topic ‘[Plugin: Surveys Extended] Make the font for the questions bold’ is closed to new replies.