- Posts: 25
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
tpartner wrote: Which template are you using?
td.survey-description { text-align: center; background-color: #EEF6FF; padding-bottom: 20px; }
td.survey-description { text-align: center; background-color: #EEF6FF; padding-bottom: 20px; }
<td class="survey-description"> <h2>{SURVEYNAME}</h2><br /> <p>{SURVEYDESCRIPTION}</p> </td>
<td class="survey-description"> <h2>{SURVEYNAME}</h2> {if(SURVEYDESCRIPTION, '<p>'+SURVEYDESCRIPTION+'</p>', '')} </td>
tpartner wrote: That style rule should also apply to survey pages. Can you give a link to a test survey?
You may also try changing this in survey.pstpl:Code:<td class="survey-description"> <h2>{SURVEYNAME}</h2><br /> <p>{SURVEYDESCRIPTION}</p> </td>
To this:Code:<td class="survey-description"> <h2>{SURVEYNAME}</h2> {if(SURVEYDESCRIPTION, '<p>'+SURVEYDESCRIPTION+'</p>', '')} </td>
td.survey-description { text-align: center; background-color: #EEF6FF; padding-bottom: 20px; }
td.survey-description { text-align: center; background-color: #FFFFFF; padding-bottom: 20px; }
.page-odd td.survey-description { background-color: #EEF6FF; }
.page-odd td.survey-description { background-color: #FFFFFF; }