Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #926857

    Hello
    I posted this recently –

    The css you sent works well as the last widget before the footer on a page but now I’m trying to place a widget directly under the header.
    I can’t seem to get the bottom padding or margin to be 0px. There appears to be 50px below that I can’t target. I’ve tried negative px, eg, -20px, etc but the extra height appears to be in another element.
    Here’s a snaggy link –
    https://snag.gy/bLoqG6.jpg
    The area I’m working on is the black band with the horizontal logo – you can see that the top is right at 0px but not the bottom, even though I’ve added in this css –

    /* custom header widget for horizontal logo */

    .template-page.content.av-content-full.alpha.units {
    padding-top: 0px!important;
    padding-bottom: 0px!important;
    }

    .horizontalLogo {
    width: 100% !important;
    height: auto !important;
    padding: 0px !important;
    margin: 0px !important;
    }

    Thank you in advance :)

    #926914

    Hi again
    I noticed that this css –

    .template-page.content.av-content-full.alpha.units {
    /* padding-top: 0px!important;
    padding-bottom: 0px!important; */
    }

    Was effecting all sections on the page so I need to target just the first one with the horizontal logo under the header, and I need to also make that widget background black, please. Thanks again!

    #927695

    Hi,

    Happy you got it short out!

    Best regards,
    Basilis

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Follow up to adjusting margins or padding in a widget.’ is closed to new replies.