• Resolved calalouf

    (@calalouf)


    Hi Jeff, I was wondering if there was a way to use different CSS for the testimonial and author when they appear in a sidebar, vs. the main body of a testimonials page. The reason is that the sidebar has a green background, that black doesn’t show up on very well.
    Thanks so much
    Carole

    https://wordpress.org/plugins/hms-testimonials/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff K

    (@kreitje)

    Hey Carole,

    With the way CSS works, you can add more specificity to your sidebar CSS. I recommend you find what class (if any) your sidebar has designated to it and use that to help customize your testimonials.

    The twentytwelve theme for instance uses an id of secondary instead of a class. So to have sidebar only CSS I could do:

    #secondary .hms-testimonial-container .testimonial {
    color: red;
    }
    #secondary .hms-testimonial-container .author {
    font-weight:bold;
    }

    I hope this helps.
    Jeff

    Thread Starter calalouf

    (@calalouf)

    It does! Thanks so much. I actually just stripped the color css I had applied to the body of the testimonials page and all is good with the world again.

    Plugin Author Jeff K

    (@kreitje)

    Sure thing.

    If you find some time please write a review for this plugin 🙂

    http://wordpress.org/support/view/plugin-reviews/hms-testimonials#postform

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Different CSS for sidebar’ is closed to new replies.