Jump to content

Lkrohnmiller

Circle Member
  • Posts

    9
  • Joined

  • Last visited

Everything posted by Lkrohnmiller

  1. I am also looking for a solution to this! Seems like nothing was ever resolved and I've reopened a similar question thread. Are these code injections into the <head> tag of the page? or in general code injections? Or as a code block added onto the page?
  2. Hello! I'm hoping to replicate this effect: https://bddw.com/ where the image element changes every time the page is reloaded. I've found some code samples for 7.0 and similarly older versions but having issues with implementation. This is the code I am working with now: <script> (function(){ var images = [ "http://static1.squarespace.com/static/53453ebbe4b0d46770eb7505/5345482be4b01730378288f7/54b3a45de4b0d7856db8059e/1421059173445/", "http://static1.squarespace.com/static/53453ebbe4b0d46770eb7505/5345482be4b01730378288f7/54c5f3c8e4b0d7a7fa84acc2/1422274046633/", "http://static1.squarespace.com/static/53453ebbe4b0d46770eb7505/5345482be4b01730378288f7/54a78e9ae4b00f7c5fb39c4a/1421997719378/" ]; var imgCount = images.length; var randNumber=Math.floor((Math.random() * imgCount) + 1); imgURL = "url('" + images[randNumber-1] + "')"; var body=document.getElementById('collection-542ba4a1e4b032a0dde82b31'); body.style.backgroundImage=imgURL; body.style.backgroundSize="100% auto"; body.style.backgroundRepeat="no-repeat"; }()); </script> However, it doesn't seem to be doing anything. I think part of the issue is the image sources are incorrect. How do I adequately find the image url from the asset library? Thank you!!
  3. I have many blog items and need to change the design settings in all of them so the image gallery, which every post has, opens as a lightbox. Is there a way that I can do this with code rather than clicking every single post to edit them? Thanks!
  4. Hello! This is the page where the tag cloud is: https://www.amberginsburg.com/archive I would like the tag to be bolded when the viewer is filtering by that., if that makes sense! Thanks!
  5. I know this is a dead forum thread but I am working on a similar thing right now and would love more insight into what classes and css ids i can use to style the tag cloud!
  6. That makes sense but my client does not want to pay for a plugin on their site. Could you advise how I might do this with code? I'm comfortable with that just don't know where to start.
  7. Hi! I haven't been able to find an answer to this although I've seen a few other forum posts asking it. How would I go about making blog posts display in an order OTHER THAN publication date? I am using the blog structure to showcase work and I would like for it to be presented on the home landing page in alphabetical order. My sense is that the way to solve this would be using a code injection, but Id love support on how to structure the code. Thank you!
×
×
  • 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.