Support » Plugin: Site Reviews » Seprated box for every review

  • Resolved MCMXCI

    (@funnplacenl)


    Hi,

    I have a custom code in these purple boxes, how to make them seprated everytime a review is posten? Or is this not possible.

    So to be clear: White space between every review so it has is own purple box

    https://pasteboard.co/JLRhf5K.png

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

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

    (@geminilabs)

    The easiest way to do this would be to use a custom Site Reviews review.php template in your theme and add your theme-specific classes to it. Something like this:

    <div class="glsr-review animated bounceInUp vc_color-violet vc_message_box vc_message_box-rounded wpb_animate_when_almost_visible wpb_bounceInUp wpb_start_animation" id="review-{{ review_id }}">
        {{ title }}
        {{ rating }}
        {{ date }}
        {{ assigned_links }}
        {{ content }}
        {{ avatar }}
        {{ author }}
        {{ response }}
    </div>
    

    You would probably also need to add some CSS to adjust the gap between each review:

    .glsr .glsr-reviews {
        grid-gap: 0;
        gap: 0;
    }

    OR

    .glsr .glsr-review {
        margin-bottom: 0 !important;
    }

    Please see the Help > FAQ page to learn how to use the templates in your theme.

    • This reply was modified 2 months, 2 weeks ago by Gemini Labs.
    Thread Starter MCMXCI

    (@funnplacenl)

    Cool thanks 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.