Home Forums WoodMart support forum Brands – Switch Align-to-top for Align-to-middle

Brands – Switch Align-to-top for Align-to-middle

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #99196

    Jeriss Cloud Center
    Participant

    Dear,

    Currently the Brands witget is making a display “align to top” which I find not user friendly at all. How to change this towards “align to middle”?

    Thanks

    #99259

    Hello,

    Enter the row settings and set the content as per your needs http://prntscr.com/m1dpuo

    Best Regards

    #99260

    Jeriss Cloud Center
    Participant

    Hi,

    I applied the row settings as you just said, but it doesn’t make difference.

    #99308

    Hello,

    You need to upload images of the same height. There is no other option.

    Best Regards

    #99734

    Jeriss Cloud Center
    Participant

    Ok thanks

    #99742

    Jeriss Cloud Center
    Participant

    I have tried to put images of same height but then it makes the pictures too small. This workaround does not suit me.

    Please provide me the right CSS code to make the pictures align-to-middle.

    #99813

    Hello,

    Add this code to the Theme settings > custom CSS

    .brands-carousel .owl-stage {
    	display: -webkit-box;
    	display: -ms-flexbox;
    	display: flex;
    	-webkit-box-align: center;
    	-ms-flex-align: center;
    	align-items: center;
    }

    Best Regards

    #99886

    Jeriss Cloud Center
    Participant

    Thanks for the code. However, I just notice a small issue.
    If you look at the following video (https://gevcen.tinytake.com/sf/MzIwNDI4N185NjAyMzU1), you’ll notice that :

    – when the page loads, the brands are first aligned-to-top
    – once page fully loaded, the CSS code then applies and makes it align-to-middle

    Why isn’t it aligned-to-middle from the beginning, upon page loading?

    #99916

    Artem Temos
    Keymaster

    Try to replace it with this code

    .brands-carousel .owl-carousel {
        display: flex;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    #99917

    Artem Temos
    Keymaster

    Sorry, not replace but add to the previous one.

    #99945

    Jeriss Cloud Center
    Participant

    Works great, thanks!

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

The topic ‘Brands – Switch Align-to-top for Align-to-middle’ is closed to new replies.