Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #590232

    Hi,

    to add an anchor to my site, I’ve added a code block between masonry gallery and section.
    In my code block I use this code
    <div id="agentur"></div>
    For CSS I use this code:
    #after_masonry .content { height: 0; padding: 0px; }

    That works fine. Unfortunately there is a little white stripe between masonry gallery and the section. How can I hide them? With CSS “display:none;” is not an option, because the url with anchor (url#anchor) does not more working.

    Screenshot: http://imgur.com/40UgpbA
    Screenshot

    • This topic was modified 8 years, 9 months ago by Mathuseo.
    #591324

    Hey Marcel,

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Regards,
    Rikard

    #591401

    Hi Rikard,

    yes, here it is.

    #592643

    Any idea how to solve that?

    #592805

    Hi!

    Frontend logins did not work for me. Can you please check them once again?
    In the meantime, please try changing your code to following one

    #after_masonry,#after_masonry .content { height: 0; padding: 0px; }

    Cheers!
    Yigit

    #592845

    Hi Yigit,

    I checked the Frontend logins and they worked fine for me. Can you please try again?

    Meantime I changed the CSS from

    #after_masonry .content { height: 0; padding: 0px; }

    To

    #after_masonry, #after_masonry .content { height: 0; padding: 0px; }

    But the white stripe between the sections, where I placed an anchor (code box) are still there.

    • This reply was modified 8 years, 8 months ago by Mathuseo.
    #592868

    Hey!

    Please change the code to following one

    #after_masonry, #after_masonry .content {
        height: 0;
        padding: 0px;
        border: none;
        margin-top: -1px;
    }

    Best regards,
    Yigit

    #592876

    Works fine. Thank you very much! :)

    Best,
    Marcel

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Add Anchor to Masonry Gallery’ is closed to new replies.