-
Posts
65,269 -
Joined
-
Last visited
-
Days Won
521
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Everything posted by tuanphan
-
I see you fixed it with this CSS code? @media screen and (max-width: 640px) { .comment-count span { font-size:15px !important } span.comment-btn.sqs-system-button.sqs-editable-button-font.sqs-editable-button-shape { visibility: hidden } span.comment-btn.sqs-system-button.sqs-editable-button-font.sqs-editable-button-shape:after { content: "LOG YOUR SCORE"; visibility: visible; background: #e38b6c; color: #fff; font-family: halyard-display; font-weight: 500; font-style: normal; text-transform: none; line-height: .75em; letter-spacing: .05em; -webkit-font-smoothing: antialiased; font-size: 10px; line-height: normal; padding: 10px 10px } }
-
Miscellaneus coding custom font
tuanphan replied to GastonDuflos's topic in Fonts, colors and images
What is your problem? Can you describe in more detail + site url, we can check easier -
Logo loading screen - code adjustment please
tuanphan replied to rdreed's topic in Customize with code
This code looks correct. What is problem with code?- 39 replies
-
- code-injection
- logo
-
(and 1 more)
Tagged with:
-
I think his site is Well template. If you share link to gallery on your site, we can take a look
- 4 replies
-
- gallery-page
- momentum-template
-
(and 2 more)
Tagged with:
-
Summary Block/Gallery Block has a Slideshow layout option with left/right arrow. You can use these blocks to achieve carousel scrolling. Then we can use code to move it into Announcement Bar.
- 16 replies
-
- announcement-bar
- code-injection
-
(and 1 more)
Tagged with:
-
Change your first code, from this .gallery-caption { position: absolute; top: 0; left: 0; background: rgba(32,28,105,0.9); /* overlay color */ height: 100%; padding: 0; opacity: 0; } to this .gallery-caption { position: absolute; top: 0; left: 0; background: rgba(32,28,105,0.9); /* overlay color */ height: 100%; padding: 0; opacity: 0; pointer-events: none; } (I added pointer-events: none;)
- 4 replies
-
- custom-css
- hover
-
(and 3 more)
Tagged with:
-
I think you can add a section to top, then use a background image with half of image is orange color, half is white color, then we can move code to move it behind header. SO you can achieve solid color block logo With nav underline, add this to Design > Custom CSS nav.header-nav-list { border-bottom: 1px solid black; }
- 1 reply
-
- navigation
- navigation-link
-
(and 1 more)
Tagged with:
-
Filter Blog Posts by Author's Name From the Blog Page
tuanphan replied to Cribinal's topic in Customize with code
Can you share link to these author pages? We can give code to make text clickable to those url Carrie Vaughn Marie Vibbert J. T. Greathouse Matt Dovey Sarah Pinsker Delilah S. Dawson C. L. Clark -
- 23 replies
-
Squarespace 7.1 Code Block Spacing After
tuanphan replied to cshaddock's topic in Customize with code
Try adding to Design > Custom CSS /* Space under Register here */ .fe-64418a303b164fcb4ce2e309 { grid-template-rows: repeat(30,minmax(calc(~"var(--container-width) * var(--row-height-scaling-factor)"), auto)) !important; } -
If you share site url, we can give code to adjust its height
-
Hi, I don't see cta button on desktop header. Can you check it again?
- 13 replies
-
If the site is Business Plan or higher, you can using this code (Settings > Developer Tools > Code Injection > Footer). <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <style> article>section:first-child a.next-section { padding-top: 70px; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 2; display: inline-block; color: #fff; 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; } article>section:first-child 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> <script> $(function() { $("body.homepage #page>article>section:first-child").append('<a href="#" class="next-section"></a>'); $('a.next-section').on('click', function(e) { e.preventDefault(); $('html, body').animate({ scrollTop: $("body.homepage #page>article>section:first-child").next().offset().top}, 500, 'linear'); }); }); </script> To change arrow color, change the line color: #fff;
- 18 replies
-
- code
- code-injection
-
(and 1 more)
Tagged with:
-
try change position: FIXED; to position: absolute;
- 3 replies
-
- alignment
- code-injection
-
(and 1 more)
Tagged with:
-
You can also use some CSS (Design > Custom CSS) like this to achieve request .portfolio-grid-basic .grid-item h3 { color: transparent; background-size: cover; background-position: center center; display: inline-block; } .portfolio-grid-basic .grid-item:nth-child(1) h3 { background-image: url(https://cdn.pixabay.com/photo/2023/05/23/18/12/hummingbird-8013214_1280.jpg); } .portfolio-grid-basic .grid-item:nth-child(2) h3 { background-image: url(https://cdn.pixabay.com/photo/2023/06/10/05/11/himalyas-8053173_1280.jpg); } .portfolio-grid-basic .grid-item:nth-child(3) h3 { background-image: url(https://cdn.pixabay.com/photo/2023/06/12/05/12/bird-8057638_1280.jpg); } Replace Pixabay with your png url
-
how to properly include icons in the announcement bar CSS?
tuanphan replied to NaraKury's topic in Customize with code
Add this code under to resize image on mobile @media screen and (max-width:767px) { .sqs-announcement-bar:before { width: 5vw !important; height: 5vw !important; } } -
Change colour of secondary nav menu on 7.1 squarespace
tuanphan replied to paultogether's topic in Fonts, colors and images
You can remove the code, I will check it again easier- 14 replies
-
- code-injection
- navigation
-
(and 1 more)
Tagged with:
-
Which template do you use? I will try test it on my site
- 17 replies
-
- shopping-cart
- heading
-
(and 1 more)
Tagged with:
-
Navigation Bar: Adding Boxes/Outlines Around Page Links
tuanphan replied to robertmatlock93's topic in Customize with code
Use this code div.header-nav-item:nth-child(4)>a { border: 1px solid blue; padding-left: 10px !important; padding-right: 10px !important; }- 13 replies
-
- navigation
- code
-
(and 1 more)
Tagged with:
-
Hi, Can you share link to page where you added it? We can check easier
-
How to add a second logo to my squarespace header in 7.1?
tuanphan replied to Jacquelyn's topic in Customize with code
You mean change logo to new version on homepage, and other pages will use current logo? -
This will require a lot of code, I intend to write a guide on this
- 5 replies
-
- footer
- navigation
-
(and 2 more)
Tagged with:
-
Hi, Can you share link to page where you use image? We can try custom code to do this