Zachary Johanson Posted May 14, 2015 Posted May 14, 2015 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.
不中用 Posted May 14, 2015 Posted May 14, 2015 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 .. .
Christopher Bergsten Posted May 14, 2015 Posted May 14, 2015 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.
Ocean West Posted May 14, 2015 Posted May 14, 2015 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}}
不中用 Posted May 14, 2015 Posted May 14, 2015 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 .. .
Zachary Johanson Posted May 14, 2015 Author Posted May 14, 2015 Hello. I found the code:#elLogo img { max-width: 100%; Would I make it like this:#elLogo img { height: 50px; width: 750px;Thank you
Zachary Johanson Posted May 14, 2015 Author Posted May 14, 2015 I did both and they all seem to not work.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.