Make !important your CSS rules
-
The following CSS rules in body.login div#login h1 a:
width
heightshould be made !important because many themes override them, causing the logo not showing correctly.
Indeed, padding-bottom should be a margin-bottom, otherwise the logo will bepartially repeated vertically in the padding space.
On mobile phones, you should avoid fixed width for login form. I’m currently fixing it adding this custom CSS:
@media screen and (max-width: MY_FORM_WIDTH) { body.login div#login { width: auto !important; } }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Make !important your CSS rules’ is closed to new replies.