MyBB Community Forums

Full Version: Placing something (image) before Header
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all!

I want to place some code (For the 'My Advertisements' plug in) above the Header.

I shown where in the attached image (shown in pink).

I've tried moving the code into different parts of the Header and into 'Header Include' but to no luck.

Where do I put it, to move it to where the pink arrows / line shows?

Thanks all.

[attachment=31136]
you can add required code in the header template, just after code <a name="top" id="top"></a>
Didn't work!

That placed it above the logo but WITHIN the white body.

I need it above and out of the white area (into the grey area.)

Phil


(2014-03-03, 10:07 AM).m. Wrote: [ -> ]you can add required code in the header template, just after code <a name="top" id="top"></a>

OK, added it before 'container' and it' worked. Thanks .M.
Which file is the "header template"?

Ok, I think I found it, in mybb_theme.xml, is that correct?
(2014-03-07, 09:32 PM)Dan_Westlake Wrote: [ -> ]Which file is the "header template"?

Ok, I think I found it, in mybb_theme.xml, is that correct?

You've to look for it in your Admin CP, under Templates & Style-> Templates -> Your theme-> Header templates