Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1420733
    sandra.i
    Participant

    Hi

    My blog layout is in 3 columns and looks ok on laptops and horizontal tablets, but when the tablet is vertical so that the layout goes from 3 columns to 2, there is some overlap of the 2 columns.

    Could you help me fix this issue?

    The url is: http://www.sandraishkanes.co.uk/news/

    Thanks

    #1420783
    Rupok
    Member

    Hi there,

    Thanks for writing in! I have checked your site and can’t see any overlapping. Would you point us the issue with a screenshot?

    #1421293
    sandra.i
    Participant

    Hi

    I attach a screengrab.

    Thanks

    #1421315
    Rue Nel
    Moderator

    Hello There,

    Thanks for providing the screenshot. The masonry layout needs to initialize and re initialize as you go portrait or landscape on a mobile device. The events on the devices is way more different by just resizing the the browser window or by just using an emulator. Please test it on an actual device so that you will see the actual initialization of the masonry layout especially the columns and its column widths.

    Hope this make sense.

    #1421344
    sandra.i
    Participant

    Hi

    Thanks for you reply.

    It looks exactly the same on my ipad, an actual device, it was easier to send you a screengrab from an emulator, but the problem is just the same on a real device.

    I think there could be a problem with the margins on landscape made.

    Thanks

    #1421388
    Paul R
    Moderator

    Hi,

    You can add this under Custom > Edit Global CSS in the Customizer.

    
    @media (max-width: 979px) and (min-width: 768px) {
    .x-iso-container.cols-3>.hentry {
        width: 48%;
    }
    }
    

    Hope that helps.

    #1421419
    sandra.i
    Participant

    Hi

    No that didn’t do anything.

    I noticed also that the vertical divider lines between the columns are missing, as there should be between the columns and on the left and right sides, as seen in the 3 column layout (see attached screengrab).

    #1421553
    Joao
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks!

    #1422146
    sandra.i
    Participant
    This reply has been marked as private.
    #1422931
    Joao
    Moderator

    Hi There,

    Your blog seems fine, would you mind to clarify what you would like to fix and please provide a screenshot so we can better understand and assist you.

    Thanks!

    #1423521
    sandra.i
    Participant

    Hi

    The problem is that on a portrait ipad, the 2 columns overlap and the dividing lines are missing:

    See screen shot – ‘how it looks’

    The 2 columns should look like the ones in the screen shot here – a screenshot from a landscape ipad so showing 3 column:

    See – ‘How it should look’

    #1424197
    sandra.i
    Participant

    hello…..?

    #1424687
    Rad
    Moderator

    Hi there,

    You have existing custom CSS that adds 0 borders, example

    .blog .x-iso-container.cols-3 > .hentry {
        border-left: 0 solid #d5cece;
        padding: 15px 0 15px 0;
    }

    It’s under this @media block

    @media screen and (max-width: 768px) and (min-width: 320px)

    Now, 767px is for mobile, 768px and above is tablet. That means your CSS also applies to the tablet too, you should change it to 767px for max-width. But don’t change the 768px if it’s min-width.

    Thanks.

    #1426040
    sandra.i
    Participant

    Hi

    Great, that’s fixed it.

    But… now there is a gap in the right hand column, on the right – I attach a screen shot. I haven’t been able to work out why that’s happened – could you have a look?

    Thanks

    #1426124
    Rue Nel
    Moderator

    Hello There,

    Thanks for providing the screenshot. This issue happened because your your width settings. Please have your css code updated and make use of this code instead:

    @media (max-width: 979px) and (min-width: 768px){
      .x-iso-container.cols-3>.hentry {
        width: 49.95%;
      }
    }

    Please let us know if this works out for you.

  • <script> jQuery(function($){ $("#no-reply-1420733 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>