Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #428150

    On ipad i have a problem with some boxes.

    They get on top of each other you can see it on – http://puu.sh/hdvDm/653e13f1b5.png

    http://wif.pt

    #428189

    but you can not prevent this behaviour if your text and headings above haven’t the same count of letters.
    e.g. the one heading has a linebreak long time before the others.

    you can see that the columns above work in the same manner when shrinking the screenwidth of the browser (it might be an accident that for the screenwidth of an landscaped ipad this isn’t so)

    #428191

    did you layout it by columns?
    try to use grid design instead and positioning the avia_buttons on bottom.

    it could be that the grids have all the same hight. ???

    edit: no i guess it will not work because there is a div.flex_cell and in it a div.flex_cell_inner
    the last is not the same hight as the others

    by the way the last image is not the same hight as the others !

    • This reply was modified 9 years, 8 months ago by Guenni007.
    #428193

    Guenni007 thank you for your participation but that isn’t the problem.

    The problem here is that on an ipad in portrait mode the first 4 entries are display has 2 + 2 but the last 5 are displayed together and that made them move on top of each other.

    You can always solve the letter number issue creating css tags for each box and have a min-height. That’s what a i made on the top 4 entries.

    #428204

    again : btw the last image is bigger than the others

    #428211

    I just changed the image. It’s the same size now. Still the problem resides on why with 4 entries it changes to 2 + 2 and with five just put all on the same line

    #428215

    well this is becaus of the media querie rules on line 302

    @media only screen and (min-width: 768px) and (max-width: 989px) {
    .responsive .av_one_fourth.first.el_before_av_one_fourth, .responsive .av_one_fourth.first + .av_one_fourth, .responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth, .responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth + .av_one_fourth, .responsive .av_one_half.first + .av_one_fourth.el_before_av_one_fourth, .responsive .av_one_half.first + .av_one_fourth.el_before_av_one_fourth + .av_one_fourth, .responsive .avia-content-slider-inner .av_one_fourth {
        margin-left: 4%;
        width: 48%;
    }
    .responsive .av_one_fourth.first.el_before_av_one_fourth, .responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth, .responsive .av_one_half.first + .av_one_fourth.el_before_av_one_fourth, .responsive .av_one_fourth.first + .av_one_fourth + .av_one_half, .responsive .avia-content-slider-inner .av_one_fourth.first {
        clear: both;
        margin-left: 0;
    }
    .responsive .av_one_half.first.el_before_av_one_fourth, .responsive .av_one_fourth.first + .av_one_fourth + .av_one_half {
        width: 100%;
    }
    .responsive .av_one_half.first + .av_one_fourth, .responsive .av_one_half.first + .av_one_fourth + .av_one_fourth, .responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth, .responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth + .av_one_fourth, .responsive .av_one_fourth.first + .av_one_fourth + .av_one_half {
        margin-top: 30px;
    }
    }
    

    you can do that for the fifth rules too !

    #428259

    well i usually have in my child-theme functions.php this:
    add_theme_support('avia_template_builder_custom_css');

    to have the possibility to set a css class to alb elements.

    then you can put the columns into a color section with class: “onefifth_special” (this is because otherwise you will change every fifth column in this manner)

    then i put in quick css these lines:

    @media only screen and (min-width: 768px) and (max-width: 989px) {
    .responsive .onefifth_special .av_one_fifth
    {
    margin-left: 2%;
    width: 48%;
    padding-bottom: 30px
    }
    
    .responsive .onefifth_special .av_one_fifth.first.el_before_av_one_fifth, 
    .responsive .onefifth_special .av_one_fifth.first + .av_one_fifth + .av_one_fifth,
    .responsive .onefifth_special .avia-builder-el-last
    {
        clear: both;
        margin-left: 0;
    }
    }

    and you can see the result on : http://webers-testseite.de/enf02/beispiel-seite/

    #428262

    And by the way on my ipad air in portrait direction there are 5 columns aside (not 1/2 1/2) on your site. So i did not see in the beginning what you mean.

    #428972

    hey it seems to work wif.pt and a positiv resonance is good for helpful people ;-)

    #429372

    Hey!

    Thanks for all the helpful input @Guenni007!


    @moreleads
    , do you still need any help?

    Best regards,
    Rikard

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