Jump to content

Как заменить шапку?! При замене новая накалывается на старую


 Share

Recommended Posts

Вот код, как сделать чтобы вставить свою шапку, и она растягивалась как старая по размеру?

 

{{if \IPS\Theme::i()->logo['front']['url'] !== null }}
{{$logo = \IPS\File::get( 'core_Theme', \IPS\Theme::i()->logo['front']['url'] )->url;}}
<a href='{setting="base_url"}' class='logo' accesskey='1'><img src="{$logo}" alt='{setting="board_name" escape="true"}'></a>

{{else}}
<a href='{setting="base_url"}' class='logo' accesskey='1'>
	<span>
		<span class='logo-name'>{{if theme.focus_logo}}{theme="focus_logo"}{{else}}{setting="board_name"}{{endif}}</span>
		{{if theme.focus_slogan}}<span class='logo-slogan'>{theme="focus_slogan"}</span>{{endif}}
	</span>
</a>
{{endif}}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Ваша ссылка была автоматически строена.   Отображать как обычную ссылку

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

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