[Support request] Remove padding for a single right sidebar widget

Home Forums Support [Support request] Remove padding for a single right sidebar widget

Home Forums Support Remove padding for a single right sidebar widget

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #814758
    Remco

    Hi Guys,
    As the title states, I would like to remove the padding, but only for a single widget on the right sidebar.
    Could anyone point me in the right direction of how to acomplish that!
    Thanks 🙂

    #814788
    David
    Staff
    Customer Support

    Hi there,

    if it is the first widget then this CSS:

    .inside-right-sidebar .widget:first-child {
        padding: 0;
    }
    
    .inside-right-sidebar .widget:first-child img {
        vertical-align: middle;
    }

    The second rule is only required if it contains an image, it gets rid of some extra space below it.

    If its the second widget for example then the CSS selctor will look like this:

    .inside-right-sidebar .widget:nth-child(2) {

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.