Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Zmiana koloru napisu

Założony przez  shido12.

wersja skryptu MyBB: 1.8.4
adres forum: istories.cba.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Witam chciałbym zmienić/pogrubić kolor " Witaj " a później po zalogowaniu
obiekty zaznaczone na screenie, ale nie wiem jak do tego się zabrać :huh: może ktoś pomóc?

http://zapodaj.net/cb757ce61b674.bmp.html
Szukaj w szablonach nagłówka: header_welcomeback_member i header_welcomeback_guest
to te dwa szablony gdzie to mniej więcej jest ?

header_welcomeback_guest :

<div class="welcomeguest">
{$lang->welcome_guest}
</div>

<div class="guestlogin">
    <span class="loginbutton"><a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="$('#quick_login').modal({ fadeDuration: 250, keepelement: true }); return false;">{$lang->welcome_login}</a></span>&nbsp;
    <span class="registerbutton"><a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a></span>
</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" />
          <div class="welcometitle">
              <h1>{$lang->xstyled_loginat} {$mybb->settings['homename']}</h1>
          </div>
        <div class="welcomebox">
              {$lang->xstyled_loginfirstphrase}<br /><br />
              {$lang->xstyled_loginsecondphrase}<br /><br />
              {$lang->xstyled_loginthirdphrase}
          </div>
          <div class="welcomelogin">
              <ul>
                <li><span class="log"><i class="fa fa-user fa-fw"></i></span><input name="quick_username" id="quick_login_username" type="text" value="" placeholder="{$lang->xstyled_username}" class="textlog" size="25" /></li>
                <li><span class="log"><i class="fa fa-lock fa-fw"></i></span><input name="quick_password" id="quick_login_password" type="password" value="" placeholder="{$lang->xstyled_password}" class="textlog" size="25" /></li>
            </ul>
              <br style="clear: both;"/>
              <input name="quick_remember" id="quick_login_remember" type="checkbox" value="yes" class="checkbox" checked="checked" />
            <label for="quick_login_remember" style="color: #969696; font-family: 'PT Sans', sans-serif; font-size: 13px; vertical-align: text-bottom;">{$lang->remember_me}</label><br />
              <a href="{$mybb->settings['bburl']}/member.php?action=lostpw" class="lost_password">{$lang->lost_password}</a>
            <br style="clear: both;"/><br />
              <input name="submit" type="submit" value="{$lang->login}" style="cursor: pointer;" class="loginbutton" />
            <span class="registerbutton"><a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a></span>
          </div>
    </form>
</div>

<script type="text/javascript">
    $("#quick_login input[name='url']").val($(location).attr('href'));
</script>

header_welcomeback_member:
<div class="userpanel">
    {$admincplink}
      {$modcplink}
      <span class="sep"><a href="{$mybb->settings['bburl']}/usercp.php" title="Ustawienia"{$lang->xstyled_usercp}"><i class="fa fa-cog fa-2x"></i></a></span>
      <span class="sep"><a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', null, true); return false;" title="{$lang->xstyled_friendlist}"><i class="fa fa-users fa-2x"></i></a></span>
      <span class="sep"><a href="{$mybb->settings['bburl']}/private.php" title="Wiadomości"{$lang->xstyled_pms}"><i class="fa fa-envelope fa-2x"></i> <span class="pms">{$mybb->user['pms_unread']} </span></a></span>
</div>

<div class="useroptions">
    <a href="{$mybb->settings['bburl']}/usercp.php?action=avatar"><img class="panelavatar" src="{$mybb->user['avatar']}" style="vertical-align: top; margin-top: 5px;" src="" height="40" width="40"></a>
    {$lang->xstyled_welcome} <span class="userunique"><a href="{$mybb->settings['bburl']}/member.php?action=profile">{$mybb->user['username']}</a></span>
  
      <div id="dd" class="wrapper-dropdown-5" tabindex="1">
        <i style="font-size: 13px;" class="fa fa-chevron-down fa-fw"></i>
        <ul class="dropdown">
            <table>
                <tr>
                    <td class="tduser" style="width: 200px; text-align: left;">
                          <li><a href="{$mybb->settings['bburl']}/usercp.php?action=profile"><i class="fa fa-user fa-fw"></i> {$lang->xstyled_editprofile}</a></li>
                        <li><a href="{$mybb->settings['bburl']}/usercp.php?action=options"><i class="fa fa-cog fa-fw"></i> {$lang->xstyled_editoptions}</a></li>
                        <li><a href="{$mybb->settings['bburl']}/usercp.php?action=avatar"><i class="fa fa-camera fa-fw"></i> {$lang->xstyled_changeavatar}</a></li>
                        <li><a href="{$mybb->settings['bburl']}/usercp.php?action=editsig"><i class="fa fa-picture-o fa-fw"></i> {$lang->xstyled_changesignature}</a></li>
                        <li><a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}"><i class="fa fa-power-off fa-fw"></i> {$lang->xstyled_logout}</a></li>
                    </td>
                </tr>
            </table>
        </ul>
    </div>
</div>
header_welcomeback_guest :

<div class="welcomeguest">
<strong><font color="black">Witaj!</font></strong>
</div>

<div class="guestlogin">
    <span class="loginbutton"><a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="$('#quick_login').modal({ fadeDuration: 250, keepelement: true }); return false;">{$lang->welcome_login}</a></span>&nbsp;
    <span class="registerbutton"><a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a></span>
</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" />
          <div class="welcometitle">
              <h1>{$lang->xstyled_loginat} {$mybb->settings['homename']}</h1>
          </div>
        <div class="welcomebox">
              {$lang->xstyled_loginfirstphrase}<br /><br />
              {$lang->xstyled_loginsecondphrase}<br /><br />
              {$lang->xstyled_loginthirdphrase}
          </div>
          <div class="welcomelogin">
              <ul>
                <li><span class="log"><i class="fa fa-user fa-fw"></i></span><input name="quick_username" id="quick_login_username" type="text" value="" placeholder="{$lang->xstyled_username}" class="textlog" size="25" /></li>
                <li><span class="log"><i class="fa fa-lock fa-fw"></i></span><input name="quick_password" id="quick_login_password" type="password" value="" placeholder="{$lang->xstyled_password}" class="textlog" size="25" /></li>
            </ul>
              <br style="clear: both;"/>
              <input name="quick_remember" id="quick_login_remember" type="checkbox" value="yes" class="checkbox" checked="checked" />
            <label for="quick_login_remember" style="color: #969696; font-family: 'PT Sans', sans-serif; font-size: 13px; vertical-align: text-bottom;">{$lang->remember_me}</label><br />
              <a href="{$mybb->settings['bburl']}/member.php?action=lostpw" class="lost_password">{$lang->lost_password}</a>
            <br style="clear: both;"/><br />
              <input name="submit" type="submit" value="{$lang->login}" style="cursor: pointer;" class="loginbutton" />
            <span class="registerbutton"><a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a></span>
          </div>
    </form>
</div>

<script type="text/javascript">
    $("#quick_login input[name='url']").val($(location).attr('href'));
</script>
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna.



Użytkownicy przeglądający ten wątek:

1 gości