Okay
  Public Ticket #3710361
Removing the count in testimonial slider
Closed

Comments

  •  5
    rezoomexsite started the conversation

    Hi, 

    How can I remove the count of testimonials? As you can see in the mobile view, the previous, next, and the count are not aligned vertically. 

    Attached files:  IMG_FCE8B57285BB-1.jpeg

  •  2,958
    Andrew replied

    Hi there,

    Thanks for writing to us.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    /* Remove the testimonial count*/
    @media only screen and (max-width: 690px){
      .testimonial_slider[data-style="minimal"] .controls {
        display: none;
      }
    }

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related. If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 

    Regards,

  •  5
    rezoomexsite replied

    Thanks. This worked. Is it possible to vertically center the prev and nex arrows relative to the testimonial? 

  •  1,875
    Judith replied

    Hi there,

    Thanks for writing back.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    .testimonial_slider[data-style="minimal"] .testimonial-next-prev .next:after, .testimonial_slider[data-style="minimal"] .testimonial-next-prev .prev:after {
        top: 47%;
    }

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related.

     If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 

  •  5
    rezoomexsite replied

    On a mobile device the arrows still show at the bottom (please see attachment).

    Attached files:  IMG_CD2F346707A1-1.jpeg

  •  2,958
    Andrew replied

    Hi again,

    Thank you for getting back to us.

    Add this into the Custom CSS box in your Salient Theme Options panel:

    /* move testimonial arrows on mobile */
    @media only screen and (max-width:690px) {
      .testimonial_slider[data-style="minimal"] .testimonial-next-prev .next:before, .testimonial_slider[data-style="minimal"] .testimonial-next-prev .prev:before {
          display: block;
          position: absolute!important;
      }
      
      .testimonial_slider[data-style="minimal"] .testimonial-next-prev .prev {
          position: absolute;
          top: 50% !important;
          font-size: 35px !important;
          left: 0 !important;
      }
      
      .testimonial_slider[data-style="minimal"] .testimonial-next-prev .next {
          position: absolute;
          top: 50%!important;
          font-size: 35px!important;
          right: -5% !important;
      }
    }

    Try this and see if it works for you.

    Thanks,