Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1142769

    Hi,
    I have created a custom footer for a site that I am working on.
    The front page of the site has a “no transparency” header, the next page I am working on has a “transparent” header.

    I have just noticed that making the header transparent increases the footer height from 432px to 520px.

    How can I stop this from happening? The custom footer is in a colour section and I’ve tried setting a custom height to 432px in the element to stop this happening, but nothing changes.

    I can see some code which adds the extra pixels:

    .html_header_transparency #top .avia-builder-el-0 .container, .html_header_transparency #top .avia-builder-el-0 .slideshow_caption {
        padding-top: 88px;
    }

    Is it just a matter of copying this into Quick CSS and changing the padding-top to 0px, or is the answer more complex.

    Help, as always, is appreciated.

    (EDIT: I did have this problem once before, but that solution isn’t working for me now)

    #1142772

    Scrap that, I think I’ve fixed it by changing the # to .

    What’s the difference between a # and . in CSS. Is this code okay to use?

    .myfooter .container {
      padding-top: 0px!important; 
    }
    #1142811

    Hi,

    Hash symbol is an ID. Period is a Class.

    You code above is just fine. It’s targeting the correct class.

    Best regards,
    Jordan Shannon

    #1142812

    Awesome, thanks Jordan!

    #1142817

    Hi,

    No problem at all. If you need addition help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Problem with Custom Footer Top Padding’ is closed to new replies.