Jump to content

Дефолтный стиль изменить меню над лого IPB 3.4.6


Myabk
 Share

Recommended Posts

Открыть globalTemplate, найти и удалить:

 

					<if test="accessreports:|:$this->memberData['is_mod'] OR !empty($this->memberData['access_report_center']) || ($this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link'])">
					<ul id='admin_bar' class='ipsList_inline left'>
						<if test="showacplink:|:$this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link']">
							<li>
								<a href="{$this->settings['_admin_link']}" title='{$this->lang->words['admin_cp']}' target="_blank">{$this->lang->words['login_to_acp']}</a>
							</li>
						</if>
						<li><a href="{parse url="app=core&module=modcp" base="public"}" title='{$this->lang->words['gbl_modcp_link_title']}'>{$this->lang->words['gbl_modcp_link']}</a></li>
						<if test="rclink:|:$this->memberData['access_report_center'] && $this->memberData['_cache']['report_num'] > 0">
							<li class='active'>
								<a href="{parse url="app=core&module=reports&do=index" base="public"}" title='{$this->lang->words['view_reports']}'>{$this->memberData['_cache']['report_num']} {$this->lang->words['report_member_bar']}</a>
							</li>
						</if>
					</ul>
				</if>

 

Найти:

 

					<ul class='ipsList_inline' id='community_app_menu'>

 

Вставить ниже:

 

					<if test="accessreports:|:$this->memberData['is_mod'] OR !empty($this->memberData['access_report_center']) || ($this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link'])">
						<if test="showacplink:|:$this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link']">
							<li>
								<a href="{$this->settings['_admin_link']}" title='{$this->lang->words['admin_cp']}' target="_blank">{$this->lang->words['login_to_acp']}</a>
							</li>
						</if>
						<li><a href="{parse url="app=core&module=modcp" base="public"}" title='{$this->lang->words['gbl_modcp_link_title']}'>{$this->lang->words['gbl_modcp_link']}</a></li>
						<if test="rclink:|:$this->memberData['access_report_center'] && $this->memberData['_cache']['report_num'] > 0">
							<li class='active'>
								<a href="{parse url="app=core&module=reports&do=index" base="public"}" title='{$this->lang->words['view_reports']}'>{$this->memberData['_cache']['report_num']} {$this->lang->words['report_member_bar']}</a>
							</li>
						</if>
				</if>

Link to comment
Share on other sites

спасибо! подскажи еще как сделать чтобы на всех устройствах шаблон показывался одинаково.а то на разных по разному.то меню разъезжается, то поиск съезжает в низ!

Link to comment
Share on other sites

Для выражения благодарностей, не обязательно писать посты с содержанием "Спасибо", используйте репутацию.

 

У вас дизайн резиновый, чтобы сделать фиксированным, достаточно указать фиксированное значение width в px для класса .main_width

 

Сейчас у вас значение:

 

#content, .main_width {
   margin: 0px auto;
   width: 94% !important;
   min-width: 94%;
}

 

Не понятно почему стоит у min-width такое же значение, как и у width, можете попробовать к примеру поменять на 1000px.

 

Почитайте про свойства max-width, min-width, а так же про адаптивность - http://habrahabr.ru/company/UXDepot/blog/225365/

  • Upvote 1
Link to comment
Share on other sites

а снизу отступ появился, что может быть?

Контента мало на странице. Нижняя часть -
html, body {
background-color: #d8dde8;
color: #5a5a5a;
}

Link to comment
Share on other sites

Подскажите как изменить названия "Вход в админцентр форума", "Панель модератора" например на ACP и MCP?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...