Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #89302
    Mupa
    Participant

    I want to align 5 pictures in the HTML-Text widget so that they are always in one line, as well in desktop mode as in mobile mode.
    I tried to use the width=20% statement for all pictures. The problem is, it works only if i use width=19% for all pictures. If i use width=20%, then the last picture appears in the 2. line. But then i don’t have pixel perfect alignment cause of the missing 5%.
    Why is it so?

    #89346
    Mahesh
    Participant

    @mupa: For that, add the following Custom CSS:

    .widget_text .textwidget img {
        float: left;
        width: 20%;
    }

    Let me know if any issue occurs.
    Regards,
    Mahesh

    #89375
    Mupa
    Participant

    This works great, thx a lot.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘alignment of pictures so that they always appear in one line’ is closed to new replies.