- Posts: 10
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<nav class="navbar navbar-default navbar-fixed-bottom" id="bottomsurveymenubar"> <div id="footer" style="color:white; font-size: 75%; padding: 1em;"> <img src="{TEMPLATEURL}/files/libreoffice.png" height="50" style="float: left; margin: 0 20px 20px 0;"> Text... </div> </nav>
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('body').addClass('welcome'); }); </script>
#bottomsurveymenubar{ display:none; position: relative; } body.welcome #bottomsurveymenubar { display:block; }
.outerframeContainer{padding-bottom: 150px} @media (min-width: 768px) { .navbar-fixed-bottom {position: relative; } .outerframeContainer{padding-bottom: 14px} }
To apply it to all surveys, you can place this in template.js.I guess you talk about the variable field, which implies I'd have to add the code with every survey.
$(document).ready(function() { if($('#welcome-container').length > 0) { $('body').addClass('welcome'); } });