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

    Hi

    A while ago you gave me this Custom CSS bellow to control Gap pixels in Masonry Entries *Galerry based on Pages) and it works fine. But i it doesnt work for Regular Masonry Gallery when i insert it inside a page/portfolio. Could you please indicte what do i have to change and what to add if i only want to be active only in certain galleries *Custom CSS Class”

    Thank you very muuch

    Please set it to 1px and then add following code to Quick CSS as well

    .av-1px-gap.av-fixed-size .av-masonry-entry .av-inner-masonry {
    position: absolute;
    right: 3px;
    bottom: 3px;
    }

    #653441

    Hi

    Any Update?

    Thank you

    #653455

    Hi,

    We are very sorry for the delay.

    Please use this:

    .av-1px-gap.av-flex-size .av-masonry-entry .av-inner-masonry {
        position: relative;
        margin-right: 3px;
        margin-bottom: 3px;
    }

    Best regards,
    Ismael

    #655930

    Hi

    What if i need to apply this CSS to specific pages i just have to add this?

    .my-custom-css .av-1px-gap.av-flex-size .av-masonry-entry .av-inner-masonry {
    position: relative;
    margin-right: 3px;
    margin-bottom: 3px;
    }

    Thank you very much

    #656082

    Hi,

    To target specific page on wordpress please right click inspect the page and check the class name in the <body> tag that starts with page-id-xx. Each page will have a different page ID please use this class name to target specific pages.

    Best regards,
    Vinay

    #656125

    Hi

    So i cannot do it in Custom CSS Class related to that galerry with .my-custom-class xxxxx only with page id? Because if its for 3 pages i will have to insert 3 custom css.

    Thank you

    #656577

    Hi!

    You can add Code Block element to those pages and then add the code inside it as following

    <style>.av-1px-gap.av-flex-size .av-masonry-entry .av-inner-masonry {
        position: relative;
        margin-right: 3px;
        margin-bottom: 3px;
    }</style>
    

    Regards,
    Yigit

    #660938

    Hi

    Sorry to get back to this post. Now i had to us it it didnt work. I tried with both CSS and in code block but the space is always the same

    Thank you

    #661422

    Hi,

    Can you please try giving your element a custom CSS class (i believe it is already enabled on your installation but in case it is not, please see – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ ) and then change the code to following one

    .my-custom-css .av-inner-masonry {
    position: relative !important;
    margin-right: 3px !important;
    margin-bottom: 3px !important;
    }

    Best regards,
    Yigit

    #664093

    Hi Yigit

    Last provided code work fine as long as i select Flexible Masonry in size setting. If i choose Perfect Grid or Perfect Masonry in size options images are just not shown.
    I tried it with same size images and it works but not when you have different sizes

    Thank you very much

    #664939

    Hi,

    And i suppose we would like to display different sized images? :)
    If so, could you please post the link to an example page?

    Best regards,
    Yigit

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.