Jump to content

Logo Issue


Recommended Posts

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.

​.

You can modify it within your custom.css .. under your themes > Edit HTML & CSS ..

the ID to adjust your logo is  #elLogo ..

 

.

Posted

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

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

 

.

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...