[ Post made via Android ]

Code: Select all
@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {
#infobar img {
display:none;
}
}
Code: Select all
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT and not S_IN_UCP and PMREGBAR_ENABLEREG -->
<div class="responsive-hide">
<div id="info"><div id="infobar">
<a href="{U_REGISTER}"><img style="width: 50px; height: 50px; padding-right: 100px; vertical-align:middle;" alt="" src="ext/dmzx/pmregbar/styles/all/theme/images/reg.png" /><!-- IF not PMREGBAR_ENABLE_TEXT -->{L_PMREGBAR_WELCOME} {SITENAME}. {L_PMREGBAR_REGISTER}<!-- ELSE -->{PMREGBAR_TEXT_FIELD} <!-- ENDIF --><img style="width: 50px; height: 50px; padding-left:100px; vertical-align:middle;" alt="" src="ext/dmzx/pmregbar/styles/all/theme/images/reg.png" /></a>
</div></div>
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_DISPLAY_PM and (S_USER_NEW_PRIVMSG or S_USER_UNREAD_PRIVMSG) and PMREGBAR_ENABLEPM -->
<div id="info"><div id="infobar">
<a href="{U_PRIVATEMSGS}"><img style="width:50px; height: 50px; padding-right: 100px; vertical-align:middle;" alt="" src="ext/dmzx/pmregbar/styles/all/theme/images/mail.png" />{L_PMREGBAR_HELLO} {S_USERNAME} {L_PMREGBAR_YOUHAVE} {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD --> {L_PMREGBAR_AND} {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --><img style="width: 50px; height: 50px; padding-left:100px; vertical-align:middle;" alt="" src="ext/dmzx/pmregbar/styles/all/theme/images/mail.png" /></a>
</div></div></div>
<!-- ENDIF -->
Code: Select all
/**
*
* @package phpBB Extension - PM Notify & Guest Register bar
* @copyright (c) 2015 dmzx - https://www.dmzx-web.net
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
* @Author Stoker - http://www.phpbb3bbcodes.com
*
*/
#info {
overflow: visible;
min-width: 750px;
width: 100%;
position: fixed;
left: 0;
z-index:200;
margin-top: -8px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 1.5em;
font-weight: bold;
}
#infobar a, #infobar a:link, #infobar a:visited, #infobar a:active {
display: block;
float: left;
width:100%;
clear: both;
color: #fff;
padding: .85em 0 .85em 0;
border-bottom: .25em solid #fff;
text-align: center;
text-decoration: none;
background-image: url("./images/pmreg.png");
background-position: bottom;
background-repeat:repeat-x;
}
#infobar a:hover {
color: #fff;
background-image: url("./images/pmreg.png");
background-position: top;
background-repeat:repeat-x;
border-bottom: .25em solid #fff;
cursor: pointer;
}
.pm-mail {
background: url("images/mail.png");
background-repeat: no-repeat;
padding: 20px 24px;
vertical-align:middle;
}
.pm-reg {
/* background: url("images/reg.png"); */
background-repeat: no-repeat;
padding: 10px 35px;
vertical-align:middle;
}
/* Responsive Layout
--------------------------- */
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
.pm-mail {
display: none;
}
.pm-reg{
display: none;
}
#info {
min-width: 300px;
}
}
martin wrote:css for the pm/reg bar being used here dont know if dm has custom css or not as i have to steal code as he dont share it no more so here is his css![]()
Code: Select all
/** * * @package phpBB Extension - PM Notify & Guest Register bar * @copyright (c) 2015 dmzx - https://www.dmzx-web.net * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 * @Author Stoker - http://www.phpbb3bbcodes.com * */ #info { overflow: visible; min-width: 750px; width: 100%; position: fixed; left: 0; z-index:200; margin-top: -8px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 1.5em; font-weight: bold; } #infobar a, #infobar a:link, #infobar a:visited, #infobar a:active { display: block; float: left; width:100%; clear: both; color: #fff; padding: .85em 0 .85em 0; border-bottom: .25em solid #fff; text-align: center; text-decoration: none; background-image: url("./images/pmreg.png"); background-position: bottom; background-repeat:repeat-x; } #infobar a:hover { color: #fff; background-image: url("./images/pmreg.png"); background-position: top; background-repeat:repeat-x; border-bottom: .25em solid #fff; cursor: pointer; } .pm-mail { background: url("images/mail.png"); background-repeat: no-repeat; padding: 20px 24px; vertical-align:middle; } .pm-reg { /* background: url("images/reg.png"); */ background-repeat: no-repeat; padding: 10px 35px; vertical-align:middle; } /* Responsive Layout --------------------------- */ @media only screen and (max-width: 700px), only screen and (max-device-width: 700px) { .pm-mail { display: none; } .pm-reg{ display: none; } #info { min-width: 300px; } }
Code: Select all
/* Responsive Layout
--------------------------- */
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
.pm-mail {
display: none;
}
.pm-reg{
display: none;
}
#info {
min-width: 300px;
}
}