XF 1.3 How to make a fix background with gradient on the header

Jericho M

Active member
Hello there!

Need your help on how to make a fix background with gradient on the header like http://www.cnyrunning.com/

I really want to implement this on my forum but don't know where to edit the settings.

Hoping for your help and Thank you so much in advance..

Jericho M
 
How do I adjust the standard Xenforo header gradient to match that of the footer?

The footer gradient looks quite nice and would be nice to have on the header as well.
 
@MapleOne I will try something like that, assuming you are running XF 2...
Less:
.p-header {
    background: linear-gradient(180deg, xf-intensify(@xf-chromeBg, 12%), @xf-chromeBg);
}
 
62.png



On mobile I use column #1 as a text box

Column #2, #3 & #4 they are pretty spaced out.

Is there ant way to add column #4 into the same line as column #2 & #3?

It seems a waste to me to have the entire column #4 take up a new line with a big space beside it when there is so much free space beside column #2 & #3.
 
On which device the footer is displayed like that ?
On a iPhone 12 Pro it seems to be well displayed for example, In this case 3 columns on the same line would be a bit narrow, right?

Capture web_12-12-2022_194931_dn.ca.jpeg
 
may some css could fix it?
In footer-pro.less template,
FIND
Less:
.fp-blockColumn {
    width: 50%;
    min-width: 50%;
    margin-left: 0;
    &.asText {
        min-width: 100%;
    }
}
REPLACE BY
Less:
.fp-blockColumn {
    width: 33%;
    min-width: 33%;
    margin-left: 0;
    &.asText {
        min-width: 100%;
    }
}
 
Back
Top Bottom