How to increase the logo size in banner

Developer3
Tera Expert

I uploaded a company logo in servicenow instance (System Properties -> Basic Configuration UI16) but the logo size is too small. How to increase the size? I am in London version

8 REPLIES 8

Soumita3
Tera Expert

Hi,

 

The following link can guide you to some extent: https://community.servicenow.com/community?id=community_question&sys_id=74311fe9dbdcdbc01dcaf3231f961963

 

But there is a drawback, i.e. now the global UI Scripts related to DOM manipulation are not allowed from Servicenow.

 

Please mark the answer as Correct if it suffice your requirement.

 

Thanks.

Disha10
Tera Expert

In the Header widget
Give your own style:

<a class="navbar-brand navbar-brand-log" ng-if="::portal.logo" href="?id={{::portal.homepage_dv}}" aria-label="${Go to homepage}">
<img ng-src="{{::portal.logo}}" style="max-width: 300px;" title="ServiceNow" role="presentation" alt="${Portal Logo}" />
</a>

Kristian Matsuo
Tera Contributor

I just ran into the same issue in our DEV environment. I cant promise this will work for you but this is how I was able to resolve my issue:

1. Navigate to System Properties > Basic Configuration UI16

2. Upload your banner image

3. Save changes and refresh page

*This is where I noticed the size of my banner image being way to small*

4. Navigate back to System Properties > Basic Configuration UI16

5. Remove (copy) the text from "Page header caption"

6. Save Changes and refresh page

7. Verify logo resized to normal size

8. Navigate back to System Properties > Basic Configuration UI16

9. Reinsert your text for the "Page header caption"

10. Save and refresh one last time.

 

Let me know if this works for anyone (Probably just a one off but I wanted to share if it ends up being useful for anyone else out there) 

Hey @Kristian Matsuo, the removal of the page header caption surprisingly worked for me. I would not have thought of doing that. Thanks for sharing.