adding module makes template scroll

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Mar 25, 2014 4:01 am
Reply with quote
Report this post
hi guys
i have added my "topbanner" module to the template in the spot where the cart usually goes... all good - but now it makes the whole template horizontally move....

www.australiansenior.com

can you see if there is an easy fix for it?

many thanks!
User avatar
Platinum Boarder

GK User
Wed Mar 26, 2014 11:31 am
Reply with quote
Report this post
Hello,

The easy fix for this problem is adding the following code at the end of any css file:

Code: Select all
/* Advertisement fix */
.table_remote_ads img {
  height: auto;
  max-width:100%;
}


Your problem was caused by fact that the banner code is not responsive, but the above fix should solve your problem :)
User avatar
Administrator

GK User
Wed Mar 26, 2014 1:11 pm
Reply with quote
Report this post
dziudek wrote:Hello,

The easy fix for this problem is adding the following code at the end of any css file:

Code: Select all
/* Advertisement fix */
.table_remote_ads img {
  height: auto;
  max-width:100%;
}


Your problem was caused by fact that the banner code is not responsive, but the above fix should solve your problem :)


thanks - unfortunately it does not work for me - i dont use joomla's banner system - my banners are through ijoomla's adagency OR a custom html module containing a script to pull in the banner.

do you have any ideas based on that module type?

thanks!
User avatar
Platinum Boarder

GK User
Wed Mar 26, 2014 3:58 pm
Reply with quote
Report this post
For me the banner is responsive now - did you refreshed your browser cache?
User avatar
Administrator

GK User
Wed Mar 26, 2014 4:54 pm
Reply with quote
Report this post
i found the issue - the module had a table inside it that was set to 100% - whereas i needed to put in a pixel value to constrain it to the template width...
all fixed now - thanks so much for the help - really appreciate it!
User avatar
Platinum Boarder


cron