Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 14, 20159 yr How do I keep the logo at the same size I upload it at? It seems to stretch larger, I don't like it.Any help would be appreciated, thank you.
May 14, 20159 yr How do I keep the logo at the same size I upload it at? It seems to stretch larger, I don't like it.Any help would be appreciated, thank you..You can modify it within your custom.css .. under your themes > Edit HTML & CSS ..the ID to adjust your logo is #elLogo .. .
May 14, 20159 yr How do I keep the logo at the same size I upload it at? It seems to stretch larger, I don't like it. Any help would be appreciated, thank you. Hollar if you can't figure it out, provide link to your site tho.
May 14, 20159 yr is it better to adjust the logo via the css or in the "logo" template? I added a height attribute? - {{if \IPS\Theme::i()->logo['front']['url'] !== null }} {{$logo = \IPS\Theme::i()->logo['front']['url'];}} <a href='{setting="base_url"}' id='elLogo' accesskey='1'><img src="{$logo}" alt='' height='80'></a> {{else}} <a href='{setting="base_url"}' id='elSiteTitle' accesskey='1'>{setting="board_name"}</a> {{endif}}
May 14, 20159 yr is it better to adjust the logo via the css or in the "logo" template? I added a height attribute? - {{if \IPS\Theme::i()->logo['front']['url'] !== null }} {{$logo = \IPS\Theme::i()->logo['front']['url'];}} <a href='{setting="base_url"}' id='elLogo' accesskey='1'><img src="{$logo}" alt='' height='80'></a> {{else}} <a href='{setting="base_url"}' id='elSiteTitle' accesskey='1'>{setting="board_name"}</a> {{endif}} .Both will be fine ..Although CSS will have a simpler approach to get the job done .. .
May 14, 20159 yr Author Hello. I found the code:#elLogo img { max-width: 100%; Would I make it like this:#elLogo img { height: 50px; width: 750px;Thank you
Archived
This topic is now archived and is closed to further replies.