Support » Fixing WordPress » Padding Adding Rectangle

  • Hello! When I add padding to my columns on this page, on certain ones, I’m getting a rectangle next to it in what would be the next column but I don’t want a 2nd column. I have no idea what’s causing it but I can only assume I made a CSS error along the way. Any idea how I can keep the padding but get rid of those rogue white rectangles? Thanks in advance!

    • This topic was modified 8 months, 3 weeks ago by  ginmonty.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    Remove the padding from the div itself and pad the contents

    .wpb_wrapper p {
        padding-left: 1em;
        padding-right: 1em;
    }

    Thanks @sterndata. That works for the side padding but I need padding at the bottom of the div and even when I pad the elements and add it to the bottom, I’m still getting the additional rectangle showing up to the side.

    Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    When you pad the div, it becomes non-zero in height and thus visible. It appears you’re using a commercial plugin, WP Bakery, to add those divs. Try removing the one(s) on the right.

    If you need assistance with that, please contact their support directly as commercial plugins are not supported in these forums.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Padding Adding Rectangle’ is closed to new replies.