Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #459100

    Can you please provide me with some quick css to center the title & caption in all of my masonry galleries please? Thanks!

    #459116

    Hi djshortkut!

    Please add the following to your custom CSS

    .avia_desktop.avia_transform3d .av-caption-on-hover .av-masonry-entry.av-masonry-item-with-image:hover .av-inner-masonry-content {
        text-align: center;
    }

    Let us know if u need anything else

    Cheers!
    Basilis

    #459474

    Thanks Basilis! That works great except I noticed one thing that is strange. When I hover over each masonry gallery item the text shows up centered like I want it to but then when I move the mouse to the next item, the text on the previous item returns back to the left. before the next title and caption show up. Is there a way to make it so this doesn’t happen?

    #459477

    Hi!

    Please change the code to following one

    .avia_desktop.avia_transform3d .av-caption-on-hover .av-masonry-entry.av-masonry-item-with-image .av-inner-masonry-content {
        text-align: center;
    }

    Regards,
    Yigit

    #459486

    Thanks Yigit, that did it! You can close this thread.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Center Title & Caption in Masonry Gallery’ is closed to new replies.