I am having an issue with We-universal after updating from phpBB 3.1.6 to 3.2.1. I have put off the upgrade for some time as I have quite a few moderations to the style on my board, and I am not too much of a wiz at code.
My problem now is, that I have been using Random Headers and have removed the site name and description from the headers and replaced them with a logo incorperated in the images. It works reasonably well in 3.1.6, but in 3.2.1 it only works on large screens (PC) and not on mobile screens. The image is "crunched" making a round logo rather odd.
What I would like to do, is replace the SITENAME with our logo which is 95x111 px. I thought that I could do this by replacing the variable SITENAME with SITE_LOGO, but this does not work.
The code for the header without the Sitename displayed looks like this in 3.1.6 in styles/we_universal/template/overall_header.html
Code: Select all
<header class="inventea-header">
<div class="inventea-dashboard" style="background-image: url({INVENTIA_RANDOM_IMAGE});">
<!-- EVENT overall_header_navbar_before -->
<!-- INCLUDE navbar_header.html -->
<div class="inventea-sitename">
<h1><a href="<!-- IF U_SITE_HOME -->{U_SITE_HOME}<!-- ELSE -->{U_INDEX}<!-- ENDIF -->" title="<!-- IF U_SITE_HOME -->{L_SITE_HOME}<!-- ELSE -->{L_INDEX}<!-- ENDIF -->"></a></h1>
<!-- <span>{SITE_DESCRIPTION}</span> -->
</div>
</div>
</header>
Code: Select all
<header class="inventea-header">
<!-- EVENT overall_header_headerbar_before -->
<div class="inventea-dashboard" role="banner">
<!-- EVENT overall_header_navbar_before -->
<!-- INCLUDE navbar_header.html -->
<div class="inventea-sitename">
<h1><a href="<!-- IF U_SITE_HOME -->{U_SITE_HOME}<!-- ELSE -->{U_INDEX}<!-- ENDIF -->" title="<!-- IF U_SITE_HOME -->{L_SITE_HOME}<!-- ELSE -->{L_INDEX}<!-- ENDIF -->">{SITENAME}</a></h1>
<span>{SITE_DESCRIPTION}</span>
</div>
</div>
</header>
BTW. The file with the logo image is uploaded to styles/we_universal/theme/images/site_logo.png
The original site is www.fritforum.dfac.dk and is 3.1.6. The site I am working on as testsite is www.pelp.dk/fritforum and is updated to 3.2.1. I am far from finished with moderations, as can be seen, but I would like to get this fixed first.