Zachary Johanson Posted May 14, 2015 Share 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. Link to comment Share on other sites More sharing options...
不中用 Posted May 14, 2015 Share 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 .. . Link to comment Share on other sites More sharing options...
Christopher Bergsten Posted May 14, 2015 Share 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. Link to comment Share on other sites More sharing options...
Ocean West Posted May 14, 2015 Share 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}} Link to comment Share on other sites More sharing options...
不中用 Posted May 14, 2015 Share 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 .. . Link to comment Share on other sites More sharing options...
Zachary Johanson Posted May 14, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
Zachary Johanson Posted May 14, 2015 Author Share Posted May 14, 2015 I did both and they all seem to not work. Link to comment Share on other sites More sharing options...
Zachary Johanson Posted May 14, 2015 Author Share Posted May 14, 2015 I thnik i got it Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.