Home Forums Art HTML Theme ART HTML Theme

This topic contains 1 reply, has 2 voices, and was last updated by  BWSM 4 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14668

    Bartek
    Participant

    Hello,
    I ask here, because there is no category for ART HTML theme.

    I have the following question:
    How to display vertical image in good proportions using project-item-2cols-gallery-left.html?
    Currently image is cut to horizontal. Lightbox shows image with incorrect proportions.

    Best Regards,
    Bartek

    • This topic was modified 4 months, 2 weeks ago by  BWSM.
    #14675

    BWSM
    Keymaster

    Hi,

    Please make sure:

    1. the data-size is same as image size
    2. the width/height same as image size
    3. padding-top is image height/width * 100

    <a title="" class="lightbox-item" href="http://image.jpg" data-size="1260x640">
                 <span style=" padding-top: 50.793650793651%;" class="ux-lazyload-wrap" >
                               <img width="1260" height="640" alt="RAW_byfutura" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="http://image.jpg" class="list-layout-img gallery-images-img ux-lazyload-img lazy">

    If still not work, please leave your page url

    Regards!
    Bwsm – uiueux.comTwitterFacebook

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.