How to Create a Scroll Container for Your Divi Comments Module

by | Dec 7, 2022 | Etcetera | 0 comments

The feedback segment of a weblog put up permits readers to interact with others. It additionally permits customers so to create conversations with people who find themselves consuming your remark. For the ones particular posts that drum up a large number of noise, the feedback segment can get beautiful aggravating! It’s possible you’ll need to give you the chance to make an extended feedback segment more straightforward to navigate. Believe growing scrollable feedback in Divi!

Through making a scroll container on your Divi Comments Module, you’ll be able to reduce the volume of scrolling readers of your weblog wish to go through. Thus, they have got a greater enjoy along with your website online. It’s necessary to believe elements of consumer enjoy if you find yourself construction your website online, and by way of including a scrollable remark in Divi you’re making your readers have an more straightforward time playing your website online which is at all times a excellent factor.

Why Feedback Are a Just right Factor

Prior to we head into the educational, let’s take a handy guide a rough have a look at feedback normally. In Divi, we’ve a Feedback Module. This module permits customers of your website online to go away a touch upon a web page or put up. The module additionally permits other folks to learn previous feedback which have been left at the back of on a put up by way of different readers of your website online. When a put up is enticing, it might probably inspire other folks to need to depart their ideas, evaluations, and questions with the writer (a.ok.a you) beneath the put up. That is an instance of what that appears like from the Sublime Topics weblog:

A sample of the Elegant Themes comments section

That is the feedback segment at the 3 Best Voice Search Plugins for WordPress put up on our weblog. In it, you’ll be able to see that a number of readers have left comments, thank you, and extra. The put up’s writer has additionally taken the time to answer readers. This sort of engagement is excellent on your weblog and site as it displays that you’re offering worth to you readers. As well as, it is helping you construct a more potent bond with those that use and talk over with your website online. Now that we’ve observed feedback within the wild, let’s see how we will set up the feedback segment in our personal weblog posts the use of Divi’s Feedback Module.

See also  Divi Plugin Highlight: Homepage 25 Divi Layout Pack

Scrollable Feedback in Divi: An Review

For this educational, we’ll be the use of the Blog Post Template from Divi’s Software Layout Pack. Right here’s a handy guide a rough review of the template:

The Software Blog Post Template... Very long!

Realize how there are a couple of feedback in this put up? We will make this a part of our weblog web page more straightforward to navigate by way of including a vertical scrollbar. For this educational, we’ll be including a vertical scrollbar to the row this is conserving the Remark Module. Then, we’ll use just a little little bit of CSS to taste mentioned scrollbar so it appears other than the principle scrollbar for the web page. Able? Let’s get into it!

Scrollable Feedback in Divi: The Educational

Prior to we get began on growing scrollable feedback in Divi with the Feedback Module, you’re going to wish to set up the Software Blog Post Template. Observe the directions inside of that weblog put up to put in your Weblog Submit Template.

Input the Feedback Row Settings

As soon as your template is put in and edited in your delight, we’re going to go into into the row this is conserving the Feedback Module. Scroll down to the segment that incorporates the Feedback Module. Hover over the row (inexperienced define), and click on at the tools icon. This may open up the settings module for the row.

Enter the row settings

Set Row Max Top

Prior to we commence styling or activating the scrolling, we wish to alter the max top for the row. To do that, we click on at the Design tab. Subsequent, we click on at the Sizing tab. We then input a Max Top of 550px to the Max Top possibility.

Adding max height to row

Input Row Complex Settings

After environment the max top of the row, we’re going to click on at the Complex tab throughout the modal field. It’s right here that the scrolling magic occurs! Bear in mind of the Vertical Overflow possibility which is additional down the Complex tab. We’ll be coming again to that quickly.

See also  How to Assign a Different Blog Post Template to Specific Posts with Divi

Enter the Advanced tab within the row settings modal box

Turn on the Vertical Scrollbar with Vertical Overflow

Scroll down util you arrive at Vertical Overflow. Click on at the dropdown and make a choice Scroll.

