CSS for Responsive site

I am trying to make https://www.peadler.com/ site responsive specially for mobile. I do not want to change  the original site which opens in PC.
For testing I have uploaded it http://just2test.in/peadler/peadler.html
Now for textboxes on top I have used following style in the same page like this
@media(max-width:767px) {
	
.usernameField {
    width: 100px;
    margin-top: 8px;
}
.passwordField {
    width: 100px;
    margin-left: 20px;
    margin-top: 8px;
}
}

Open in new window

but it does not work.

I need help for registration and video section too to make it responsive.

Thanks and advance.
LVL 1
Rajesh JoshiAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Prasadh BaapaatWeb Designer & DeveloperCommented:
it works if you change it in below code, add it after your media query.
.container .loginFormWrapper .loginTable .usernameField {
    margin-top: 8px;
    width: 150px;
}
.container .loginFormWrapper .loginTable .passwordField {
    margin-left: 20px;
    margin-top: 8px;
    width: 150px;
}

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rajesh JoshiAuthor Commented:
Thank you.
Will you please explain why my code was not working.

Thank you again.
Prasadh BaapaatWeb Designer & DeveloperCommented:
one reasen may be: by the CSS code I suggested, we are targeting the EXACT element... like we are telling the browser to target a textbox which is inside .container >> .loginFormWrapper >> .loginTable >> .passwordField (this one to target)

thanks,
Prasadh
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.