There is a vertical bar on my homepage. It is actually an image that looks something like this:
The white boxes are the place-holders for the product images that will be added dynamically. I want to know how to stretch the blue vertical bar as new product images are added. This must be done programmatically.
Use the image as background and repeat it vertically.
Something like this
From your image I think you can make a small image of dimension 5*5 or something and make it repeat vertically and horizontally. For that you don’t have to set the background position, because
repeatis the initail value for background-position.