hi, i have installed this mod successfully on my Silent wave theme. here's my url www.mydoggy.net
i can't center the ad below the main menu (when using firefox).
i tried this <div align="center">google code</div>
also this <center>google code</center>
and even in my index.template.php, i did this
//Below the menu ads
if (function_exists("show_indexAds") && function_exists("show_towerleftAds") && function_exists("show_towerrightAds"))
{
echo '<div align="center">';
$ads = show_indexAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
echo '</div>';
i did this edit one by one, it centered the ad when im using IE, but still aligned to the left when i use Firefox.
any idea how i can fix this browser issue?
EDIT: Sometimes i see its centered. sometimes its not..
Quotetry this for centering:
Code:
<div align=center>ad code</div>[
Hi Cru,
I have the same problem on the Bleen theme. I did a search and noticed someone else had this prob and Bigguy advised the above. I notice it is the same as what you wrote but minus the speech marks. I dont know if that makes any diff as I am a complete newbie.
What is the name of the file that I should be editing to put the line <div align=center>ad code</div>[[/
into?? And whereabouts should it go??
you don't have to edit any file, just go to admin>ad management> add ads
then paste
<div align="center">your google code here</div>
on the space marked as "content"