Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Проблема с навигацией. Съезжают иконки.

Featured Replies

Posted

Код:

<div id="second_nav_texts">
     <ul class="second_nav_inline">
          <if test="memberbox:|:$this->memberData['member_id']">
               <if test="showInboxNotify:|:! ( ! $this->memberData['member_id'] && $this->settings['force_login'] ) && !($this->settings['board_offline'] && !$this->memberData['g_access_offline'])">
                    <if test="messengerlink:|:$this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0">
                         <li class="clear"><a data-clicklaunch="getInboxList" id='inbox_link' href='{parse url="app=members&amp;module=messaging" base="public"}' title='{$this->lang->words['your_messenger']}'><if test="notifications:|:$this->memberData['msg_count_new']"><span class='ipsHasNotifications'>{$this->memberData['msg_count_new']}</span></if>&nbsp;</a></li>
                    </if>
                    <li class="clear"><a data-clicklaunch="getNotificationsList" id='notify_link' href="{parse url="app=core&amp;module=usercp&amp;area=notificationlog" base="public"}" title="{$this->lang->words['notifications_at_the_top']}"><if test="notifications:|:$this->memberData['notification_cnt']"><span class='ipsHasNotifications'>{$this->memberData['notification_cnt']}</span></if>&nbsp;</a></li>
               </if>
               <li class="clear"><a id='user_link' href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'>{$this->memberData['members_display_name']} &nbsp;<span id='user_link_dd'></span></a></li>
          </if>
     </ul>
</div>
CSS:

#second_nav_texts {
	text-align: left;
        margin-left: 10px;
}

#second_nav_texts ul {
	text-align: left;
}

.second_nav_inline > li {
	display: inline-block;
        margin-left: 10px;
}
.clear { clear: both; }
Должно быть:

post-10851-0-43265600-1387910105_thumb.p

Добавив код:

<li class="clear"><a id='user_link' href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}"  title='{$this->lang->words['your_profile']}'>{$this->memberData['members_display_name']} &nbsp;<span id='user_link_dd'></span></a></li>
Съезжают иконки:

post-10851-0-68923700-1387910104_thumb.p

В чем проблема, как исправить?

  • Author

johurt, убери

#user_link {
     height: 36px;
     line-height: 36px;
}
Но там ещё нужно будет дорабатывать

Убрал. Текст вроде бы по центру но рамка сжалась. Как сделать чтобы она была как у других 2-х иконок?

Edited by johurt

это на дефолтном стиле?


данные от админки в л.с  попробую вам помочь

  • Author

это на дефолтном стиле?

данные от админки в л.с  попробую вам помочь

Да, стандартный. Спасибо. Сам разобрался.
Guest
This topic is now closed to further replies.

Последние посетители 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.