• Hi, I am making a request to improve the markup of this plugin by removing the empty clearfix div you insert before the #comments container in wpDiscuz/themes/comment-form.php.

    <div class="wpdiscuz_top_clearing"></div>

    This is causing a conflict with one of our other comment plugins and removing this div is truly the simplest answer, and can also help improve your own plugin by removing this unnecessary div.

    Here’s a screenshot of the source code from having WP Discuz installed:

    https://i.ibb.co/mTxvp3z/Screen-Shot-2020-12-07-at-10-02-56-PM.png

    If this is not possible I have another suggestion, and forgive me if this is a theme issue, but it would be more proper for your plugin to insert the WPDiscuz markup (including the clearfix) into the #comments container and not outside of it.

    Let me know what the best course of action here is, and if there’s something better I can do than manually remove the clearfix from the plugin file myself. Thank you for your time!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support gVectors Support

    (@gvectorssupportmember)

    Hi @alexmangini,

    You can remove the div mentioned above, by customizing the wpDiscuz plugin. More info here: https://wpdiscuz.com/docs/wpdiscuz-7/customization/custom-template-and-style/

    Also please note, there were conflicts with the themes, thus we will add that div, and it can’t be deleted by our side.

    Thread Starter kolakube

    (@alexmangini)

    Do you think it is better for your customers to duplicate the entire comments form theme files just to remove one line of code that is by all modern considerations a hack? This is going to cause even more issues down the road, and it would benefit your plugin greatly if you found a better solution than your current approach.

    • This reply was modified 3 years, 11 months ago by kolakube.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Suggestion: remove wpdiscuz_top_clearing div’ is closed to new replies.