Okay
  Public Ticket #3934210
Testimonial Text Size
Closed

Comments

  •  16
    seth_matisak started the conversation

    Hi,

    Is there a way to adjust text size for testimonials? I have a few Single Testimonials set to bold and the font is huge. 

    Many thanks,

    Seth

  •  2,069
    Judith replied

    Hello Seth,

    Thanks for writing to us.

    Please share the password to access your website so that we can provide a working css.

    8768176441.png

    I look forward to your response.

  •   seth_matisak replied privately
  •  3,158
    Andrew replied

    Hi Seth,

    Thank you for getting in touch.

    Try adjusting this in the Salient > Typography > Salient Elements/Areas and adjust the option in the screenshot.2632533838.png

    Try that and let us know how it goes.

    Cheers,

  •  16
    seth_matisak replied

    Hey there,


    That's where I've been trying to adjust. The font style will change from that settings area but the font size does not respond weirdly. 

    Attached files:  Screenshot 2025-04-11 at 10.39.33 am.png

  •  2,069
    Judith replied

    Hi Seth

    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:

    .span_12 .nectar_single_testimonial .inner[data-custom-color=true] * {
        font-size: 31px;
    }

    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. 

     

  •   seth_matisak replied privately
  •  9,199
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    @media only screen and (min-width: 1000px) {
        .span_12 .nectar_single_testimonial .inner[data-custom-color=true] span.wrap span {
            font-size: 31px !important;
            line-height: 1.2em !important;
        }
    
        .span_12 .nectar_single_testimonial .inner[data-custom-color=true] p {
            font-size: 41px !important;
            line-height: 1.5em !important;
        }
    }
    
    

    Thanks


    ThemeNectar Support Team