giving ul class and assigning css to class and not ul