Streaming live at 10am (PST)

Padding appears in published site but not when previewing


#1

I'm having a problem with what seems like padding that's appearing between the navbar and hero section of a site I'm working on. It doesn't show up when I preview but when I publish. Behaviour is the same across browsers. Help!

This is the published site:
http://wemakegyms.webflow.io/


Here is my public share link: https://preview.webflow.com/preview/wemakegyms?preview=03aedc759cdc87bbe3ea08850bdfd901
(how to access public share link)


#2

Hi @spincinconi, thanks for the post. It seems this is happening due to some custom code that is:

1) not wrapped by tags
2) document.ready code should be put in the Footer of the site: http://help.webflow.com/faq/how-to-add-custom-head-and-body-code-to-a-webflow-site

Remove the embed with the custom code that is under the body, and the issue should go away:

The reason this happens in the published site only, is that custom code is not rendered in preview mode, only on site publish.

I hope this helps, if not, let me know and I am happy to assist further :slightly_smiling:


#3

Hey @cyberdave. Thanks for your help... all's well now!!


#4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.