I use Header Banner 3.2.4-RC1.
By defaut the "site logo" is the phpBB one displayed on wide screens on the left of the banner; it can be replaced by another image like the tiny house here.
On my board I do not need it but I use the "site_logo" to display an animated gif on the right on the banner.
For that purpose in my personnal style css I've written
Code: Select all
.site_logo {
background-image: url("./images/site_logo.gif");
background-repeat: no-repeat;
display: inline-block;
width: 150px;
height: 50px;
position: relative;
top: 0px; left: 980px;
}
see https://www.leforumrecifal.com/ '4ème année" scrolling on the right (on large screen).
It appears that the site_logo is also displayed on smaller screens like iPad with a smaller banner :
as the position is fixed
top: 0px; left: 980px;
it is outside the banner !I have tried
top: 0px; right: 20px;
expecting it would be 20 px from the right but it is now 20 px to the left of the left side of the banner !How can I change my css so that it is always aligned right with the banner ?
Thanks