#"block-yui_3_17_2_1_1655505017179_7631"*first image*/ .sqs-gallery-block-stacked .image-wrapper:first-child { margin-left: 35%; } /*second image*/ .sqs-gallery-block-stacked .image-wrapper:nth-child(2) { margin-right: 40%; margin-left: 10%; margin-top: -20%; } /*last image*/ .sqs-gallery-block-stacked .image-wrapper:last-child { margin-left: 50%; margin-top: -20%; margin-right: 10%; } }