View Full Version : header banner deactivating on general_wide

Sripai Schraepler
January 4, 2016, 08:06 AM

after much back and forth I have found a way around the header banner to the general wide template to deactivieren!

Here would like for those who do not show the banner the small guide:

go to: templates>general_wide>tpl> open content.tpl
go to code begin on line 174 :

{if $pageInfo.Key != 'search_on_map' && $config.header_banner_space}
<div class="header-banner-cont">
<div class="point1">
<div id="header-banner">
{include file='blocks'|cat:$smarty.const.RL_DS|cat:'header_ banner.tpl'}

and delete it.

Now you must open templates>general_wide>css> open style.css

Step 1: line 902 and deactivate it

body.header-banner > div.main-wrapper {
padding-top: 108px;

Step 2: line 7064 and deactivate it

body.header-banner > div.main-wrapper {
padding-top: 79px;

div#header-banner {
width: 100%;
height: 59px;
div.header-banner-cont {
height: 79px;
div#header-banner > div.no-banner {
line-height: 59px;
#header-banner div.banner table {
height: 58px;

Now you can check it :-)

Good luck !

Wei Hong
January 4, 2016, 04:55 PM
actually, if you are using general wide template, there is an option to deactivate the top header banner space in admincp > general tab.