Recently, we had help filling the navigation row with an image:
which is working great when on full screen mode (Brave browser), with 100% zoom setting.
However, when we switch to half-screen mode, the following happens:
The header and navigation images are no longer aligned.
I'll use a PDF document as an example, but this may also apply for other file types.
Opening attached PDFs in a new Window instead of forcing a download is such a trivial feature that I cannot believe it is not a natively supported feature.
It is almost 2020 and virtually no website forced you...
A light-weight shim around Mobile_detect for XenForo 2
Usage (in templates)
The add-on injects the global variable $xf.mobileDetect, check that the variable is set before calling any methods to prevent errors during upgrades or if the add-on is disabled.
<xf:if is="$xf.mobileDetect &&...
Tested with XF 2.1.5.
Not tested yet with XF 2.0, but i think it should work.
Check FAQ section above.
With this addon you can use template syntax in any template like this :
You are using mobile
You are not using mobile