Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
tekguru Posted August 1, 2015 Posted August 1, 2015 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?
tekguru Posted August 1, 2015 Author Posted August 1, 2015 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?
tekguru Posted August 1, 2015 Author Posted August 1, 2015 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}}
Recommended Posts
Archived
This topic is now archived and is closed to further replies.