Jump to content

BRINE: Add line of text before all Blog posts for disclosure

Recommended Posts

Posted

Site URL: https://www.twowanderingsoles.com/blog/top-things-to-do-in-new-york-city

Hello! I would like to insert an affiliate disclosure line of text stating "This page may contain affiliate links" above the body of every blog post body and below the page title. The text line could be below the author's name and published date (like in the screenshot attached) or below the social share icons. 

I know I could manually insert the text line to every blog post, but I have over 600 posts and would prefer a simpler solution. Any help is greatly appreciated. Thank you. 

Affiliate link disclosure at top of page.png

Posted

Add to Home > Design  > Custom CSS

.collection-type-blog.view-item .BlogItem-share:before {
    content: "tuan phan squarespace freelancer";
    display: block;
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted

Thank you!

One simple follow up: How do I insert a link to my privacy policy (https://www.twowanderingsoles.com/privacy-policy) in the CSS with the anchor text "info here"?

Otherwise, this is exactly what I was looking for. Thank you so much for your quick response! I really appreciate it!

 

 

Posted
10 hours ago, bwzweber said:

Thank you!

One simple follow up: How do I insert a link to my privacy policy (https://www.twowanderingsoles.com/privacy-policy) in the CSS with the anchor text "info here"?

Otherwise, this is exactly what I was looking for. Thank you so much for your quick response! I really appreciate it!

 

 

You mean: insert link into text in my code? You can't

To use link, you need to use JavaScript to create text + link. 

It's a bit complicated and time consuming, also you need a Business Plan.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • 1 year later...
Posted
On 8/2/2021 at 3:52 AM, omventure said:

When I inserted the code, the affiliate disclosure appeared at the bottom of the blog post.  How might I get it to appear at the top of the blog post, under the title?  Thank you so much!

Can you share link to a blog post on your site?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • 1 year later...

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.