SRocks Posted January 4, 2021 Share Posted January 4, 2021 I am using header code injection to create a carousel on my portfolio page to showoff the projects we present. However, the project pages read the same header code as the portfolio page (there isn't a separate header code injection for each project page) and therefore also create a carousel which isn't what I want. I was wondering if anyone knows how to override the header code for individual project pages. My other workaround is understanding the code behind project pages and how they are nested within portfolio pages so I can target each project page, so if anyone has info on that that would be helpful too. Beyondspace 1 Link to comment
Beyondspace Posted January 5, 2021 Share Posted January 5, 2021 4 hours ago, SRocks said: I am using header code injection to create a carousel on my portfolio page to showoff the projects we present. However, the project pages read the same header code as the portfolio page (there isn't a separate header code injection for each project page) and therefore also create a carousel which isn't what I want. I was wondering if anyone knows how to override the header code for individual project pages. My other workaround is understanding the code behind project pages and how they are nested within portfolio pages so I can target each project page, so if anyone has info on that that would be helpful too. each collection page has common body class name, we can use it to identity the current page type, kindly share your site url and the custom code you are using to help SRocks 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you 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