Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 1, 20159 yr Is it easy to modify the theme to put the name of the site (using standard IPS4 font) next to the logo? Or is this available as standard and I've missed it?
August 1, 20159 yr Author 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?
August 1, 20159 yr Author 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}}
Archived
This topic is now archived and is closed to further replies.