Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Search the Community

Showing results for tags 'code-injection'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Forum
    • News and Announcements
    • Getting Started With Squarespace
    • Coding and Customization
    • Commerce
    • Feedback on Your Site
    • Images and Videos
    • Pages and Content
    • SEO and Marketing
    • Site Design and Styles
  • Colorado Designers's Topics
  • Squarespace Forum Club Guidelines's Topics
  • Austin, TX Designers's Club Discussion
  • New York City Designers's Club Discussion
  • Berlin Designers's Club Discussion
  • SEO Experts's Topics
  • Photographers's Club Discussion
  • Graphic Designers's Topics
  • London Designers's Topics
  • Podcasters's Club Discussion
  • Custom Coding Help's Topics
  • Atlanta, GA Designers's Topics
  • Seattle, WA Designers's Topics
  • San Diego, CA Designers's Topics
  • Dallas, TX Designers's Topics
  • Australia Designers's Club Discussion
  • Minnesota Designers's Topics
  • Minnesota Designers's Topics
  • Copywriters's Topics
  • France Designers 🇫🇷's Topics
  • France Designers 🇫🇷's Topics
  • Portland, OR Designers's Topics
  • Canadian Website Designers's Club Discussion
  • Los Angeles Designers & Devs's Club Discussion
  • South African Designers's Club Discussion
  • Brazil Designers's Club Discussion
  • Developers's Club Discussion

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me



