-
Posts
65,544 -
Joined
-
Last visited
-
Days Won
521
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Everything posted by tuanphan
-
Uploading multiple fonts from 2 font families
tuanphan replied to HBennett's topic in Fonts, colors and images
#1. Yes, you need to upload all and the code will be like this @font-face { font-family: 'Switzer Bold'; src: url(enter url to bold file); } @font-face { font-family: 'Switzer Regular'; src: url(enter url to regular file); } @font-face { font-family: 'Switzer Italic'; src: url(enter url to italic file); } #2. You can target BLOCK ID, some thing like this #block-id1 h1 { font-family: 'Switzer Bold'; } #block-id2 h1 { font-family: 'Switzer Italic'; } Use this tool to find id: https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff -
- 5 replies
-
- code
- code-injection
-
(and 3 more)
Tagged with:
-
Adding a subtitle to a title to thumbnails in portfolio grid
tuanphan replied to noraboeke-art's topic in Customize with code
See #2 code in this thread -
If you use Business Plan or higher, you can add this code to Book Blog Page <style> .blog-meta-section { display: none; } div.blog-item-author-date-wrapper { display: none !important; } </style> If you use Personal/Basic Plan, please share link to Book blog page, we can give new code
-
Can you duplicate the site & add me? I can take a look.
-
Add to Design > Custom CSS @media screen and (max-width:767px) { .sqs-popup-overlay-content .sqs-slide { position: fixed !important; top: 0 !important; } .sqs-slide-wrapper[data-slide-type="popup-overlay"] [data-slice-type="gallery"] .sqs-slice-gallery-item.loaded img { opacity: 1 !important; } .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] [data-slice-type="gallery"] { display: block !important; } .sqs-slide-wrapper[data-slide-type="popup-overlay"] [data-slice-type="gallery"] { z-index: 1000 !important; } .sqs-slice-group.group-copy.copy-layer-background { z-index: 99999999; background-color: transparent !important; } a.sqs-popup-overlay-close { z-index: 9999999 !important; } }
- 3 replies
-
- pop-up
- promotional-pop-up
-
(and 2 more)
Tagged with:
-
Try adding this new code to Blog Page Header <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function() { setTimeout(function(){ $('img[src*="unsplash"]').parents('body:not(.sqs-edit-mode) .image-block').append('<a href="https://unsplash.com" target="_blank" rel="nofollow" class="credit">Credit</a>'); },3000); }); </script> <style> body.sqs-edit-mode .credit { display: none !important; } a.credit { color: var(--paragraphLinkColor); border-bottom: 1px solid; } </style> Demo: https://tuanphan.squarespace.com/unsplash-credit?noredirect Pass: abc
-
Chat Window issues on desktop version of Squarespace website
tuanphan replied to aseideman's topic in Customize with code
Can you add & keep the code? I just tested & it looks fine. See this video -
Change colour of secondary nav menu on 7.1 squarespace
tuanphan replied to paultogether's topic in Fonts, colors and images
- 14 replies
-
- code-injection
- navigation
-
(and 1 more)
Tagged with:
-
Change site logo colour in mobile nav menu
tuanphan replied to HLAVAC's topic in Customize with code
Add to Design > Custom CSS body.header--menu-open header#header img { content: url(https://cdn.pixabay.com/photo/2023/06/10/21/23/flower-8054861_1280.jpg); visibility: visible !important; } body.header--menu-open header#header a { content: unset !important; } -
Hi, The font file url doesn't exist. Or you are using Trial Plan, sometime uploaded file won't work on Trial Plan https://static1.squarespace.com/static/62f7bcb7fbdd5d2746a27f4f/t/62f7bf2011312b03dbb2d70f/1660403488367/font.woff
-
Hamburger menu color change upon hover - seeking CSS
tuanphan replied to Triskelion27's topic in Customize with code
What is site url? We can check easier- 7 replies
-
- hamburger
- hamburger-icon
-
(and 2 more)
Tagged with:
-
You can use this CSS code h1, .product-price { font-family: 'MikadoBlack' !important; }
-
Embedded Google Doc looking teeeny tiny!
tuanphan replied to jackiemuscat's topic in Customize with code
Don't remove any code in your current code Add this to Design > Custom CSS /* Center Google Docs */ .fe-block.fe-block-yui_3_17_2_1_1688916966314_3423 { grid-column-end: 22 !important; } -
Only display mobile fall back image on mobile?
tuanphan replied to bryanb11's topic in Customize with code
Use this new code /* Mobile video homepage */ @media screen and (max-width:767px) { body.homepage div#player { visibility: hidden !important; opacity: 0 !important; } body.homepage .sqs-video-background .custom-fallback-image { opacity: 1 !important; display: block !important; z-index: 10 !important; } } -
Is it possible to remove the header boarder from one page?
tuanphan replied to FORTHELOVEOFIT's topic in Customize with code
You can edit that page > Add a Code Block (anywhere on page) > paste this code <style> header#header { display: none !important; } </style> -
You can change number 640 in your code to 900
-
Hi, Border for Header or Navigation bar? And what is template? What is site url?
- 1 reply
-
- code
- javascript
-
(and 3 more)
Tagged with:
-
How to fix this spacing issue when website is viewed on tablet
tuanphan replied to MRJohnston's topic in Customize with code
Unless your device can be shorter -
Reduce padding around slideshow gallery section
tuanphan replied to __amy__jean's topic in Customize with code
Hi, What is page url? We can help easier -
Just replace this #block-yui_3_17_2_1_1684170709916_7439, #block-yui_3_17_2_1_1684170709916_27558, #block-yui_3_17_2_1_1684170709916_31326 with div.gallery-block
- 1 reply
-
- css
- gallery-block
-
(and 1 more)
Tagged with:
-
- 43 replies
-
Try adding to Design > Custom CSS /* Disable mobile lightbox */ @media screen and (max-width:640px) { body.collection-type-index.view-list .slide a { pointer-events: none !important; } }
-
Use this new code /* Mobile Banner */ @media screen and (max-width:767px) { /* homepage */ [data-section-id="64a39323ae4866551bf8101c"] { min-height: unset !important; margin-top: 5vh; } /* contact us page */ [data-section-id="64a500c2797f684c08c7056a"] { min-height: unset !important; height: 35vh; margin-top: 5vh; } } Use this free tool to find data section id if you have problem in future https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff