Posted September 14, 20186 yr How do you place a banner script/app in the forum header? I use the cloud hosting theme. I am new to this and not smart at all. Thanks. Edited September 14, 20186 yr by Fairview Talk update
September 14, 20186 yr If you mean an image in header, add the below code to your theme's custom.css ACP > Customization > Themes > Default theme or other theme > Edit HTML and CSS > CSS Tab > core > front > custom > custom.css #ipsLayout_header header { background: url(image_link) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
September 14, 20186 yr Author What I am trying to accomplish is placing a Banner javascript in the header for advertisement purposes. I have no clue on how to do this. I was hoping there was another way besides editing the .css. Is there a plugin or something easier. Plus I am on the Cloud hosting plan.
September 15, 20186 yr And then add the advertisement tag in globalTemplate <header> <div class='ipsLayout_container'> {template="logo" app="core" group="global" params=""} {{if !in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}}{template="userBar" app="core" group="global" params=""}{{endif}} {advertisement="KEY"} </div> </header>
Archived
This topic is now archived and is closed to further replies.