Found 349 results

  1. I´ve seen an old reply about this topic, but it is almost 5 years old. Any update? Is this possible to do? I currently have a Wordpress site and I´m thinking of making a switch to Squarespace. Thanks,
  2. Hi! I want to replace the logo on my page, but only on one of my shop pages (and all of the product listings that fall under it) This code I got from a helpful user on here earlier, overrides the logo on the shop page as desired, but the original logo is still visible when you click into any of the product pages. /* Hide current logo on shop page */ #collection-5d41998789ce3b0001e47211 .logo-image img { visibility: hidden; } /* Insert new logo on shop page */ body#collection-5d41998789ce3b0001e47211 .logo-image a { background-image: url(https://static1.squarespace.com/static/5bf1b4f6f8370a9863e71c8d/t/5d4525d5b0f59800018daf77/1564812757406/destashlogo_2_original.png); display: block; width: 325px; background-size: contain; background-position: center center; background-repeat: no-repeat; margin-top: 0px; margin-bottom: 0px; } page I want the changes to effect: www.lexadazy.com/dazydestash (and all of the product listings that fall underneath this shop page) Anything I can alter in this code to make it function under all of the product listings too? Thanks so much!
  3. Hi, I have tried several injection codes and even some custom CSS to try to override the logo image on just one of my pages. The page is a shop page. Here are some of the injection codes I have tried: <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"> </script> <script> $(function() {$('#logoimage').find('img').attr('src', 'https://static1.squarespace.com/static/5bf1b4f6f8370a9863e71c8d/t/5d4525d5b0f59800018daf77/1564812757406/destashlogo_2_original.png')}) </script> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"> </script> <script> $(function() {$(‘#top’).find('img').attr('src', 'https://static1.squarespace.com/static/5bf1b4f6f8370a9863e71c8d/t/5d4525d5b0f59800018daf77/1564812757406/destashlogo_2_original.png')}) </script> <script> window.onload = function() { document.getElementsByClassName('Header-branding-logo')[0].src = 'https://static1.squarespace.com/static/5bf1b4f6f8370a9863e71c8d/t/5d4525d5b0f59800018daf77/1564812757406/destashlogo_2_original.png'; }; </script> None of those have worked. Can't figure out what I am doing wrong!link to website: www.lexadazy.com
  4. Bedford - I just want to put the change colour effect (turning grey colour to full original colour) for an only certain part (people images), not for all of the pictures, do you know how to do in this case? ![alt text][1] website:https://heron-reed-4c73.squarespace.com password:123456 @tuanphan
  5. Hey guys, I'm using the Rally template and one of my pages is just a grid page of thumbnails. When you click on a thumbnail it takes you to a page showing the images and text relating to it. At the bottom of that page id love to be able to see all the existing thumbnails so my audience can navigate between the thumbnails whilst in a selected page! I hope that makes sense.... Here is what i mean ..... https://avenue-demo.squarespace.com/#/nacht-avenue/ << this shows you the selected post but also all the other project thumbnails underneath. Does anyone know how to do this in the Rally template? Do i need to embed the grid page somehow - any help would be really amazing! Thank you in advance!Katie
  6. I have been trying to increase the banner size for the blog posts and events on our site. I tried using custom CSS, inserting code, but so far nothing has worked. Most recently, I tried inserting this code into the blog item code injection: <style> .transparent-header.view-list .banner-thumbnail-wrapper, .transparent-header.collection-type-page .banner-thumbnail-wrapper { padding: 200px 0 200px; } </style> It has not worked. For the events banner I have been unable to change anything. Does anyone had an idea on how to tackle this? One of our blog posts: https://www.thecommongoodus.org/my-american-story-posts/jeh-johnsonOne of our events: https://www.thecommongoodus.org/upcoming-events/frankluntzandarimelber Thanks!
  7. Client is wanting the primary navigation under the logo. I have worked on many different codes but seems the background is transparent to the index first page and I must be missing instruction within my code. HELP!
  8. Bedford - Can you help me how to reduce the image space(banner) vertically please? I heard it does need some code for this. website:https://heron-reed-4c73.squarespace.com password:123456
  9. I made a movable animation on my page and i want to link it to another page. Is it possible to do that? I want my animation(code block) to be clickable.thank you!
  10. Hi I want to make the bottom section of my footer bar black but can't work out how to change the font to white without change all the other body set in the whole footer. Can anyone help? www.designbyemily.co.uk Thanks Heres my current custom csc, I know the p-color: #00000 is the incorrect bit... .tweak-site-width-option-full-background .Footer-inner { max-width: none; } .Footer-inner { padding: 0px; } .Footer-blocks--top, .Footer-middle, .Footer-blocks--bottom { padding: 0 0px; } .Footer-blocks--top { padding-top: 50px; background-color: #F2F2F2; } .Footer-middle {padding: 50px; padding-top: 40px; background-color: #ffffff; padding-bottom: 0px; } .Footer-blocks--bottom { padding-top: 50px; background-color: #F2F2F2; p-color: #000000}
  11. I've successfully inserted a Google Sheets iframe in a code block, but it's really small, only about 25% of the page width, and also very "short", displaying only a few lines of the spreadsheet... it may be that the iframe is set to too few vertical and horizontal pixels... how do I go about fixing this? Thanks.
  12. Hi there, I'm looking to have a search bar (essentially like the search block you can add when editing a page) added to the header. I dislike the search icon with this template, as it takes the user to a whole new page, versus being able to search quickly from the homepage. Does anyone have a suggestion for how to get around this or a code to use to change this feature? Thank you for your time!
  13. Hi there, Ive have been looking for some code injection to change the colours/ opacity for each thumbnail on the gallery page in wexley. Any help would be most appreciated!
  14. How can I insert code so Google (and readers) know when each article was last updated?
  15. Hi all, I am using the Bedford template but I found some issue that I cannot change the text alignment of the headline. Currently, it is just centered but I heard it does need any custom code for this (I am not programmer). Can you help me how to do it in this case?
  16. Found the following code in a thread in SS answers but it is doesn't work. Any suggestions would be welcome. .donation-block .sqs-donate-button { font-family: "basic-sans" !important; font-weight: 400 !important; font-size: 12px !important; letter-spacing:1px !important; } Thanks! @hollykandesign
  17. Hi all,I've a question about integrating Shopify add to cart buttons to Squarespace product pages.I've added Shopify 'add to cart' buttons to product pages. This is one of them: https://www.diestanderbaardkompanjie.co.za/test. (Password: 123456) The code has been generated by Shopify.It works as follows, if someone adds a product to the cart, a cart icon is shown on the right of the screen. The icon will be shown on every page where there's an add to cart button. So if you go to another product page with a similar button the cart icon is visible. However, this means on other pages of the website the cart icon is not visible.My question: is there a way to make the cart icon visible on every page? Shopify support couldn't help me. Bit of same policy as SS, no support on custom code.I do have a workaround direction in mind. If I add the same code snippet to the footer the cart icon is shown on every page. However, this also shows the add to cart button in the footer. Maybe there's a way to enhance the code in such a way that the add to cart button is not shown in the footer?
  18. https://answers.squarespace.com/questions/92213/is-there-a-way-to-change-background-color-using-a-button.html That would be a great example but I wonder if I can make a switch to toggle between light and dark mode? I am not a coder and I have no idea how to create a button to switch between light and dark mode.
  19. Help! The Squarespace templates don't allow you to have two different set of contact info for social (email, IG, FB) on two different sections of the site -- when you edit the styling for one feature it updates all similar styles within the website. Which is a bummer, because I have a distinct project page on my site that requires a unique set of social/contact info. Can anyone advise or help me create the custom code for that? Thanks!
  20. HI people! I recently upgraded from the Montauk template to Pedro because I needed an e-comm upgrade. However the pedro template doesn't have a sidebar option which is essential for my blog. I would have switched to another template but the pedro template fits the aesthetic for my blog perfectly and switching data back to another template would be long and tediious. Does anyone have a code/plugini could use that could solve this problem? I spoke to SS about this and..........zzzzzz An example of one of my articles is: https://www.olyinka.com/olyinka-mag/2018/5/16/how-to-get-that-spring-beuaty-glow Kind thanks Community!
  21. I want to create a button with an icon in it but I want it to look identical to all the standard buttons on the site and have it change colors/fonts as the admin changes it in the Squarespace back end. Here's the code I'm using (copied directly from the source for a standard button) <div class=“sqs-block button-block sqs-block-button”> <div class=“sqs-block-content”> <div class=“sqs-block-button-container--center”> <a href class=“sqs-block-button-element--large sqs-block-button-element”> <i class="ion-hammer"></i> <span>See The Architect Plans</span> </a> </div> </div> </div> And it's not styling at all when I past that into a code block. Any help would be appreciated.
  22. I have embedded a video code to my site https://spinentertainment.club/ now when I click on another link within my site and then go back to my home page, the video box that I have embedded does not show up like it did? Can anyone help?
  23. I have a page full of image cards and I'm looking for a way to randomize the order they are displayed each time someone visits the page. I know there is no native way in Squarespace to do this, does anyone know how to do this using custom code? Thanks!
  • Create New...