How you can Create a Scroll Container for Your Divi Feedback Module

by | Dec 7, 2022 | Etcetera | 0 comments

The comments phase of a blog post lets in readers to engage with others. It moreover lets in consumers so to create conversations with people who are eating your commentary. For those specific posts that drum up numerous noise, the comments phase can get beautiful being worried! It’s worthwhile to wish to give you the option to make a longer comments phase more uncomplicated to navigate. Imagine rising scrollable comments in Divi!

By the use of creating a scroll container on your Divi Feedback Module, you’ll be capable of lower the volume of scrolling readers of your blog wish to undergo. Thus, they’ve a better enjoy along side your internet web page. It’s necessary to consider components of client enjoy when you find yourself building your internet web page, and by the use of together with a scrollable commentary in Divi you’re making your readers have an more uncomplicated time participating on your internet web page which is always a excellent issue.

Why Comments Are a Superb Issue

Forward of we head into the training, let’s take a quick check out comments most often. In Divi, we’ve a Comments Module. This module lets in consumers of your internet web page to go away a marginally upon a internet web page or post. The module moreover lets in folks to be informed earlier comments which were left behind on a post by the use of other readers of your internet web page. When a post is attractive, it would most definitely encourage folks to wish to leave their concepts, evaluations, and questions with the creator (a.ok.a you) underneath the post. This is an example of what that looks like from the Elegant Matter issues blog:

A sample of the Elegant Themes comments section

That’s the comments phase on the 3 Absolute best Voice Seek Plugins for WordPress post on our blog. In it, you’ll be capable of see that quite a few readers have left feedback, thanks, and further. The post’s creator has moreover taken the time to respond to readers. This kind of engagement is excellent on your blog and web page because it displays that you simply’re providing price to you readers. In addition to, it’s serving to you assemble a stronger bond with those who use and consult with your internet web page. Now that we’ve noticed comments throughout the wild, let’s see how we can arrange the comments phase in our private blog posts the use of Divi’s Comments Module.

See also  5 eCommerce Personalization Concepts for WooCommerce

Scrollable Comments in Divi: An Evaluation

For this educational, we’ll be the use of the Weblog Put up Template from Divi’s Instrument Structure Pack. Proper right here’s a quick analysis of the template:

The Software Blog Post Template... Very long!

Know the way there are a few comments on this post? We will be able to make this part of our blog internet web page more uncomplicated to navigate by the use of together with a vertical scrollbar. For this educational, we’ll be together with a vertical scrollbar to the row that is holding the Observation Module. Then, we’ll use just a little of little little bit of CSS to style mentioned scrollbar so it sort of feels to be rather than the principle scrollbar for the internet web page. Able? Let’s get into it!

Scrollable Comments in Divi: The Tutorial

Forward of we get started on rising scrollable comments in Divi with the Comments Module, you’re going to wish to arrange the Instrument Weblog Put up Template. Follow the instructions within that blog post to position on your Blog Submit Template.

Enter the Comments Row Settings

Once your template is installed and edited to your pleasure, we’re going to enter into the row that is holding the Comments Module. Scroll down to the phase that accommodates the Comments Module. Hover over the row (green outline), and click on on on the apparatus icon. This will likely most probably open up the settings module for the row.

Enter the row settings

Set Row Max Most sensible

Forward of we commence styling or activating the scrolling, we wish to adjust the max top for the row. To try this, we click on on on the Design tab. Next, we click on on on the Sizing tab. We then enter a Max Most sensible of 550px to the Max Most sensible chance.

See also  Download a FREE Header and Footer Template for Divi’s NGO Layout Pack

Adding max height to row

Enter Row Sophisticated Settings

After setting the max top of the row, we’re going to click on on on the Sophisticated tab all through the modal box. It’s correct right here that the scrolling magic happens! Take into accout of the Vertical Overflow chance which is further down the Sophisticated tab. We’ll be coming once more to that temporarily.

Enter the Advanced tab within the row settings modal box

Flip at the Vertical Scrollbar with Vertical Overflow

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

Activate vertical scrollbars by setting the Vertical Overflow to Scroll

While we’ve our vertical scrollbar, we can spruce it up just a little of with some almighty CSS and padding.

Together with Padding to Prevent Overlap

To forestall our newly added scrollbar from overlapping with our buttons within our comments phase, we’re going so that you could upload some padding to the proper and left-hand sides of our row. To try this, navigate to the Design tab of the Row Settings modal. Next, scroll correct all the way down to Spacing. Click on at the link icon between the Left and Right kind Padding text containers. We’re going to add a padding of 55px to each and every side of the row.

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

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

Add a CSS ID to the Row

Moving once more to the Sophisticated tab of the row, scroll to the perfect. Add your CSS ID – for this educational, we’ll be the use of scrollie – that we’ll be calling all through the Custom designed CSS phase throughout the Body Template Settings.

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

Add Custom designed CSS to Style Scrollbars

Now, we’ll be entering into the Custom designed CSS for our Blog Submit Template. This will likely most probably ensure that our CSS may well be energetic on each and every blog post within our web page as this template is applied to All Blog Posts all through the Divi Theme Builder. To enter the Custom designed CSS setting for our body template, click on on on the 3 dots all through the crimson button throughout the bottom heart of the builder. Next, make a choice the apparatus icon.

Entering page settings for Custom CSS

Add Custom designed CSS to Style Scrollable Comments in Divi

We wish to style the scrollbar for our scroll container to tell apart it’s use from the principle scrollbars of our browsers window. To try this, we’ll be the use of some CSS. Once you’re all through the Body Template Settings, make a choice the Sophisticated Tab. Next, scroll correct all the way down to the Custom designed CSS tab.

See also  How To Upload Social Login To WordPress (The Simple Approach)

Entering the Advanced section of the Body Page Template

Once we’re throughout the Custom designed CSS phase of the Body Internet web page Template, reproduction and paste the following CSS code:

/* Custom designed 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 solid #ffffff;
}

Custom CSS for scrollable comments in Divi

Must you used a definite CSS ID, just be sure you’ve up-to-the-minute the code snippet within your web page to duplicate this. You’ll be capable of edit the CSS or add to it to style your borders one way or the other that matches your brand and web page. In our case, we went with a flat design to match the styling of the Divi Software Construction Pack.

Save Your Blog Submit Template

Whilst you’re happy along side your CSS edits, be mindful to avoid wasting a whole lot of your Blog Internet web page Template. Click on on on the green Save button on the bottom right-hand side of the bottom menu all through the Divi Theme Builder.

Save your work!

Once your settings are saved, consult with your newly up-to-the-minute comments phase for your blog!

Styled scrollable comments in Divi

Scrollable Comments in Divi: The Conclusion

Creating a scroll container for Your Divi Comments Module helps your consumers to have a better enjoy along side your comments phase. Particular person engagement is an important factor to nurture within your blog. By the use of making your Comments Module scrollable, you’re providing ease of use on your readers when they come to enjoy your quite a lot of blog posts.

The post How you can Create a Scroll Container for Your Divi Feedback Module appeared first on Sublime Subject matters Weblog.

WordPress Web Design

[ continue ]

WordPress Maintenance Plans | WordPress Hosting

read more

0 Comments

Submit a Comment

DON'T LET YOUR WEBSITE GET DESTROYED BY HACKERS!

Get your FREE copy of our Cyber Security for WordPress® whitepaper.

You'll also get exclusive access to discounts that are only found at the bottom of our WP CyberSec whitepaper.

You have Successfully Subscribed!