• Resolved t0m4u

    (@t0m4u)


    Anyone knows how to change the background color of the Testimonials text on an alternating basis?

    I managed to chance it for all by using custom css:

    .sue-testimonial-text {
    background-color: #fdfdeb !important;
    }

    I am trying to mimick a typical social media conversation between a protagonist and an antagonist. The protagonist should have a slightly different testimonial text background color from the antagonist.

    • This topic was modified 6 years ago by t0m4u.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Vova

    (@gn_themes)

    Hi @t0m4u,

    you can alter the background color using a custom CSS class. Add a CSS class to the messages you want to change, like so:

    [su_testimonial] White BG [/su_testimonial]
    [su_testimonial class="alt"] Alternative BG [/su_testimonial]

    Then, navigate to Dashboard → Shortcodes → Settings and paste the following snippet into the Custom CSS code field:

    .sue-testimonial.alt .sue-testimonial-text {
    	background-color: #fdfdeb;
    }
    .sue-testimonial-bordered.alt .sue-testimonial-text:after {
    	border-color: #fdfdeb transparent transparent;
    }

    This is what you should get:

Viewing 1 replies (of 1 total)

The topic ‘sue-testimonial-text’ is closed to new replies.