Okay
  Public Ticket #2476301
Testimonial Mobile
Closed

Comments

  • Rob started the conversation

    Hello! :)

    How can I change the size of our testimonials on mobile? It looks great on desktop, but the text may be a tad too large on mobile. 

  •  2,965
    Andrew replied

    Hi Rob,

    Use the following custom css in Salient > General settings > CSS/Script related:

    @media only screen and (max-width: 1000px){
    .testimonial_slider blockquote p {
        font-size: 20px;
    }
    }
    

    Thanks.

  •  1
    Cam replied

    Hi Andrew - this custom code was helpful for us too, but how can we get the testimonial's Name and Title resized on mobile as well? And make them left aligned on all view ports (not just mobile)?


    Thanks in advance for your help!

    Wonderlab Team.



  •  8,851
    Tahir replied



    @Cam Macduff

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    @media only screen and (max-width: 690px) {
        .testimonial_slider[data-style="minimal"] blockquote .title {
            font-size: 15.4px !important;
            line-height: 25.6px !important;
        }
        .testimonial_slider[data-style="minimal"] blockquote .testimonial-name {
            font-size: 15.4px !important;
            line-height: 25.6px !important;
        }
    }
    .testimonial_slider[data-style="minimal"] blockquote .title, .testimonial_slider[data-style="minimal"] blockquote .testimonial-name {
        text-align: left !important;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    Thanks


    ThemeNectar Support Team