-
AuthorPosts
-
February 27, 2016 at 1:47 pm #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
-
This topic was modified 9 years, 8 months ago by
Mathuseo.
March 1, 2016 at 5:01 am #591324Hey Marcel,
Could you provide us with a link to the site in question so that we can take a closer look please?
Regards,
RikardMarch 1, 2016 at 8:31 am #591401Hi Rikard,
yes, here it is.
March 3, 2016 at 3:29 pm #592643Any idea how to solve that?
March 3, 2016 at 6:59 pm #592805Hi!
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!
YigitMarch 3, 2016 at 7:34 pm #592845Hi 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 9 years, 7 months ago by
Mathuseo.
March 3, 2016 at 7:53 pm #592868Hey!
Please change the code to following one
#after_masonry, #after_masonry .content { height: 0; padding: 0px; border: none; margin-top: -1px; }Best regards,
YigitMarch 3, 2016 at 7:58 pm #592876Works fine. Thank you very much! :)
Best,
Marcel -
This topic was modified 9 years, 8 months ago by
-
AuthorPosts
- The topic ‘Add Anchor to Masonry Gallery’ is closed to new replies.
