Im working on a project and I just got to a place where I have to remove a CSS element by using JavaScript.
I have pasted what I have done so far here: jsfiddle.net
After running the code you will notice a basic registering steps (left side) and a registering methods using social media (right side). And between those two elements, there is an element "OR" with a yellow background.
On the left side when I decided to register as designer, new fiels appear and the social media disappear. The main problem which is bringing me here is that, I am unable to increase the margin-left of the block of basic formula located at the left and also unable to remove the "OR" when a user decides to register as "designer", even if I use
$(".form-register-with-email:after").hide();
Thanks for helping me. Sorry Im not a native english speaker, Im trying my best.