XenForo Page hero

wikislo

Registered
how to add an image to the homepage

Code:
Go to Appearance > Styles > Your Theme > Templates > PAGE_CONTAINER
Add this after <div class="offCanvasMenu offCanvasMenu--nav js-headerOffCanvasMenu"...> Block

Code:
Save.

Go to extra.less and add the following

CSS:

.page_hero {
    background: url( url your images );
    background-size: cover;
    background-position: center;
    height: 200px;
}


Code:
.p-body-inner {
    padding-top: 25px;
    padding-bottom: 60px;
}
 
Back
Top Bottom