Jump to content

Logo Issue

Featured Replies

Posted

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.

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 ..

 

.

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. :) 

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}}

 

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 ..

 

.

  • 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

  • Author

I did both and they all seem to not work.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.