• Resolved stefanoid3

    (@stefanoid3)


    Hello,
    Currently, when i use the shortcode the reviews go one after another.. Can i style them to be 3-4 in a row?
    The plugin is amazing, just missing style options (beside the dark theme etc)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Design Extreme

    (@designextreme)

    Hello @stefanoid3,

    Yes, you can do this is you’re good with styling.

    The reviews are in the form of a unordered list. You can set the <ul> to display: flex; flex-wrap: wrap; and set the flex for each <li> to something like: flex: 1 0 21%; margin: 0 1% 10px 0;. This is off the top of my head but there is an example at Common CSS Flexbox | Tobias Ahlin.

    Please post your finished result here and I may add a variant to the plugin as a future theme!

    All the best,

    Noah

    Thread Starter stefanoid3

    (@stefanoid3)

    Thank you for the reply, i’m still working on it. @designextreme are there any options to remove the heading and vicinity without css?

    I tried summary of but it still leaves the gap there..

    Thanks a lot, definitely a review from me

    Plugin Author Design Extreme

    (@designextreme)

    Yes, this is simply:

    [reviews_rating summary=0]

    The entire summary section is removed; it’s not hidden using the stylesheet. The HTML would look something like…

    <div class="google-business-reviews-rating">
    	<ul class="listing">
    		<li class="rating-5">
    			<span class="author-avatar"><a href="#" target="_blank"><img src="photo.jpg" alt="Avatar"></a></span>
    			<span class="author-name"><a href="#" target="_blank">Alpha</a></span>
    			<span class="rating">★★★★★</span>
    			<span class="relative-time-description">a week ago</span>
    			<div class="text">Review text goes here</div>
    		</li>
    		<li class="rating-5">
    			<span class="author-avatar"><a href="#" target="_blank"><img src="photo.jpg" alt="Avatar"></a></span>
    			<span class="author-name"><a href="#" target="_blank">Beta</a></span>
    			<span class="rating">★★★★★</span>
    			<span class="relative-time-description">a week ago</span>
    			<div class="text">Some different review text goes here</div>
    		</li>
    	</ul>
    	<p class="attribution"><span class="powered-by-google"></span></p>
    </div>
    Plugin Author Design Extreme

    (@designextreme)

    @stefanoid3 Thanks for the ★★★★★ review!

    If you wish, you can send me a URL of the page you’re editing? I would like to see how the stylesheet is leaving a gap.

    Plugin Author Design Extreme

    (@designextreme)

    @stefanoid3 In version 2.2, I’ve added new themes to support 2, 3 and 4 column views. Enjoy!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Styling’ is closed to new replies.