• Resolved johndoe2023

    (@johndoe2023)


    Currently working on developing a page for someone and was wondering how you center the content for reviews? Right now it is all left aligned, is there any way to center align it?

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

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

    (@geminilabs)

    Since you are using Elementor:

    1. Edit the Latest Reviews widget
    2. Click the Advanced tab of the widget
    3. Add the Custom CSS:
    .glsr-review {
        justify-content: center;
        text-align: center;
    }
    .glsr-review .glsr-review-date {
        flex: inherit;
    }
    Thread Starter johndoe2023

    (@johndoe2023)

    I don’t have elementor Pro, but there is a section in the “Content” tab called “Advanced” which has space for “Additional CSS classes”. What does this do? When I copy and paste your code into that section it just italicizes the review.

    Plugin Author Gemini Labs

    (@geminilabs)

    In that case, add a CSS class to your Latest Reviews widget (do this in the Elementor widget options), and then add the following Custom CSS to your website (either using the WordPress Customizer, of using on of the many CSS snippets plugin).

    Assuming your CSS class is center-reviews:

    .center-reviews .glsr-review {
        justify-content: center;
        text-align: center;
    }
    .center-reviews .glsr-review .glsr-review-date {
        flex: inherit;
    }
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Centering content’ is closed to new replies.