-
Posts
64,819 -
Joined
-
Last visited
-
Days Won
517
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Everything posted by tuanphan
-
Horizontal scroll/off center on mobile
tuanphan replied to eleanormargaret's topic in Customize with code
You can fix by adding this line to Website Tools (under Not Linked) > Custom CSS body, html { overflow-x: hidden; } -
@JoseEsteves1 You can use this code to Website Tools > Custom CSS @media screen and (max-width:767px) { .pdp-layout .pdp-details .pdp-details-title { text-align: center !important; } }
- 12 replies
-
- product-page
- css
-
(and 1 more)
Tagged with:
-
I see you figured it out? It already center
- 19 replies
-
- grid-gallery
- css
-
(and 2 more)
Tagged with:
-
Use this CSS code if you need to change Footer text color on Homepage Only body#collection-65aeef23d9a9cf7135fc8ad3 footer.sections * { color: #f1f !important; }
-
Using a different aspect ratio in the different gallery page
tuanphan replied to Mao325's topic in Customize with code
You can use this code to Website Tools > Custom CSS to change on /commercial page body#collection-65a85fdd83e10e635b5d1787 .portfolio-grid-basic .grid-item .grid-image { padding-bottom: 56.25% !important; }- 19 replies
-
- aspect-ratio
- gallery
-
(and 1 more)
Tagged with:
-
You can add 2 galleries, then share link to page, we can check & give you code to achieve this
- 3 replies
-
- custom-css
- custom-template
-
(and 2 more)
Tagged with:
-
You mean mobile burger or page content?
-
Try change url in href to https://tinyurl.com/ynwzxx38
-
The site is private. You can setup an access password, we can check easier
-
Add to Website Tools (under Not Linked) > Custom CSS body#collection-63dd5a5ffadc43118d546d68 header#header img { content: url(https://cdn.pixabay.com/photo/2023/05/25/07/38/antarctica-8016562_1280.jpg); }
-
How to remove weird white floating box on website
tuanphan replied to MRWORLD's topic in Customize with code
- 1 reply
-
- product-page
- error
-
(and 1 more)
Tagged with:
-
Hidding pricing on squarespace specific product page
tuanphan replied to AC06's topic in Customize with code
Can you share link to this page? I can check easier- 8 replies
-
- product-page
- add-to-cart
-
(and 2 more)
Tagged with:
-
You try this code to Custom CSS div.form-block label, div.form-block label * { color: white !important; }
- 2 replies
-
- code-injection
- code
-
(and 3 more)
Tagged with:
-
Can you share site url? We can check easier
- 17 replies
-
- product-page
- mobile
-
(and 3 more)
Tagged with:
-
You can use this code to Custom CSS footer#footer-sections { border-top: 1.5px solid black; } footer.sections { --sqs-site-max-width: 100% !important; }
-
how do I code in a different video for mobile vs Desktop?
tuanphan replied to GLOCK's topic in Fonts, colors and images
You can use below code with this tool to find data section id https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff -
Some CSS code for Cart Page. You need to add it to Custom CSS #1. Rename Cart Title /* Rename Cart Title */ h2.cart-title { visibility: hidden; } h2.cart-title:before { visibility: visible; content: "New Shop Title"; } #2. Align center Cart Title /* Align center Cart Title */ h2.cart-title { text-align: center; } #3. Add a subtext under Cart Title /* Add a subtext under Cart Title */ h2.cart-title:after { content: "Cart sub text"; display: block; font-size: 14px; } #4. Rename “You have nothing in your shopping cart” text /* Rename You have nothing in your shopping cart text */ p.empty-message { visibility: hidden; } p.empty-message:before { visibility: visible; content: "enter new text here"; } #5. Rename “Continue Shopping” text /* Rename Continue Shopping text */ a.cart-continue-button { color: transparent !important; position: relative; } a.cart-continue-button:after { color: #fff; content: 'Enter New Text'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 100%; } #6. Product thumbnail size /* product thumbnail size */ .cart-row-img-wrapper { width: 190px !important; } #7. Variant size color /* Variant size color */ p.cart-row-variant { color: #f1f; font-size: 20px !important; } #8. Remove quantity /* remove quantity */ .cart-row-qty { display: none !important; } #9. Remove Price /* remove price */ p.cart-row-price { display: none; } .cart-subtotal { display: none; } #10. X remove color /* X Color */ .cart-row-remove svg { fill: #f1f !important; } #11. Add a text under the checkout button /* add a text under checkout button */ .cart-checkout:after { content: "enter new text here"; text-align: left; font-size: 20px; margin-top: 10px; } #12. Remove checkout button /* remove checkout button */ .cart-checkout-button { display: none !important; } If you have any other questions, just comment below.
-
You can change it in Site Styles or use this CSS code footer.sections * { font-family: var(--site-navigation-font-font-family); }
-
If external links, use this <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function() { $('a').attr('target', function() { if(this.host == location.host) return '_self' else return '_blank' }); }); </script>
-
Image height is different so I can't find a code to align them under image You try contacting Plugin Author, maybe he know a solution for this?
-
Need help with displaying an interactive object on desktop and mobile
tuanphan replied to sssnole's topic in Pages & Content
If stretch it fullheight, it won't be fullwidth The only solution is make it align center, so you will see a gap on both top/bottom of screen- 9 replies
-
- responsive-design
- jasper-template
-
(and 2 more)
Tagged with:
-
Horizontal Text Scroll For Mobile - Text Links
tuanphan replied to mikecali's topic in Site Structure & Navigation
You can consider using Scrolling Block, Gallery Block, List Section Carousel... then we can use code to move it above Header What do you think? -
You can use this code to Website Tools (under Not Linked) > Custom CSS #block-yui_3_17_2_1_1700578253242_14542 .sqs-gallery-block-grid .sqs-gallery-design-grid-slide .margin-wrapper { margin-bottom: 0px !important; }
-
Main Events Section & Event Description Pages Formatting
tuanphan replied to ChrisVL's topic in Site Design & Styles
Add this to Last Line in Code Injection > Footer <script> $(document).ready(function(){ $('h1.eventitem-title').insertBefore('div.eventitem-column-content .button-block'); $('li.eventitem-meta-item.eventitem-meta-date.event-meta-item').insertAfter('h1.eventitem-title'); }); </script> <style> li.eventitem-meta-item.eventitem-meta-date.event-meta-item { list-style: none; } </style>