Jump to content

T_R

Circle Member
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

T_R's Achievements

  1. Just reading that first link: "If your template uses Ajax loading, some elements, such as the header and footer, won’t need to load each time you visit a page." Since the code is in the footer, this certainly sounds like the culprit. Tried it and that fixed it! This also explains why code that inverts the logo colours on certain pages wouldn't work properly in the header without a refresh. I guess I can move that code back from a regular code block to the header now. I don't benefit a great deal from Ajax anyway, since my site is pretty minimalist and fast to load. (Except for the Farro-style blog landing page, which will apparently always use Ajax regardless of settings.) Thank you very much. =)
  2. Actually, this doesn't seem to be working quite right. On desktop, the ad doesn't show up if I return to a blog post I've already seen once. I have to refresh to get the ad to show. On mobile, it's the opposite - the first view of a blog post doesn't load the ad, but a refresh does. Since most people are on mobile, this means most readers aren't seeing the ad at all, which is a bit of a problem. Any ideas why this might be happening? I'm stumped from the start. URL was parempimina.fi and click any new blog post.
  3. This worked, awesome! Not only did it work perfectly, but it's actually BETTER than adding an image via Squarespace, since the DIV code block stays and scales within the text block width without needing spacers (I never understood why that's a thing in 7.0 templates). So in the future I can adjust the system to have multiple codes for different types of ad. All blog posts on topic #1 get ad #1, topic #2 is shown ad #2, and so on. Excellent, thank you so much! You're a treasure. =)
  4. The code injection simply added the image into the footer of the website. What if there is no Step #2 on any particular page?
  5. I have a squarespace 7.0 blog. I want to place an ad on most blog posts. A plain image with a clickthrough, since I'm just linking to my own product. However, I also want to change the image sometimes. Let's say I want to add/remove an "ON SALE" sticker or advertise a different product. Changing dozens/hundreds of pages individually won't work, so is there a solution with minimal code that allows me to change the ad image for many pages or blog posts at once on Squarespace? Back in the days of writing HTML in Notepad this would've been a trivial task (point IMG to a file and swap the file to another with the same name for any changes), but the way Squarespace handles files makes it genuinely problematic. I would appreciate any advice, thank you.
  6. Okay, so the single code injection says "Here's an image URL", pointing to an image hosted by Squarespace, and the various code blocks all say "Here's an ad, use the URL in the injection for the image"? I don't have any ads up yet, but the URL is parempimina.fi and the layout on blog posts will be as basic as it gets: Bunch of text IMG AD Bunch of text
  7. I have a squarespace 7.0 blog. I want to place an ad on most blog posts. A plain image with a clickthrough would be enough, I'm just linking to my own product. However, I also want to change the image sometimes. Let's say I want to add an "ON SALE" sticker or advertise a different product. Changing dozens/hundreds of pages individually won't work, so is there a solution with minimal code that allows me to change the ad image for many pages at once on Squarespace?
×
×
  • 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.