Jump to content

Name of site next to the logo?


tekguru

Recommended Posts

Okay I can get this with modifying the logo template as:

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

But I can't work out which class to use to get text the same size as that used for the 'New Content' title. Anyone any ideas?

Link to comment
Share on other sites

Maybe not elegant but it works:

{{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"}' id='elLogo' accesskey='1'><img src="{$logo}" alt=''><font size="5">{setting="board_name"}</font></a>
{{else}}
<a href='{setting="base_url"}' id='elSiteTitle' accesskey='1'>{setting="board_name"}</a>
{{endif}}

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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