Webboard

Pełna wersja: Button Rejestracja + zmniejszenie czcionki
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB:1.8.3
adres forum: Forum
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Jak zrobić ten button Rejestracji + zmniejszyć czcionkę "Logowanie » Rejestracja" na 11px ??

[Obrazek: 123213123123123.png]
Podaj szablon naglowek --> header_welcomeguest_register
header_welcomeguest_register ?? (Nie mam takiego)

header_welcomeblock_guest

Kod PHP:
                        <!-- Continuation of div(class="upper") as opened in the header template -->
                        <
span class="welcome"> <a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="$('#quick_login').modal({ fadeDuration: 250, keepelement: true }); return false;" class="login">{$lang->welcome_login»</a> <a href="{$mybb->settings['bburl']}/member.php?action=register" class="register">{$lang->welcome_register}</a></span>
                    </
div>
                </
div>
                <
div class="modal" id="quick_login" style="display: none;">
                    <
form method="post" action="{$mybb->settings['bburl']}/member.php">
                        <
input name="action" type="hidden" value="do_login" />
                        <
input name="url" type="hidden" value="" />
                        <
input name="quick_login" type="hidden" value="1" />
                        <
table width="100%" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}border="0" class="tborder">
                            <
tr>
                                <
td class="thead" colspan="2"><strong>{$lang->login}</strong></td>
                            </
tr>
                            <
tr>
                                <
td class="trow1" width="25%"><strong>{$login_username}</strong></td>
                                <
td class="trow1"><input name="quick_username" id="quick_login_username" type="text" value="" class="textbox initial_focus" /></td>
                            </
tr>
                            <
tr>
                                <
td class="trow2"><strong>{$lang->password}</strong></td>
                                <
td class="trow2">
                                    <
input name="quick_password" id="quick_login_password" type="password" value="" class="textbox" /> <a href="{$mybb->settings['bburl']}/member.php?action=lostpw" class="lost_password">{$lang->lost_password}</a>
                                </
td>
                            </
tr>
                            <
tr>
                                <
td class="trow1">&nbsp;</td>
                                <
td class="trow1 remember_me">
                                    <
input name="quick_remember" id="quick_login_remember" type="checkbox" value="yes" class="checkbox" checked="checked" />
                                    <
label for="quick_login_remember">{$lang->remember_me}</label>
                                </
td>
                            </
tr>
                            <
tr>
                                <
td class="trow2" colspan="2">
                                    <
div align="center"><input name="submit" type="submit" class="button" value="{$lang->login}/></div>
                                </
td>
                            </
tr>
                        </
table>
                    </
form>
                </
div>
                <
script type="text/javascript">
                    $(
"#quick_login input[name='url']").val($(location).attr('href'));
                </
script
Sorry, pomyliłem się :D
Wklej to do global.css:
Kod:
.register {
background: #7BA60D;
color: #FFFFFF;
display: inline-block;
padding: 5px 8px;
border: 1px solid #7BA60D;
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2) inset, 0px 1px 4px rgba(0, 0, 0, 0.4);
font-size:11px;
}
.register a {
font-size:11px;
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
}
.login a {
font-size:11px;
}
No prawie:
[Obrazek: e21321_b.png]
Usuń to z global.css:

Kod:
#panel .upper a.register {
    background: url(../../../images/user_register.png) left  no-repeat;
    padding-left: 20px;
    margin-left: 10px;
    font-weight: bold;
}


I jeszcze to usuń:
Kod:
#panel .upper a.login,
#panel .upper a.lost_password {
    background: url(../../../images/user_login.png) 0 no-repeat;
    padding-left: 20px;
    margin-left: 10px;
    font-weight: bold;
}