SnapperGB Posted September 6, 2022 Posted September 6, 2022 (edited) Site URL: https://celery-prism-5xaj.squarespace.com/ I am using code blocks to create iframe links on pages on my site but I need to create different ones for each page. So I need to create the code for 50 blocks. The frustrating thing is that the code only has a couple of changes. I am looking for a fast way of merging data from say a css file to populate a couple lines of code, without having to manually cut and paste it. Here is the code <div class="thumbs"> <h2>Marc Jacobs</h2> </div> <div style="padding:56.25% 0 0 0;position:relative;"> </div> <div class="overlayY"> <iframe src="https://player.vimeo.com/video/710075358?background=1?autoplay=1&loop=1&title=0&byline=0&portrait=0" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="autoplay; fullscreen" allowfullscreen> </iframe> </div> The only bits I want to change are the bits in orange. I already have all the variations in a spreadsheet. I imagine the solution isn't in SquareSpace but is some sort of find/ replace in a text editor. Any suggestions? Edited September 6, 2022 by SnapperGB change colour of link
tuanphan Posted September 8, 2022 Posted September 8, 2022 Hi. What is password? 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment