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
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
Hi Rikard,
yes, here it is.
Any idea how to solve that?
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
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.
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
Works fine. Thank you very much! :)
Best,
Marcel