Tagged: ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #670186

    My 5 column footer doesn’t break down properly on iPad. It breaks down to 2 columns and is not aligned.

    How can I have it so it simply breaks down into 1 column on tablet?

    #670632

    Hi gerardbao,

    Please try the following in Quick CSS under Enfold–>General Styling:

    @media only screen and (max-width: 989px) and (min-width: 768px) {
    #footer .av_one_fifth {
        margin-left: 0% !important;
        width: 100% !important;
    }
    }

    Thanks,
    Rikard

    #670696

    That helped!
    There seems to be a bit much of empty space now.
    Is there a way we can nearly fill that in?
    Maybe make 2 rows to fit 50%/50% on a row under the logo?
    So it would be
    Logo (column 1)
    Column 2 Column 3
    Column 4 Column 5

    #672161

    Hi,

    Please adjust the code:

    @media only screen and (max-width: 989px) and (min-width: 768px) {
    #footer .av_one_fifth {
        margin-left: 0% !important;
        width: 50% !important;
        min-height: 300px;
    }
    #footer .av_one_fifth:first-child {
        width: 100% !important;
        min-height: 1px;
    }
    }
    

    Best regards,
    Ismael

    #672920

    That helped a little. However the last column breaks down into a separate row instead of the right half.

    See screenshot in private.

    #673553

    first of all:
    on some browsers there are some strange befhaviors on margin settings – so try first a width of 49% for .av_one_fifth in the css code above

    second: i do not see your site but as i know there are after each flex-column a clearing of both sides. It might be a solution to set the clearing only to the first-child , “third-child” , fifth-child and so on .
    There is no third-child nor fifth-child class on those columns so you can play a bit with :nth-child(2n+1) n starts at Zero =0
    so try this here:

    #footer .flex_column::after, .clearfix::after {
        clear: none !important;
    }
    .responsive #footer div .av_one_fifth:nth-child(2n) {
        clear: both !important;
    }
    #footer .av_one_fifth:nth-child(2n+1)::after {
        clear: both !important;
    }
    • This reply was modified 8 years, 4 months ago by Guenni007.
    #673564

    on using the clearing option it might be not neccessary to set the width of the first-child to 100%

    and btw. : with your small lists ( with your nick your site is easy to find :lol) – you can set the rule from 480px on so here is the full code which might work:

    it seems that this rule is enough solution for that problem:

    @media only screen and (min-width: 480px) and (max-width: 989px) {
    #footer .av_one_fifth {
        margin-left: 0% !important;
        width: 50% !important;
        min-height: 300px;
    }
    #footer .av_one_fifth:first-child {
        min-height: 1px;
    }
    .responsive #footer div .av_one_fifth:nth-child(2n) {
        clear: both !important;
    }
    }
    #674043

    Hi,

    Thanks for the suggestions @Guenni007, could you try that out @gerardbao?

    Regards,
    Rikard

    #674425

    Looks great. Thanks!

    #674931

    Hi,

    Great, glad you got it working :-)

    Please open a new thread if you should have any further questions or problems.

    Regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘5 column footer not breaking properly on tablet’ is closed to new replies.