- Posts: 18
- Thank you received: 4
Ask the community, share ideas, and connect with other LimeSurvey users!
p[style='text-align:center'][class='error'] { position:fixed;top:1px;right:1px;font-weight:bold}
In that case, I would use JavaScript to:...we thought it would be better to have the "survey not active ..." message in header and bigger just to be sure...
$(document).ready(function(){ $('p').filter(function() { return $(this).text() == 'This survey is currently not active. You will not be able to save your responses.'; }).addClass('non-active-message'); if($('p.non-active-message').length > 0) { $('td.survey-description').append($('p.non-active-message').clone()); } });
.survey-description .non-active-message { font-size: 12px !important; }
$(window).load(function(){ var nonActiveMessage = $("p.error[style='text-align:center']"); nonActiveMessage.addClass('non-active-message'); if(nonActiveMessage.length > 0) { $('td.survey-description').append(nonActiveMessage.clone()); } });