Hi,
I want to have a scroll bar for the review cards on my page if the reviews are longer there will be a scroll bar to read more.
How can I achieve that in Divhunt?
Something like the example in the photo
Hi,
I want to have a scroll bar for the review cards on my page if the reviews are longer there will be a scroll bar to read more.
How can I achieve that in Divhunt?
Something like the example in the photo
Wrap that paragraph in div, and then on that div, set fixed height, like 200px, and set overflow auto. You will get default scrollbar styling.
So now in order to style scrollbar to your needs, use code below that you will put inside of custom code of that div.
Code below will give you some ok styles for scrollabar, and you can play around with it by changing colors or width.
self::-webkit-scrollbar {
width: 5px;
}
self::-webkit-scrollbar-track {
background: #f1f1f1;
}
self::-webkit-scrollbar-thumb {
background: #888;
}