mattlambeau
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How do I remove banner space from the top of the page?this is in the topAd.php file. this might be it:
<div class=”im-topAds”>
<div class=”top728″ onmouseover=”mouseOver3()” onmouseout=”mouseOut3()”><?php
$topAd = get_option(“socratesOptions”);
if (!is_array( $topAd )){
$topAd[‘ads’] = ‘sample ads go here’;
}$adcounter = 0;
if ($topAd[‘ads’] != ”){
echo ‘<div id=”adNew1″ style=”height:90px;”>’.stripslashes($topAd[‘ads’]).'</div>’;
$adcounter++;
}if ($topAd[‘ads2’] != ”){
echo ‘<div id=”adNew2″ style=”height:90px;”>’.stripslashes($topAd[‘ads2′]).'</div>’;
$adcounter++;
}if ($topAd[‘ads3’] != ”){
echo ‘<div id=”adNew3″ style=”height:90px;”>’.stripslashes($topAd[‘ads3′]).'</div>’;
$adcounter++;
}?>
</div>
<div class=”side190″ onmouseover=”mouseOver()” onmouseout=”mouseOut()”><?php //loop through the small ads and create a sliding dive for each one.
$smallAds = get_option(“smallAdOptions”);
$count = 1;Forum: Fixing WordPress
In reply to: How do I remove banner space from the top of the page?maybe this is it?
<body <?php body_class(); ?>>
<div class=”im-wrapper” align=”center”>
<div class=”topBar”></div>
<div class=”im-frame”><!– Upper Navigation –>
<?php if (!$topNav[‘display’] || $topNav[‘display’] == ‘none’ ){ ?>
<div class=”im-topNav” style=”background:none”></div>
<?php } else {
$custom_fields = get_post_custom($post->ID);Forum: Fixing WordPress
In reply to: How do I remove banner space from the top of the page?I did a search on the header.php file for “TopAd” and “TEMPLATEPATH” and both are not present. should I cut and paste the whole header.php file so you can see it?
thanks a billion for the help
Forum: Fixing WordPress
In reply to: How do I remove banner space from the top of the page?I don’t see that code in the header.php file. However, I do see somthing similar in the TopAd.php file. here is what I see:
<div class=”im-topAds”>
<div class=”top728″ onmouseover=”mouseOver3()” onmouseout=”mouseOut3()”><?php
$topAd = get_option(“socratesOptions”);
if (!is_array( $topAd )){
$topAd[‘ads’] = ‘sample ads go here’;
}$adcounter = 0;
if ($topAd[‘ads’] != ”){
echo ‘<div id=”adNew1″ style=”height:90px;”>’.stripslashes($topAd[‘ads’]).'</div>’;
$adcounter++;
}if ($topAd[‘ads2’] != ”){
echo ‘<div id=”adNew2″ style=”height:90px;”>’.stripslashes($topAd[‘ads2′]).'</div>’;
$adcounter++;
}if ($topAd[‘ads3’] != ”){
echo ‘<div id=”adNew3″ style=”height:90px;”>’.stripslashes($topAd[‘ads3′]).'</div>’;
$adcounter++;
}?>
Should I remove that?
Forum: Fixing WordPress
In reply to: How do I remove banner space from the top of the page?sorry about that. here is a link to a page with the banner ad space on top. https://theffacts.com/category/irrefutable-ffacts/
Peter thanks for your help. I am using Socrates theme. I would prefer to just remove the buttons and the option to follow all together just to get rid of the problem.
please check out https://theffacts.com/category/irrefutable-ffacts/ to see the probem I refer too.
any adivse is greatly appreciated.
I am using Socrates theme. I had a consultant bild the site so I am not sure about the plugins that have been installed.