ul.hs-image-align-none { margin: 0; padding: 0; white-space: nowrap; width: 100%; overflow-x: scroll; background-color: white; border-radius: 15px; } ul.hs-image-align-none li { display: inline; width: 150px; height: 150px; } .picture_details { height: 550px; padding: 20px; border-right: 5px solid white; } ul.hs-image-align-none::-webkit-scrollbar { -webkit-appearance: none; width: 3px; height: 10px; background-color: lightgrey; } ul.hs-image-align-none::-webkit-scrollbar-thumb { border-radius: 4px; background-color: grey; -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5); }