The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
|||
|
|||
![]()
quote from here
"This is fantastic" quote from your forum "so I apologize if it looks a little ugly for a short while" Ok, I understand. Hmm.. ![]() ![]() Colors You can delete lines with background-color or change to transparent or comment it out (last my advice, cause you can enable it or toggle with transparent in future tests) Code:
<style> #spacerforstickyfooter { .. // comment out a line with double slash // background-color:red; background-color:transparent; .. } .. #stickyfooter{ height: 50px; // comment out a line with double slash // background-color:green; background-color:transparent; width: 50%; margin: auto; } </style> Remember - it is unusual to detect mobile. Usually you detect a device with a screen with more than or lower than xxx pixels screen width. (small desktop display is in this case the same as a big tablet/ phone display) Change the code to Code:
<style> #stickyfootersponsors, #spacerforstickyfooter, #stickycontainer, #stickyfooter { display: none; // footer not shown by default, only with screen width below } @media only screen and (max-width:900px){ #stickyfootersponsors { width:100%; margin-top:20px; text-align: center; } #spacerforstickyfooter { height:50px; //background-color:red; background-color:transparent; width:100%; margin-top:20px; } #stickycontainer { height: 50px; width: 100%; position: fixed; bottom: 0px; text-align: center; } #stickyfooter{ height: 50px; //background-color: green; background-color: transparent; width: 50%; margin: auto; } } </style> <div id="stickyfootersponsors ">FORUM SPONSORS</div> <div id="spacerforstickyfooter"> spacer with same height like sticky footer </div> <div id="stickycontainer"> <div id="stickyfooter"> sticky footer content </div> </div> Content later. PS: I personally don't like cross postings. ![]() PPS: In your forum the "I agree" button on private policy message box has same font and background color. Not good for reading. ![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|