Width of the article layout does not scale

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Thu Nov 27, 2014 2:26 am
I have a good bunch of News Show modules on my pages, one of which is the top one with black background (Entretien avec Okamoto Yoko Shihan : Enseigner l'essence de l'Aïkido). On my local install, it used to display just fine
a.jpg

but on my live site, it no longer does, in spite of the settings being the same.
b.jpg

Could this be due to the cache or something else?
User avatar
Junior Boarder

GK User
Fri Nov 28, 2014 8:19 pm
Could you please post an url to your site?
User avatar
Moderator

GK User
Fri Nov 28, 2014 11:37 pm
User avatar
Junior Boarder

GK User
Sat Nov 29, 2014 4:09 pm
The problem is with this override declaration:
Code: Select all
.big {
width: 300px;
}

It limits the module size to 300px.
If it is required you might add another one:
Code: Select all
.nspMain.big {
    width: 100%;
}

to bring back 100% width to nap module.
User avatar
Moderator

GK User
Sat Nov 29, 2014 11:54 pm
Wow, then it is totally my fault, I should have chosen a different class name for that class than the very generic term "big". Thank you very much for spotting it!
User avatar
Junior Boarder

GK User
Mon Dec 01, 2014 10:13 am
No problem.
Actually we use "big" class for our modules to create larger headers (it doesn't work in every template and every module).
User avatar
Moderator


cron