WordPress.org

Ready to get started?Download WordPress

Forums

Medicine
Limit showroom on mobile (3 posts)

  1. ThomasMark
    Member
    Posted 5 months ago #

    Hi there.

    Is there a way of limiting the number of show room's displayed on mobile devices?

    For example on a computer I want 4 showrooms which will fill the template horizontally which makes it look full and great. However, when looking on a mobile the 4th showroom title goes onto a new line, I don't want this.

    Thanks.

  2. LizardThemes
    Member
    Theme Author

    Posted 5 months ago #

    Hi!
    Unfortunately, this is impossible to do. It is not customizable.

  3. ThomasMark
    Member
    Posted 5 months ago #

    Hi.
    I have achieved this via CSS. If you want to do this you can add this line.

    @media all and (max-device-width: 768px) { /* IPAD */
    .showroom-block{ padding:0; max-width:768px; max-height:180px; overflow: hidden;}
    }

    This hides any additional rows below row one on an iPad. I haven't tested this on any other tablet device, is anyone able to test this for me? I'm currently using an iPad Mini.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.