• Resolved imagedpi

    (@imagedpi)


    I started using your great plugin a few hours ago. Would you please help me with 2 things? I couldn’t find an answer in the forums.

    1. I would like to customize the description text inside the fields of “Submit your Review” in the widget. I had to make the right sidebar much wider to make all the description text visible.

    2. Is it possible to change the pagination title “Site Review navigation”? I would like to use “read More Reviews” for example.

    3. I would like to add a thin line that separates the reviews. Can this be done?

    I appreciate any help you can give me. Thanks!

    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)

    1. You can customise any of the text in Site Reviews. If you go to the plugin settings, there is a section called “Translations”. Search there for the text you wish to change and then add your own.
    2. That text actually exists for screen readers (assistive devices for blind people) and WordPress themes are supposed to hide the .screen-reader-text CSS class which would hide this text from view.
    3. This can easily be done with custom CSS. Many themes allow you to add custom CSS, but if yours does not, you can use a plugin such as Simple Custom CSS or Custom CSS Pro.

    Below are some custom CSS rules that will fix #2 and add #3:

    
    .glsr-reviews .screen-reader-text {
        position: absolute;
        height: 1px;
        width: 1px;
        border: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        word-wrap: normal !important;
        padding: 0;
        margin: -1px;
    }
    
    .glsr-review:first-child {
        border: none;
        margin-bottom: 1.5em !important;
    }
    
    .glsr-review:not(:first-child) {
        border-top: 1px solid rgba(0,0,0,.075);
        padding-top: 1.5em;
        margin-bottom: 1.5em !important;
    }
    

    I hope this helps.

    Plugin Author Gemini Labs

    (@geminilabs)

    Also, since you are using ajax pagination, you may want to add the following function to your theme’s functions.php file:

    
    /**
     * Add this to your theme's functions.php file if you are using 
     * ajax pagination with a theme that uses a fixed menu bar
     */
    add_filter( 'site-reviews/enqueue/localize', function( array $variables ) {
        $fixedElementSelector = '#Top_bar'; // change this to the CSS selector of your fixed menu.
        array_push( $variables['ajaxpagination'], $fixedElementSelector );
        return $variables;
    });
    

    And then add the following custom CSS to fix your sticky menubar:

    
    @media only screen and (min-width: 1240px) {
        #Top_bar .logo img {
            vertical-align: middle;
        }
        #Top_bar.is-sticky .logo {
            border-width: 0;
        }
        #Top_bar.is-sticky {
            min-height: 60px;
            height: auto;
        }
    }
    
    • This reply was modified 7 years, 3 months ago by Gemini Labs.
    Thread Starter imagedpi

    (@imagedpi)

    Thank you so much! And sorry for the late reply. I didn’t get an email notification when you sent your messages.

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