-
Posts
64,861 -
Joined
-
Last visited
-
Days Won
517
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Everything posted by tuanphan
-
Drop-down accordion create blank drop down on accordions aside
tuanphan replied to abbiericher's topic in Customize with code
I think the only way is create new section with Classic Editor, then try replace current style with CSS code -
Try this code under div.sqs-modal-lightbox img.ProductItem-gallery-slides-item-image { left: 0 !important; width: 100% !important; height: auto !important; }
-
Remove code I sent & use this new code @media screen and (min-width:768px) { .tweak-product-basic-item-click-action-lightbox .ProductItem-gallery-slides-item { position: static !important; height: auto !important; visibility: visible !important; } .tweak-product-basic-item-gallery-aspect-ratio-169-widescreen .ProductItem-gallery-slides:before { padding: 0 !important; }}
-
How to invert on logo to specific colour and specific page?
tuanphan replied to RoseLeahy's topic in Fonts, colors and images
CSS code can't change to custom code (except white/black). You can consider changing it to custom image, with this code [class*="type-blog"] header#header img { content: url(https://cdn.pixabay.com/photo/2023/12/01/21/50/sunset-8424565_1280.jpg); } Replace Pixabay with new logo image url -
7.1 - centering bottom row of summary grid
tuanphan replied to brittco's topic in Customize with code
You can use this code to Website Tools (under Not Linked) > Custom CSS @media screen and (min-width:992px) { [data-section-id="659554893be5bd62b0de9c1e"] figure.gallery-grid-item:nth-last-child(-n+2) { position: relative; left: calc(~"150% + 0.6vw"); }} -
How do I justify navigation links across the width of my site?
tuanphan replied to Jleebz's topic in Customize with code
You can use this CSS code to prevent wrap nav { flex-wrap: nowrap !important; }- 6 replies
-
- navigation
- heading
-
(and 2 more)
Tagged with:
-
Edit that project > Add a block > Choose Code > Paste this code <style> body:not(.header--menu-open) header#header img { filter: invert(1); } </style>
-
Keep shop category menu in product page
tuanphan replied to Camescoop's topic in Customize with code
I wrote a quick guide with new code, so you can adjust text/link easier.- 16 replies
-
Slider/Carousel of Videos on Auto-Play (no video controls shown)
tuanphan replied to Bill123's topic in Images & Videos
You can try this approach to add video to Gallery Section (Tested with Gallery Grid. I haven't tested with Slideshow yet.) First, add code to Website Tools > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function(){ $('figure[class*="gallery-"] video').closest('figure').addClass('hide-image'); }); </script> Next, add this code to Custom CSS /* hide gallery section images */ .hide-image [class*="-item-wrapper"] { display: none !important; } Edit Gallery Section > edit each image > Enter this format to Caption (code is a bit different because I added loop and autoplay) <video width="100%" height="240" controls loop autoplay> <source src="https://www.w3schools.com/tags/movie.mp4" type="video/mp4"> </video> You can repeat similar for other images, just replace .mp4 with new mp4 video url. Result Make sure Caption is enabled -
You can use this CSS code div.header-nav-folder-content { background-color: #f1f !important; } div.header-nav-folder-content * { text-align: left !important; }
-
How can I center logo and menu items in the header?
tuanphan replied to Nomis's topic in Images & Videos
You can use this code to Website Tools (under Not Linked) > Custom CSS a.header-skip-link.sqs-button-element--primary { display: none; }- 1 reply
-
- heading
- navigation
-
(and 1 more)
Tagged with:
-
How to change a single ad image for multiple pages at once?
tuanphan replied to T_R's topic in Images & Videos
I forgot CSS code, add this code to Custom CSS /* hide ads image */ .image-ads { display: none; } /* show ads image in Code Block */ .code-block .image-ads { display: block !important; } You need to do both steps, if you do #1 only, the images will disappear after use CSS code -
Can I move a trial site to newly added domain?
tuanphan replied to ryan1981's topic in Getting Started With Squarespace
You can connect domain name with your SS site. https://support.squarespace.com/hc/en-us/articles/215744668-Pointing-a-Squarespace-domain https://support.squarespace.com/hc/en-us/articles/205812378-Connecting-a-third-party-domain-to-your-Squarespace-site -
Button Element not showing in mobile view
tuanphan replied to ShaneGardner's topic in Site Structure & Navigation
Button appears, but button color/button background same as menu background so you can't see it You can use this code to Website Tools (under Not Linked) > Custom CSS a.theme-btn--primary.btn.sqs-button-element--primary { color: white !important; border-color: white !important; } -
If you need to make it transparent just change #f1f to transparent
-
Section background colour comes out as a gradient
tuanphan replied to PhotoMan's topic in Site Design & Styles
Hi, Can you share link to page? We can check easier -
removed "burger" on phone view cant see "account"
tuanphan replied to Camichel's topic in Customize with code
Add to Website Tools (under Not Linked) > Custom CSS @media screen and (max-width: 992px) { .header-display-mobile { display: flex; order: 2 } .header-display-desktop { width: auto !important; order: 1; flex: 0 0 75px !important; display: flex; } .header-burger, .header-display-desktop .header-title-nav-wrapper, .header-display-desktop .header-actions-action--cart{ display: none } .header-display-desktop .customerAccountLoginDesktop { display: block } .header-display-desktop .header-actions.header-actions--right { flex: unset !important } } -
- 16 replies
-
- squarespace-7.1
- lock-screen
-
(and 1 more)
Tagged with:
-
How to change a single ad image for multiple pages at once?
tuanphan replied to T_R's topic in Customize with code
See this code -
SS updated something on Form so old code doesn't work, I don't know how to update code with new form, but if you can add me as a contributor, I can help you disable this update.
-
CSS custom font not working in accordion feature on mobile
tuanphan replied to BrandBItes's topic in Fonts, colors and images
Can you share link to this page? -
Inconsistencies of pdf output between desktop and mobile view
tuanphan replied to freddy24's topic in Customize with code
Can you share link to page where you used it?- 19 replies
-
- code-injection
- coding
-
(and 1 more)
Tagged with:
-
You can use this code to Website Tools (under Not Linked) > Custom CSS div.header-nav-item>a { color: #fff !important; background-color: #686beb !important; padding: 1em 2em !important; font-size: 20px !important; border-radius: 300px !important; }
- 3 replies
-
- heading
- custom-css
-
(and 2 more)
Tagged with:
-
Floating button only appears upon site reload. Help please!
tuanphan replied to JMOsteo's topic in Customize with code
If you want button appears on all pages, you should use Website Tools > Code Injection > Footer instead Page Header. Which page you added code to Page Header? I tried finding code in homepage but can't find any