Hello Tuanphan
Sorry to be a pest, but I have another problem.
Whilst your last coding managed to put the border around all the photos in the page I titled "gallery", the border (or part of it) also appears around photos on other pages ?
Now while these are "gallery blocks" I have inserted from Square-space, I actually only want the border on photos that appear within the page as detailed below:-
https://fatpaparazzi.com.au/test-gallery
Is there another code that is available to only have the border on these images and not throughout the entire site where photos appear when inserted as part of a square space gallery ?
I hope there is and thank you in advance for your help again on this matter.
regards
Peter