-
Posts
1,008 -
Joined
-
Last visited
-
Days Won
14
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Everything posted by rwp
-
Promo Popup: Image background not showing on mobile
rwp replied to maisaguam's topic in Fonts, colors and images
To add CSS, go to Design -> Custom CSS I can get you the url, but the pop up needs to be active on your page, and its turned off again. -
Promo Popup: Image background not showing on mobile
rwp replied to maisaguam's topic in Fonts, colors and images
.sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"].overlay-mobile-styles-enabled .group-copy { background: url("IMAGE URL"); } -
Promo Popup: Image background not showing on mobile
rwp replied to maisaguam's topic in Fonts, colors and images
If you can set it back up, I will check it out. -
Promo Popup: Image background not showing on mobile
rwp replied to maisaguam's topic in Fonts, colors and images
I am not seeing the popup at all on your page. Is it still active? -
jQuery, see instructions in my signature for setting this up. $(document).ready(function() { var col = ["#FFCCCC", "#CCAFFF", "#A6BEFF", "#99FFFF", "#D5CCBB", "#99FF99", "#FFFF99", "#FFCC99", "#CCCCCC"]; var i = 0; changeColor(); function changeColor() { $('body').attr('style', 'background-color: ' + col[i] + ''); if (i < 8) { i++; } else { i = 0; } setTimeout(changeColor, 5000); } });
-
remove footer top blocks from specific pages
rwp replied to mayflyaway's topic in Customize with code
Design -> Custom CSS #collection-5d9e61daa14e5155ed7c3773 #footerBlocksTop { display: none; } That is your bio page. you will need an additional block of code, with a different #collection for each page that you want to hide it from. If you send me the exact pages, I can get those for you. -
remove footer top blocks from specific pages
rwp replied to mayflyaway's topic in Customize with code
Which pages do you want it removed from? -
@GabrielaS Happy to help
-
Add a transparent gradient overlay to individual sections?
rwp replied to skabir91's topic in Customize with code
[data-section-id="5edbdd7789d95f3735d2f0ed"] .section-background-overlay { background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%) !important; }- 6 replies
-
- custom-css
- overlay
-
(and 2 more)
Tagged with:
-
How to remove mystery white space on mobile
rwp replied to BottleRocket1's topic in Customize with code
@media screen and (max-width:960px) { .Index-page-content { padding-top: 120px; padding-bottom: 120px; } } @media screen and (max-width:640px) { .Index-page-content { padding-top: 60px; padding-bottom: 60px; } } This is what is causing the headings to be cut off, squarespace is shrinking the padding at a screen width of 640px @media screen and (max-width:640px) { .Index-page-content { padding-top: 80px !important; padding-bottom: 80px !important; } } This should fix it. @media screen and (max-width:960px) { #block-yui_3_17_2_1_1592315790530_4759 { display: none; } } There's a spacer in your blog page on mobile, that will hide it.- 7 replies
-
- brine-template
- padding
-
(and 1 more)
Tagged with:
-
Stop Mobile Fallback Image From Showing on Desktop
rwp replied to DevonLois's topic in Customize with code
This jQuery code will change the image to blank.gif for 4 seconds and then change it back to your image. You can adjust the time if needed, but it seem like the video loads in that amount of time. If you don't want to upload a blank image, it looks like this is free to use. https://en.wikipedia.org/wiki/File:Clear.gif but confirm for yourself on the usage stuff. var imgSRC = $('.custom-fallback-image').attr('src'); $('.custom-fallback-image').attr('src', 'blank.gif'); $(document).ready(function () { setTimeout(function () { $('.custom-fallback-image').attr('src', imgSRC); }, 4000); }); -
@lieslmaduro See here:
-
jQuery 3.5.1 (you will need to add in the jQuery script as well, its available from https://code.jquery.com/ I use minified. Upload the image that you want to use as the top image to the header in Squarespace Supply the url for top image and scroll image (its important that this matches the one you uploaded) The code will set the image class to "logo", it does this by using your alt tag, which is the only identifier Squarespace gave that img tag. After scrolling more than 100px, it will replace the image, change the value from 50 if you want it more or less. var topIMG = ""; var sclIMG = ""; $('img[alt="Gabriela Silveira"]').attr("class", "logo") $(window).scroll(function() { var value = $(this).scrollTop(); if (value > 50) $(".logo").attr("src", sclIMG); else $(".logo").attr("src", topIMG); });
-
You will need to find the block- ID for each image, and do this. You will also need a static and dynamic image uploaded in the files and to link them in the code. So the last 2 blocks of code will need to be repeated 20 times for 20 images, changing the block- ID .thumb-image.loaded { display: none; } #block-yui_3_17_2_1_1592964324330_57866 .image-block-wrapper.has-aspect-ratio { background: url("STATIC IMAGE"); } #block-yui_3_17_2_1_1592964324330_57866 .image-block-wrapper.has-aspect-ratio:hover { background: url("PLAYING IMAGE"); }
-
How to change text colour for Blog comments section
rwp replied to 81monkeys's topic in Customize with code
.btn-text.preview-comment.top-level-preview-btn { color: #000; }- 6 replies
-
- custom-css
- blog-page
-
(and 1 more)
Tagged with:
-
This line of jQuery will find the span with "Back" and replaces it with "Tilbake" $( "span:contains('Back')" ).html("Tilbake")
-
How to change text colour for Blog comments section
rwp replied to 81monkeys's topic in Customize with code
.squarespace-comments .new-comment-area .input form.comment-form textarea { color: #000; }- 6 replies
-
- custom-css
- blog-page
-
(and 1 more)
Tagged with:
-
how to add line between products for only mobile view
rwp replied to l_o_t_u_s's topic in Getting Started With Squarespace
Put the line in, and use css to hide the line above a certain screen width. Or you could set the bottom border below a certain screen width. -
How to slow down the fade transition in a 7.1 Gallery Slideshow
rwp replied to casson's topic in Customize with code
Great! -
How to slow down the fade transition in a 7.1 Gallery Slideshow
rwp replied to casson's topic in Customize with code
Alright, so I poked around a bit more. It's hard to see whats really going on without being logged into your page, but something about it is set up differently than mine. Lets start with the basics, is it a gallery block? If so, do your settings look like this? -
How to slow down the fade transition in a 7.1 Gallery Slideshow
rwp replied to casson's topic in Customize with code
I will try to check it out a bit more later on. If I can get the anchor links fixed at some point today.