DIN Posted January 22, 2021 Share Posted January 22, 2021 (edited) Site URL: https://mika.squarespace.com/projekt-am-hang Hello Community, hope someone can help me, please... I want to make a fixed text section so I can scroll down the pictures on left and text on the right is fixed. Is there any CSS Code to fix that on several pages https://mika.squarespace.com/projekt-am-hang PW: mika Edited January 22, 2021 by DIN Link to comment
tuanphan Posted January 23, 2021 Share Posted January 23, 2021 Add to Design > Custom CSS /* sticky text */ @media screen and (min-width:641px) { div#page-5fe123c95991c06291e62c69 .col.sqs-col-6.span-6:nth-child(2) { position: sticky; top: 220px; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
DIN Posted January 25, 2021 Author Share Posted January 25, 2021 THNAK YOU SOOOOO MUCH! Link to comment
TVB Posted February 25, 2021 Share Posted February 25, 2021 @tuanphan I would like to do the same with all blog pages they are under the url /work Here's an example: https://thevisualbrand.squarespace.com/work/altos-tequila Password: tvb I would like the title & description to be sticky. Link to comment
tuanphan Posted March 1, 2021 Share Posted March 1, 2021 On 2/26/2021 at 3:35 AM, TVB said: @tuanphan I would like to do the same with all blog pages they are under the url /work Here's an example: https://thevisualbrand.squarespace.com/work/altos-tequila Password: tvb I would like the title & description to be sticky. You mean ALTOS TEQUILA text column? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
TVB Posted March 4, 2021 Share Posted March 4, 2021 yes @tuanphan the altos tequila text box, the title and description text. Link to comment
tuanphan Posted March 7, 2021 Share Posted March 7, 2021 Add to Design > Custom CSS /* sticky text */ @media screen and (min-width:768px) { .blog-item-top-wrapper { position: sticky; top: 100px; } } Vicks 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
gvlgvl Posted May 28, 2021 Share Posted May 28, 2021 (edited) Hi tuanphan, I was hoping to do the same to the text block and the code block on my page: https://www.ladigin.com/test Password: lvg Edited May 28, 2021 by gvlgvl remove duplicate image Link to comment
tuanphan Posted May 28, 2021 Share Posted May 28, 2021 9 hours ago, gvlgvl said: Hi tuanphan, I was hoping to do the same to the text block and the code block on my page: https://www.ladigin.com/test Password: lvg Add to Design > Custom CSS @media screen and (min-width:768px) { div#page-section-60ae8fc115eeae708ef70df3>.row>.span-5 { position: sticky; position: -webkit-sticky; top: 0; } } gvlgvl 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
gvlgvl Posted June 3, 2021 Share Posted June 3, 2021 On 5/28/2021 at 7:36 AM, tuanphan said: Add to Design > Custom CSS @media screen and (min-width:768px) { div#page-section-60ae8fc115eeae708ef70df3>.row>.span-5 { position: sticky; position: -webkit-sticky; top: 0; } } That did it, thank you! Link to comment
naomibhalla Posted August 31, 2021 Share Posted August 31, 2021 Hi tuanphan, I was hoping to do the same to the text block and the code block on my page: https://naomibhalla.com/website-redesign Link to comment
tuanphan Posted September 1, 2021 Share Posted September 1, 2021 15 hours ago, naomibhalla said: Hi tuanphan, I was hoping to do the same to the text block and the code block on my page: https://naomibhalla.com/website-redesign It looks like you solved this? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
SINAA Posted September 23, 2021 Share Posted September 23, 2021 Hi @tuanphan I am trying to have a column be sticky only in its section. I tried your CSS codes above (Changed the block id). But it doesn't work. I am also trying to create a secondary navigation bar the sticks to the top of the page. The links are anchor links for the same page. Appreciate if you could help me please. Thanks Sina Link to comment
tuanphan Posted September 24, 2021 Share Posted September 24, 2021 On 9/23/2021 at 8:43 PM, SINAA said: Hi @tuanphan I am trying to have a column be sticky only in its section. I tried your CSS codes above (Changed the block id). But it doesn't work. I am also trying to create a secondary navigation bar the sticks to the top of the page. The links are anchor links for the same page. Appreciate if you could help me please. Thanks Sina Can you share page url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
SINAA Posted September 25, 2021 Share Posted September 25, 2021 20 hours ago, tuanphan said: Can you share page url? www.lnkn.co.uk Link to comment
tuanphan Posted September 27, 2021 Share Posted September 27, 2021 On 9/26/2021 at 3:43 AM, SINAA said: www.lnkn.co.uk Hi, Which element you want to make sticky? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
SimonG Posted November 4, 2021 Share Posted November 4, 2021 Hey @tuanphan It's amazing how you make it easy. Can you share why do you use each code ? I would like to understand to do the same for my case here : Link to comment
greenbaby12 Posted November 6, 2021 Share Posted November 6, 2021 Hi @tuanphan Can you tell me how I can make the text on the left side of the page stay fixed as the user scrolls through the images on the right? https://emilymullaney.work/new-page-70 Thank you!! Link to comment
creedon Posted November 6, 2021 Share Posted November 6, 2021 @greenbaby12 Add the following to Design > Custom CSS. #page-618697982a9ea677d6d16831 > .sqs-row > .sqs-col-5 { position : sticky; top : 109px; } This is for v7.0 using the York template family and specific to the poster's need. Let us know how it goes. tuanphan 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
trippstagram Posted November 12, 2021 Share Posted November 12, 2021 (edited) @tuanphan I have a few pages (around 20 - 25 total) that I'm trying to format similarly – a few short sentences in a sticky paragraph on the left, and scrolling gallery on the right. Is there a standard line of code that applies to all pages, or does it need to be specific to each? https://www.trippclemens.com/ppfa Edited November 13, 2021 by trippstagram Link to comment
tuanphan Posted November 14, 2021 Share Posted November 14, 2021 On 11/12/2021 at 9:16 AM, trippstagram said: @tuanphan I have a few pages (around 20 - 25 total) that I'm trying to format similarly – a few short sentences in a sticky paragraph on the left, and scrolling gallery on the right. Is there a standard line of code that applies to all pages, or does it need to be specific to each? https://www.trippclemens.com/ppfa Answered your message Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Guest Posted November 21, 2021 Share Posted November 21, 2021 Hello @tuanphan, I would like to keep the block fixed once I scroll past this section of the webpage. Could you advise? Link to comment
creedon Posted November 21, 2021 Share Posted November 21, 2021 @keongxq Please post the URL for a page on your site where we can see your issue. If your site is not public please set up a site-wide password, if you've not already done so. Post the password here. Adding a site-wide password is not a security breach. Please read the documentation at the link provided to understand how it works. Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/. We can then take a look at your issue. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
tuanphan Posted February 13, 2022 Share Posted February 13, 2022 On 2/9/2022 at 11:31 AM, Chakman said: Hello @tuanphan I would like to keep the left-hand side block fixed while the right-hand side content keep scrolling down. Any advise? Many many thanks 🙏 public url: https://www.chakmandesign.com/about Att. Add to Design > Custom CSS /* sticky resume */ @media screen and (min-width:992px) { div#page-section-620338e4aacdac0d19037599 .span-5 { position: sticky; position: -webkit-sticky; top: 0; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
SSong Posted March 15, 2022 Share Posted March 15, 2022 (edited) @tuanphan Could you help me? I'm looking to do something similar on an index page sub page #farm-intro, trying to make the the left column (with the FARMING PRACTICES, COMPOST, REDUCED TILL, CROP ROTATION, BIODIVERSITY) sticky within the subpage, and also highlighted somehow (darker color or bigger font size) as one scrolls down past the section on right column. I tried to do it myself but it's not working... 😥 Thank you!! Edited March 15, 2022 by SSong website content update Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment