Resize banner on mobile devices
Liquid Code :: Coding Factory :: Scripting :: Finished scripts :: Graphics
Page 1 of 1 • Share
Resize banner on mobile devices
Guest- Guest
Add this little CSS to your phpBB3 forum to resize your banner on mobile devices.
$$$ = number of px padding to the left
### = percentage horizontal stretching
@@@= percentage vertical stretching
!important is the override statement
Example:
- 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;}
Similar topics
» Force Classic View on Mobile Devices
» Resize Avatars in Posts and Topics
» Auto center and resize embedded media
» [IN PROGRESS]New Banner
» Resize Avatars in Posts and Topics
» Auto center and resize embedded media
» [IN PROGRESS]New Banner
Liquid Code :: Coding Factory :: Scripting :: Finished scripts :: Graphics
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|