Resize banner on mobile devices

View previous topic View next topic Go down

Resize banner on mobile devices

Post by Guest on 1/23/2015, 7:32 pm


Guest
Guest


Add this little CSS to your phpBB3 forum to resize your banner on mobile devices.


phpbb3

Code:
#logo, #logo img {padding:$$$px;width: ###% !important;height: @@@% !important;}

$$$ = number of px padding to the left
### = percentage horizontal stretching
@@@= percentage vertical stretching
!important is the override statement



Example:

Code:
#logo, #logo img {padding:0px;width: 100% !important;height: 12% !important;}

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum