• Resolved indizone

    (@indizone)


    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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kerry

    (@bluenotes)

    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). 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

    (@indizone)

    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.