Having problem making a website where ul overlaps heading and when resized li goes into 2 lines you can check the code here : https://jsfiddle.net/ry3ur710/2/