I have a simple login form on the top right of my site using the ‘pull-right’ css. i want this form to align to the left on a mobile (when you resize down) – at the moment it’s still floating about on the right and looks wrong.
This reply has been reported for inappropriate content.
Depends a little bit on what you want to do?
If you always want to have .pull-right be to the left when it’s smaller, add a rule along the lines of
within an appropriate media query.
If you’re wanting just the login to not be floating to the right, find a decent selector that’s more specific than .pull-right and add the float: none; to that selector within the appropriate media query.
I can’t give more details than that without seeing the code, unfortunately.