-
Posts
31 -
Joined
-
Last visited
Reputation Activity
-
dsophie reacted to tuanphan in Does anyone know if you can remove the price and the add to cart button on a product page?
Yes. Possible.
Edit that product > Additional Info > Add a Code Block > paste this code
<style> /* Remove add to cart */ div.sqs-add-to-cart-button-wrapper { display: none !important; } .product-price { display: none !important; } </style>
-
dsophie got a reaction from KayflowerCollective in Design section missing from Menu
So apparently the information above is wrong. Custom CSS is not under Site Styles, it's under Pages. It would have been nice to have some warning, like an email or a banner to let us know of these fundamental changes!
-
dsophie reacted to tuanphan in Gallery slider is cut off in mobile
Add to Design > Custom CSS > Then save & reload the site
/* resize mobile slideshow reel */ @media screen and (max-width:767px) { .gallery-reel { height: 50vw !important; } }
-
dsophie reacted to tuanphan in 7.1 Portfolio Page Image linked to another Portfolio Page
Add to Page Header
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function() { // commercial $('li:nth-child(1) a.portfolio-hover-item').attr('href','https://beaverhero.com'); // Film $('li:nth-child(2) a.portfolio-hover-item').attr('href','https://google.com'); // Music Video $('li:nth-child(3) a.portfolio-hover-item').attr('href','https://facebook.com'); }); </script>
-
dsophie reacted to Sensebellum in Can you add a click through link for a URL to a video?
BOOM! Nailed it. This is how you do it. Make the Width & Height 100%.
<div style="padding:56.25% 0 0 0;position:relative;"> <a href="https://www.sensebellum.com/new-page" style="position:absolute; top:0; left:0; display:inline-block; width:100%; height:100%; z-index:5;"></a> <iframe src="https://player.vimeo.com/video/440169206?background=1?autoplay=1&loop=1&title=0&byline=0&portrait=0" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="autoplay; fullscreen" allowfullscreen> </iframe> </div>
-
dsophie reacted to tuanphan in Show Caption in Lightbox 71.
It looks like I posted above script code.
Use this new code
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> jQuery(document).ready(function($){ $('.gallery-lightbox-list .gallery-lightbox-item').each(function(){ var text = $(this).find('img').attr("alt"); console.log(text); $(this).append('<div class="lightbox-caption">' + text + '</div>'); }) }) </script> <style> .lightbox-caption { color: white; font-weight: bold; margin: 15px 0; text-align: center; display: none; position: absolute; bottom: -65px; z-index: 9999; } .gallery-lightbox-wrapper:hover { cursor: pointer; } .gallery-lightbox-item[data-in='false'] .lightbox-caption { display: none!important; } .gallery-lightbox-item[data-active='true']:hover .lightbox-caption{ display: inline-block; } .gallery-lightbox-wrapper:hover .gallery-lightbox-item[data-active='true'] .lightbox-caption{ display: inline-block; } .gallery-lightbox .lightbox-caption { display: block !important; } </style>
-
dsophie got a reaction from kerstinmartin in 7.1 Duplicating or Saving Sections
Looking forward to it, thanks!
-
dsophie reacted to kerstinmartin in 7.1 Duplicating or Saving Sections
Not yet but actually on my list of blogs to write soon!
-
dsophie reacted to kerstinmartin in 7.1 Duplicating or Saving Sections
Yay, so glad you found and used this! It's such a great tool and has so many other good uses too, it's pretty much a must for designer I think! 🙂
-
dsophie got a reaction from kerstinmartin in 7.1 Duplicating or Saving Sections
Someone did make a plugin! There's a Chrome extension by SquarespaceWebsites which lets you do just that (found this on @kerstinmartin's blog). You can also copy content from pages and blogs from one site to another - very useful if you want to migrate a 7.0 site to 7.1. I just tried it on my own site and copied over 200 blog posts (with tons of images) without a hitch in a matter of minutes. Only thing is the comments didn't seem to copy over, but I much rather lose a few comments than spend several weeks re-uploading images on the lousy copy made via wordpress.
-
dsophie reacted to Zineta in Remove unwanted fonts
You could download the stylesheet, change the fonts (find + replace) in there and re-upload, this should do the trick.
-
dsophie reacted to PhilipStewart in Item specific shipping options
I agree with the above comments. Item specific shipping options are much needed!!
-
dsophie reacted to kaceelaine in How Do I Remove Mystery White Space on Mobile? (Brine)
Yes, I have a solution for this! I stumbled upon this same issue a while ago and it was driving me nuts. The following code seems to solve it for me...
I guess I should add that this has worked on 7.0, not sure about 7.1 version.
.Mobile-bar.Mobile-bar--bottom { padding: 0!important; } Thanks, Kacee
-
dsophie reacted to tuanphan in Custom Newsletter Block w/ only First Name & Email
Add to Code Injection Footer
<script> window.Squarespace.onInitialize(Y, function(){ sfSeconds = document.querySelector('.last-name input'); sfSeconds.value = "NA"; sfSecondsField = document.querySelector('.last-name'); sfSecondsField.style.display = "none"; }); </script> code by @paul2009, edited some lines by me.
-
dsophie reacted to OllieBrown in Index pages and SEO
Hi all,
Just a quick question, I have been building pages using the index function but it has just dawned on me that if I now turn off the pages for SEO so you can't find the sections individually then that index page wont have any content to rank.
Am I right in thinking that each individual section would rank individually?
Does the Index structure allow for the content within to be ranked as one big page?
Thanks for any help.