MediaWiki:Common.js: Difference between revisions
Blanked the page Tag: Blanking |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
$(function () { | |||
// Replace the header logo with a custom HTML block | |||
$('.vector-header-logo').html(` | |||
<a href="/wiki/Main_Page" style="display:block;"> | |||
<img src="https://telematics.transight.com/images/logo.png" style="max-height:60px;"> | |||
</a> | |||
`); | |||
// Optional: hide site name | |||
$('.vector-header-title').hide(); | |||
}); | |||
Revision as of 09:56, 18 June 2025
$(function () {
// Replace the header logo with a custom HTML block
$('.vector-header-logo').html(`
<a href="/wiki/Main_Page" style="display:block;">
<img src="https://telematics.transight.com/images/logo.png" style="max-height:60px;">
</a>
`);
// Optional: hide site name
$('.vector-header-title').hide();
});