Jump to content

Can someone help me to understand what this code line is?

Recommended Posts

Hello,

Can someone help me figure out what this code line is?

<div id="yui3-css-stamp" style="position: absolute !important; visibility: hidden !important"></div>

The reason I'm asking is because I want to integrate Infolinks ads to my website. At the moment, ads are not displaying and infolinks Team asked me to make sure their script is the last script before the end of body.

thanks

Em

Link to comment
  • Replies 3
  • Views 200
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

9 minutes ago, Karkom said:

infolinks Team asked me to make sure their script is the last script before the end of body

If you want to affect one page, you can add the script to a Code Block, inserted as the last block at the very bottom of the page. If you want to affect all pages, you can add the script to Settings > Advanced > Code Injection > Footer

Note that you'll need to be on a Business Plan or above (or in a trial) to use the script.

Did this help? Please give feedback by clicking an icon below  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Link to comment

Hi @paul2009, thanks but i need it to affect all pages. The problem is that even of i put the code at the bottom of the footer injection, when i inspect the page there’s always extra couple of lines of code after that.( one of which is  the code i posted earlier, hence why i wanted to know what it is)  Is there a way to force a script to be the last item before the </body> ?

Edited by Karkom
Link to comment
9 minutes ago, Karkom said:

The problem is that even of i put the code at the bottom of the footer injection, when i inspect the page there’s always extra couple of lines of code after that.

The purpose of adding it after the main body of the page is to ensure it is loaded after the other page content. It should be fine to add the code just after it. 

Did this help? Please give feedback by clicking an icon below  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.