Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design Image with description

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #271859
    isendersms
    Participant

    I really got crazy of trying to put the share image description below to the image, and keeping the images one close the other by “inline-block”.
    I success to put the description below the image, but for some reason now the images is one below the other, instead of one near the other.

    I setted the div as “inline-block” but still, it doesn’t help

    https://codepen.io/xOldeVx/pen/vrEdwy

    #271862
    JeroenR
    Participant

    Try it like this, I removed the display: inline-block; from the .modal-body class.
    Because that container is not the one you want to align.

    I added wrapper DIVs around the parts you want to align, so the anchor and image together with the paragraph are wrapped in a DIV with class item.

    Then I added the styling for that class, being display: inline-block;.

    https://codepen.io/anon/pen/eKmKeL

    #271868
    isendersms
    Participant

    thanks you!!

    #272033
    giaminh2911
    Participant

    I do like you but it done

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design’ is closed to new topics and replies.