Title: Single Testimonial CSS Selector
Last modified: August 27, 2018

---

# Single Testimonial CSS Selector

 *  Resolved [indizone](https://wordpress.org/support/users/indizone/)
 * (@indizone)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/single-testimonial-css-selector/)
 * After I updated the shortcode from bne_testimonials_list to [bne_testimonials
   layout=”list”], my CSS no longer selects the testimonials for formatting.
 * Before i had:
    div.single-bne-testimonial { background: #f5f5f5; padding: 20px;
   margin-bottom: 20px; border: 2px solid #cccccc; border-radius: 10px; }
 * I’ve tried “div.testimonial-single” and “.bne-testimonial-wrapper .testimonial-
   single” and several other iterations to no avail. Can you tell me what the selector
   should be?
 * Here’s a page where it still works with the old bne_testimonials_list shortcode.
 * THANKS!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsingle-testimonial-css-selector%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Kerry](https://wordpress.org/support/users/bluenotes/)
 * (@bluenotes)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/single-testimonial-css-selector/#post-10629511)
 * Hello,
 * You’ll want to use `.testimonial-single`. On the page you linked to, that is 
   the newer shortcode and it is using the CSS you specified above. So I’m not sure
   what is not working for you ([See Screenshot](https://snag.gy/cimptG.jpg)). If
   you’re not seeing your CSS changes, make sure you’ve cleared your browser cache
   and/or your caching plugin.
 * The below CSS will target both versions.
 *     ```
       .single-bne-testimonial,
       .testimonial-single {
           background: #f5f5f5;
           padding: 20px;
           margin-bottom: 20px;
           border: 2px solid #cccccc;
           border-radius: 10px;
       }
       ```
   
 *  Thread Starter [indizone](https://wordpress.org/support/users/indizone/)
 * (@indizone)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/single-testimonial-css-selector/#post-10629762)
 * That worked. Not sure what the issue was, but thank you for your help!

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

The topic ‘Single Testimonial CSS Selector’ is closed to new replies.

 * ![](https://ps.w.org/bne-testimonials/assets/icon-256x256.png?rev=1408516)
 * [BNE Testimonials](https://wordpress.org/plugins/bne-testimonials/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bne-testimonials/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bne-testimonials/)
 * [Active Topics](https://wordpress.org/support/plugin/bne-testimonials/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bne-testimonials/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bne-testimonials/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 2 replies
 * 2 participants
 * Last reply from: [indizone](https://wordpress.org/support/users/indizone/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/single-testimonial-css-selector/#post-10629762)
 * Status: resolved