Did you follow the steps correctly? The reason why its like that is that, its because woocommerce generated the same div class name which is “container”..so when you insert a css property on .container, the woocommerce container will be affected as well..so the solution is to rename the .container generated by woocommerce then adjust css.