Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search


  • Posts

  • Joined

  • Last visited

Everything posted by hme164

  1. Aha! I see.. Thank you a lot for your help and advice 👍
  2. pw is: tmp2020 There are actually few codes I would need this for, one of them is this one: <style> @media only screen and (min-width: 641px){ #collection-5f6cc0184c907d71466b19f8 #page .page-section:nth-of-type(2) { width: 35%; max-height: 80vh; align-items: top; float: left; } #page .page-section:nth-of-type(3) { width: 65%; min-height: 80vh; align-items: top; } } </style> I want a way to replace ".page-section:nth-of-type(2)" with the current section the code block is placed in. and ".page-section:nth-of-type(3)" with the next section the code is placed in (n+1)
  3. Hi My question is a bit tricky, and it consists of two part.. I want to insert a code block in a section. How can I refer to this same section which contains the code block using CSS without using section ID or section n-th child? (so when I copy the code to another section, I don't have to change anything in the code) How can I refer to the next section (if my code block is in section 2, how can I refer to section 3 inside my code block, so that relation stay when I copy the block to another section) I need this for multiple reasons. One of them, I have a number of projects in one page, each project have two sections (onw for text, and one for gallery). I am using a code that make these two sections next to each other using nth child. Because I have a lot of projects (I have multiple pages, each page has between 10 and 25 projects), putting the code manually for each section number is very time consuming and can be very confusing. I really appreciate any help ! https://penguin-primrose-f7ng.squarespace.com/projects/artworks tmp2020
  4. My apologies! This is working https://penguin-primrose-f7ng.squarespace.com/projects/artworks tmp2020
  5. https://penguin-primrose-f7ng.squarespace.com/projects/artworks tmp2020 Thanks in advance!
  6. Thank you so much! Really appreciate it! https://penguin-primrose-f7ng.squarespace.com/university-teaching/project-one-27l2n tmp2020
  7. Is it possible to achieve this on any page in Squarespace 7.1? I would really appreciate it! @RyanDejaegher
  8. That is just great! Thank you! I was wondering how can I target the content of a blog to create a border around? I tried different variations but with no luck
  9. Hi ! I was wondering if there is a way to create overlapping section rather than background. Something similar to parallax effect but for entire section content not just its background. For example, I want as I scroll down section 2 to cover section 1 (both background and text) rather than only covering the background. Currently, I am using the parallax code from https://schwartz-edmisten.com/blog/how-to-add-parallax-to-squarespace-7-1 I really appreciate your help! @tuanphan
  • Create New...