-
Posts
65,482 -
Joined
-
Last visited
-
Days Won
521
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Everything posted by tuanphan
-
Trying to get header logo on one page to be a different colour
tuanphan replied to ZeroDeluxe's topic in Customize with code
You have incorrect code. And you need to add it to About Page Header, Not Custom CSS <style> header#header img { content: url("https://static1.squarespace.com/static/616448878db4ba5c32bc74c2/t/63e101ed9e6cd3537d676158/1675690477827/Z_Mark_Logo_v3.png"); } </style> -
Decrease Hero Header Title Font Size on Mobile
tuanphan replied to HLAVAC's topic in Customize with code
Hi, Which page are you referring to? I don't see these text on homepage- 5 replies
-
- mobile
- responsive-design
-
(and 1 more)
Tagged with:
-
Simple Gallery with thumbnail customizations
tuanphan replied to jaydiprewa's topic in Customize with code
Hi, I don't know this You try find free code on Codepen, then we can try convert it to Code Block on Squarespace -
Add this to Last Line in Settings > Developer Tools > Code Injection > Footer <script> $(function() { $('[data-section-id="6499dc0f9667031509523420"]').append('<a href="#" class="next-section"></a>'); $('a.next-section').on('click', function(e) { e.preventDefault(); $('html, body').animate({ scrollTop: $('[data-section-id="6499dc0f9667031509523420"]').next().offset().top}, 500, 'linear'); }); }); </script> <style> [data-section-id="6499dc0f9667031509523420"] a.next-section { padding-top: 70px; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 2; display: inline-block; color: black; font : normal 400 20px/1 'Josefin Sans', sans-serif; letter-spacing: .1em; text-decoration: none; transition: opacity .3s; animation: fade_move_down 4s ease-in-out infinite; z-index: 999999999999999999999999999; padding: 10px; } [data-section-id="6499dc0f9667031509523420"] a.next-section:before { content: "\e009"; font-family: 'squarespace-ui-font'; font-size: 50px; } /*animated scroll arrow animation*/ @-webkit-keyframes fade_move_down { 0% { -webkit-transform:translate(0,-10px); opacity: 0; } 50% { opacity: 1; } 100% { -webkit-transform:translate(0,10px); opacity: 0; } } @-moz-keyframes fade_move_down { 0% { -moz-transform:translate(0,-10px); opacity: 0; } 50% { opacity: 1; } 100% { -moz-transform:translate(0,10px); opacity: 0; } } @keyframes fade_move_down { 0% { transform:translate(0,-10px); opacity: 0; } 50% { opacity: 1; } 100% { transform:translate(0,10px); opacity: 0; } } </style>
-
Chat Window issues on desktop version of Squarespace website
tuanphan replied to aseideman's topic in Customize with code
Hi, What is your site url? We can check problem easier -
Try new code then save & reload the site /* Mobile Slideshow Gap */ @media screen and (max-width:767px) { .gallery-slideshow { margin: 0 !important; padding-top: 0 !important; } .fe-6490c89f2289d0d04a66ffeb { row-gap: 0 !important; } .gallery-slideshow { height: 30vh !important; } }
-
How to include clickable images/options in my dropdown menu
tuanphan replied to KaitlinRae's topic in Customize with code
Try adding this to Design > Custom CSS to resize this text on mobile @media screen and (max-width:767px) { div#block-1f3126d3c4a9251981b6 h1 { font-size: 30px !important; } } -
Turn off site-wide animation for a section
tuanphan replied to Caitlinjonesdesign's topic in Customize with code
Use this code instead .fe-649348b948086c7508143792 * { transform: unset !important; transition: unset !important; transition-delay: unset !important; } -
change the color of the underline from the top menu
tuanphan replied to Mica77's topic in Fonts, colors and images
Keep above code + add this code under div.header-nav-item a { display: inline-block; } -
What is your site url? We can check easier
-
How to add font icons in text block list
tuanphan replied to JA-Build-Change-Impact's topic in Customize with code
First, add this to Code Injection > Header <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer" /> Next, add a Markdown Block in Footer, enter these syntax (See this video) <i class="fa-sharp fa-solid fa-comment"></i> <a href="https://www.tidiochat.com/chat/3uhh5runhddyp8ibkzhuzk1srmzmi53i">Live chat</a> <i class="fa-regular fa-envelope"></i> <a href="mailto:hello@teachingideas4u.com">Email Us</a> <i class="fa-solid fa-lightbulb"></i> <a href="https://teachingideas4u.com/resource-request-form/">Teaching Resource Request</a> <i class="fa-solid fa-location-dot"></i> <a href="https://teachingideas4u.com/contact">Contact Info</a> If you need to reduce space between items, let me know, we can give the code If you need to change size, color, add animation effect, just choose these options -
First, use this free tool to find button block id https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff Next, add some code like this to Design > Custom CSS to customize button div#block-yui_3_17_2_1_1687881590000_41142 a { color: violet; background-color: #f1f; } div#block-yui_3_17_2_1_1687881590000_50912 a { color: #000; background-color: brown; border-color: red; border-width: 1px !important; }
-
-
Adding header on Access Denied screen
tuanphan replied to lh-design-07's topic in Customize with code
Remove that code Add this to Last Line in Settings > Developer Tools > Code Injection > Footer <script> $(document).ready(function() { $('#sqs-member-access-page-root').parents('body').addClass('ss-deny'); }); </script> <style> body.ss-deny header#header { background-color: #f1f !important; } </style> -
Load a popup or email optin form on button click
tuanphan replied to JA-Build-Change-Impact's topic in Customize with code
- 1 reply
-
- javascript
- java
-
(and 3 more)
Tagged with:
-
Add to Settings > Developer Tools > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script> <script> $(function(){ $('.gallery-item img').each(function(){ $el = $(this); var style = $el.attr('style'); $el.attr('style',''); $el.parent().attr('style',style); }); //Moves the inline styles $(".gallery-item img").each(function(){ var title = this.alt; $('<div class="t-caption">'+ title +'</div>').insertAfter($(this).parent()); }); }); </script>
-
Creating dropdown menu without a folder
tuanphan replied to joeylubelfeld's topic in Customize with code
Add to Settings > Developer Tools > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script> <script> $(document).ready(function() { $('a.header-nav-folder-title[href="/portfolio-1"]').click(function() { var link = $(this).text(), href = "damienbabington.com/portfolio"; window.location.href=href; }); }); </script> I don't see black box. Can you check it again? -
Use this CSS code /* Scroll block height mobile */ @media screen and (max-width:767px) { .fe-64a2a4fed52b0a6c56236623 { grid-template-rows: repeat(2,minmax(24px, auto)) !important; } }
-
[Code Injection] Language Switch Button doesn't work on mobile
tuanphan replied to BenBill's topic in Customize with code
Hi, What is your site url?- 4 replies
-
- accessibility
- mobile
-
(and 2 more)
Tagged with:
-
change breadcrumbs text color with a hover effect
tuanphan replied to Mansour's topic in Customize with code
The site is private now. Can you setup an access password? -
You mean border width? Use this code button.lightbox-handle { border-width: 1px !important; }
- 3 replies
-
- css
- form-block
-
(and 1 more)
Tagged with:
-
#1. Hover: Change nav item color or underline color? Same color or different color? #2. Mobile Use this code [data-folder="root"]>div div { background-image: none !important; } [data-folder="root"]>div a { display: inline-block; } [data-folder="root"]>div>div:nth-child(1)>a { border-bottom: 2px solid #e72F80; } [data-folder="root"]>div>div:nth-child(2)>a { border-bottom: 2px solid #9438b9; } [data-folder="root"]>div>div:nth-child(3)>a { border-bottom: 2px solid #00007d; } [data-folder="root"]>div>div:nth-child(4)>a { border-bottom: 2px solid #f7f8; } [data-folder="root"]>div>div:nth-child(5)>a { border-bottom: 2px solid #f6ce53; }
-
webisite backup or site history
tuanphan replied to twhy7482's topic in Getting Started With Squarespace
SS doesn't provide backup feature. You can use duplicate site feature instead, or use some cache web to get content.