Activate vertical scrollbars by setting the Vertical Overflow to Scroll

Whilst we’ve our vertical scrollbar, we will spruce it up slightly with some almighty CSS and padding.

Including Padding to Save you Overlap

To stop our newly added scrollbar from overlapping with our buttons inside of our feedback segment, we’re going so as to add some padding to the precise and left-hand facets of our row. To do that, navigate to the Design tab of the Row Settings modal. Subsequent, scroll all the way down to Spacing. Click on the hyperlink icon between the Left and Proper Padding textual content bins. We’re going to upload a padding of 55px to every aspect of the row.

Adding padding to row to prevent scrollbar from overlapping over Comments Module

Since we’ve added some respiring house to our scrollbar, let’s now make it beautiful with some customized CSS.

Upload a CSS ID to the Row

Transferring again to the Complex tab of the row, scroll to the highest. Upload your CSS ID – for this educational, we’ll be the use of scrollie – that we’ll be calling throughout the Customized CSS segment within the Frame Template Settings.

Add CSS ID to row to prepare for styling scrollable comments in Divi

Upload Customized CSS to Taste Scrollbars

Now, we’ll be coming into into the Customized CSS for our Weblog Submit Template. This may make sure that our CSS will probably be lively on every weblog put up inside of our site as this template is implemented to All Weblog Posts throughout the Divi Theme Builder. To go into the Customized CSS environment for our frame template, click on at the 3 dots throughout the pink button within the backside middle of the builder. Subsequent, make a choice the tools icon.

Entering page settings for Custom CSS

Upload Customized CSS to Taste Scrollable Feedback in Divi

We need to taste the scrollbar for our scroll container to tell apart it’s use from the principle scrollbars of our browsers window. To do that, we’ll be the use of some CSS. As soon as you might be throughout the Frame Template Settings, make a choice the Complex Tab. Subsequent, scroll all the way down to the Customized CSS tab.

See also  WP Engine Acquires Common Scrumptious Brains WordPress Plugins Together with Developer Favourite Complex Customized Fields

Entering the Advanced section of the Body Page Template

After we’re within the Customized CSS segment of the Frame Web page Template, replica and paste the next CSS code:

/* Customized Scrollbar CSS */
/* Firefox */
#scrollie {
scrollbar-width: auto;
scrollbar-color: #000000 #ffffff;

/* Chrome, Edge, and Safari */
#scrollie::-webkit-scrollbar {
width: 16px;

#scrollie::-webkit-scrollbar-track {
background: #ffffff;

#scrollie::-webkit-scrollbar-thumb {
background-color: #000000;
border-radius: 0px;
border: 3px forged #ffffff;

Custom CSS for scrollable comments in Divi

In the event you used a unique CSS ID, make sure that you’ve up to date the code snippet inside of your site to replicate this. You’ll be able to edit the CSS or upload to it to taste your borders in some way that fits your logo and site. In our case, we went with a flat design to compare the styling of the Divi Tool Format Pack.

Save Your Weblog Submit Template

When you’re glad along with your CSS edits, bear in mind to avoid wasting your Weblog Web page Template. Click on at the inexperienced Save button at the backside right-hand aspect of the ground menu throughout the Divi Theme Builder.

Save your work!

As soon as your settings are stored, talk over with your newly up to date feedback segment to your weblog!

Styled scrollable comments in Divi

Scrollable Feedback in Divi: The Conclusion

Making a scroll container for Your Divi Feedback Module is helping your customers to have a greater enjoy along with your feedback segment. Person engagement is crucial issue to nurture inside of your weblog. Through making your Feedback Module scrollable, you might be offering ease of use on your readers once they come to revel in your quite a lot of weblog posts.

The put up How to Create a Scroll Container for Your Divi Comments Module gave the impression first on Elegant Themes Blog.

WordPress Maintenance Plans | WordPress Hosting

read more


Submit a Comment

Your email address will not be published. Required fields are marked *