XF 2.2 put a background image on the header

viglesias

Member
Hi,

It's possible put a image background in header ? I Try only in mode "logo" and change restrictions on pixels, but I can't find the option to put the image for the whole header and have it expand.

27-03-2021 8-49-01.jpg
 
but does anyone know how to centre it so that it fits in dimensions centred at like 1350x350 pixels?
In the css/less field

Code:
background-repeat:no-repeat;
background-position: center top;

For sizing other than the actual dimesions of the image see:

 
For height of the header container, in header/logo row:

Code:
height:350px;

But if you have a logo you can also expand the header vertical size of the logo and its padding.
 
@Mr Lucky I used your Css codes but I need to align the background in the header and in the navigation. Alternatively, is it possible to set one image so that it is immediately in the header, navigation and sticky when browsing?
 
Back
Top Bottom