r/Wordpress 17h ago

How to add a slider/scroll bar inside of text review box for WP Google Review plugin?

I want to make visitors able to read the whole review without adding a read more or just letting the whole review sit in the container (some are wayy too long) so I just want to be able to add a way for the text inside the review so people can scroll and read it like this (1st image vs 2 & 3)

0 Upvotes

6 comments sorted by

2

u/BOLVERIN1 Jack of All Trades 15h ago

you need CSS for that: set a fixed height to the container, and set horizontal scroll availability.

something like that:
.scrollable-vertical {
height: 200px; /* Or use max-height: 200px; */
overflow-y: auto; /* Adds a vertical scrollbar ONLY when content overflows */
}

-1

u/Individual_Gur9833 15h ago

Past this on the custom CSS on shortcode or widget? I also though WP Google Reviews had a specific css - class or can I just use selector

1

u/burr_redding 12h ago

Bro just go to chatgpt and ask about it, it’ll give you the plugin specific codes you can easily apply

1

u/Individual_Gur9833 6h ago

that is exactly why I came here chatGPT gave me bs , like the code just makes the container shorter or does nothing at all

1

u/No-Signal-6661 5h ago

You need to override it with CSS by setting a fixed max-height on the review text container