Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

[Resolved] Images too small on mobile view

Home Forums Support [Resolved] Images too small on mobile view

Home Forums Support Images too small on mobile view

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #383286
    Sarah

    Hi, I’m just working on a page and am using Lightweight Grid columns to display a tick in one column and the content related to it beside it.

    It displays fine in Desktop and Tablet view but when I check it on mobile phone view the ticks go so super small, you can’t tell what they are.

    Can you take a look for me please?
    https://clearfocus.consulting/new-home-page/

    Thanks!
    Sarah

    #383561
    Tom
    Lead Developer
    Lead Developer

    Hi Sarah,

    LGC is probably overkill for something like this.

    Try this instead:

    <div class="list-row">
        <div class="list-arrow">IMAGE HTML IN HERe</div>
        <div class="list-text">Text in here</div>
    </div>

    Then add this:

    .list-row > div {
        display: inline-block;
    }
    #383638
    Sarah

    Hi Tom, I just tried that on https://clearfocus.consulting/new-home-page/ but it’s looking damn ugly! Can you take a look? I appreciate your help! πŸ™‚

    #383647
    Tom
    Lead Developer
    Lead Developer

    Ha, scratch that then.

    Use this CSS instead:

    .list-row {
        clear: both;
        margin-bottom: 30px;
    }
    
    .list-row .list-arrow {
        float: left;
        margin-right: 20px;
    }
    
    .list-text {
        overflow: hidden;
    }
    #383820
    Sarah

    You beaut! That works perfectly. Thanks Tom πŸ˜€

    #384040
    Tom
    Lead Developer
    Lead Developer

    You’re welcome πŸ™‚

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