1. ahuppert
  2. Commercial Templates
  3. Friday, 18 October 2013
  4.  Subscribe via email
I am using the AWAKE template and have added a bit of require code to the header of the site. It appears as if it works just fine in every browser EXCEPT Firefox. I'm not sure what to do to correct it. The script adds a authorized dealer logo to the top of the entire site (as required by the manufacturer):

<script src="//http://www.amsoil.com/services/webcontent.ashx?type=badge&;zo=#"></script>

In Firefox, it pushes the entire site off to the RIGHT. Any ideas as to what is causing this, or how to fix it?
Accepted Answer Pending Moderation
0
Votes
Undo
After digging through Firebug, I decided to go to the CSS to try and resolve this issue. It appeared to me that the #WRAPPER was moving over to the right at the will of the added <SCRIPT>.

I seem to have corrected the problem by changing:
#wrapper {width: 958px; height:auto; display:table; text-align:left; margin:0 auto; }
to:
#wrapper {width: 958px; height:auto; display:table; text-align:left; margin:0 auto; clear:both; }

I added "clear:both" to reset the float property. I'm not sure if this is the "correct" fix, but it looks like it is working. If anyone can confirm for me whether or not this is the correct solution, I would greatly appreciate it!
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you for the update.

Yes clearing the div would be a suitable solution as this simply clears any floating that may have been added by your plugin previous to the wrapper div.

CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok