-
Posts
64,861 -
Joined
-
Last visited
-
Days Won
517
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Everything posted by tuanphan
-
Different Home Pages for Mobile vs Desktop on 7.1?
tuanphan replied to alfredomoraphoto's topic in Customize with code
Suppose you have 2 sections on homepage, top and second To hide top on desktop, add this code to Website Tools (Under Not Linked) > Custom CSS @media screen and (min-width:768px) { body.homepage article section:first-child { display: none !important; } } To hide second on mobile, use this code @media screen and (max-width:767px) { body.homepage article section:nth-child(2) { display: none !important; } } -
Portfolio, mobile view with static overlay
tuanphan replied to andreassoteriou's topic in Customize with code
Add to Website Tools (under Not Linked) > Custom CSS @media screen and (max-width:991px) { .portfolio-text { opacity: 1 !important; top: unset !important; background-color: rgba(0,0,0,0.7) !important; } .portfolio-overlay { opacity: 1 !important; top: unset !important; } } -
Add this to Website Tools (under Not Linked) > Custom CSS footer.sections .content-wrapper { max-width: 100% !important; }
-
I see you use Gallery Block Slideshow, you can consider using Gallery Section Slideshow, it should fullheight without code Or you can change it to Classic Editor Section? I can fix with code easier with new editor, it always have a gap under, difficult to fix it To hide 3, 4 sections on mobile, use this CSS code @media screen and (max-width:767px) { footer.sections section:nth-child(n+3) { display: none !important; } }
-
Change promotional pop-up body font to custom font.
tuanphan replied to CISDesign's topic in Fonts, colors and images
If Newsletter block, use this code div.form-submission-text { font-family: 'TIEMPOS' !important; } -
Change pop up newsletter sign up fonts
tuanphan replied to claudianuria's topic in Fonts, colors and images
Use this CSS code div.form-submission-text { font-family: 'TIEMPOS' !important; } -
Remove unwanted/hidden forms from website
tuanphan replied to ramirohleal's topic in Customize with code
Maybe you used custom code to hide form, so you can't find it? You try disable all custom code and check again Suppose your site is andrea.squarespace.com You can access this link to disable code: andrea.squarespace.com/config/safe -
I tested second code on my site before sending the code. Can you keep code in CSS box? I can check again easier
-
First solution, both are different page, and add a load more button under, click on it >> open another page
-
It looks like you are using Cover Page, you can add this code to Cover Page Settings > Advanced > Code Injection (right box) <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function() { $(".sqs-slide-layer-content.content-gallery").click(function() { var link = $(this).text(), href = "https://google.com"; window.location.href=href; }); }); </script> <style> .sqs-slide-layer-content.content-gallery { cursor: pointer; } </style>
- 6 replies
-
- video
- clickthrough
-
(and 1 more)
Tagged with:
-
Keep shop category menu in product page
tuanphan replied to Camescoop's topic in Customize with code
What should it look like on mobile? Or you want to hide it, add this code under I Just sent above @media screen and (max-width:767px) { body[class*="type-products"].view-item ul.tp-ul { display: none !important; } }- 16 replies
-
Keep shop category menu in product page
tuanphan replied to Camescoop's topic in Customize with code
Add this code to Website Tools > Custom CSS ul.tp-ul { display: none !important; } body[class*="type-products"].view-item ul.tp-ul { display: flex !important; }- 16 replies
-
Change background colour on blog list view only
tuanphan replied to eleanormargaret's topic in Fonts, colors and images
You can add this code to Website Tools (under Not Linked) > Custom CSS body.view-list [data-section-id="6581b8d6f5f72a7c7fee315d"] .section-background { background-color: white !important; } -
Make second footer section sticky for mobile
tuanphan replied to Huib's topic in Customize with code
To make mobile footer sticky only, change this your code #footer-sections .page-section:last-of-type { position: fixed!important; width: 100%!important; bottom: 0!important; z-index: 99!important } to this @media screen and (max-width:767px) { #footer-sections .page-section:last-of-type { position: fixed!important; width: 100%!important; bottom: 0!important; z-index: 99!important } } -
With mobile, use this code div.container.header-menu-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
It looks like you havent' added code to Custom CSS yet (or you added to wrong "CSS section" Don't remove code from your Page Header Add this code to Custom CSS box (see screenshot below) #floating-button { position: fixed; top: 50%; right: 0; transform: rotate(90deg) translateX(50%); transform-origin: 100% 0; z-index: 99999; } #floating-button a { background: #0E0793; color: white; display: inline-block; font-size: 14px; text-transform: uppercase; font-family: montserrat; font-weight: 400; letter-spacing: 0.3em; padding: 10px 30px; border-radius: 0px 0px 10px 10px; transition: ease 0.5s !important; } #floating-button a:hover { padding: 20px 40px; background: #2E52FF; } @media screen and (max-width: 768px) { #floating-button { bottom: 0; top: auto; transform: none; left: 0; text-align: center !important; } #floating-button a { padding: 10px 0px; border-radius:10px 10px 0px 0px !important; width: 100% !important; } } -
Disable blog 'read more' and click through post
tuanphan replied to ajwtaylor's topic in Customize with code
To remove read more link, use this CSS code body#collection-659613958b47182e64b137e0 a.blog-more-link.passthrough-link { display: none !important; } -
You mean this item? Add this code to Website Tools (under Not Linked) > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function() { $('a.grid-item[href="/film-video/sweetdreams"]').attr('href','https://youtu.be/vkuy5ULXl_I'); }); </script> (you can also consider use lightbox, it means, click video >> show video in lightbox)
-
Hi, Can you share link to page where you use Masonry?
-
Scrolling image gallery on only HALF the page?
tuanphan replied to kaydotjpg's topic in Customize with code
You can use 2 sections, then share page url, we can give code to make 2 sections side by side- 9 replies
-
- gallery-block
- images
-
(and 1 more)
Tagged with:
-
How Can I Show Both Site Title and Logo in Header?
tuanphan replied to a topic in Customize with code
Use this code .header-mobile-logo a:after { content: "GameNite"; font-family: 'Blackentina'; text-align: center; vertical-align: middle; font-weight: 600; padding-left: 18px; } .header-mobile-logo a { display: flex !important; align-items: center !important; }- 96 replies
-
- logo
- site-title
-
(and 1 more)
Tagged with: