Welcome to the LimeSurvey Community Forum

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

Logo is not shown on mobile portrait format

  • schiedi
  • schiedi's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 months 3 weeks ago #250895 by schiedi
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.2.9+230925 
Own server or LimeSurvey hosting: own
Survey theme/template: fruity_twentythree
==================
Hi, I have a question concerning the logo: I uploaded a logo for a survey and it is shown perfectly on desktop and on mobile landscape format. Unfortunately you can't see any logo in portrait format on the mobile phone. Is there any solution for this?

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 months 3 weeks ago #250912 by tpartner
Replied by tpartner on topic Logo is not shown on mobile portrait format
Here is a post that shows how to modify the nav_bar.twig file in your survey theme to insert a second logo image for smaller screens - forums.limesurvey.org/index.php/forum/ca...e-screen-size#250675

Or, you can modify the Bootstrap display class on the existing image wrapper element.

- getbootstrap.com/docs/4.0/utilities/display/

Code:
        {% if( aSurveyInfo.options.brandlogo == "on") %}
            <div class="navbar-brand logo-container d-block">
                {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-fluid"}) }}
            </div>
        {% else %}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose