Layout (theme) problem
knorde
Joined: 2010-02-02
Posts: 64 |
Posted: Mon, 2012-05-21 17:51 | |||
I have a very strange problem. On this moment i working on the browny wind theme. But now the problem: It is only when i hit Ctrl - F5. The problem is in FF and Safari. The site is: http://mydigitalworld.nl I hope anyone knows what the problem is Greets Kees.
|
||||
Posts: 27300
I don't see the issue in FF but in Chrome I do.
FF says "function checkRes does not always return a value"
So I guess you need to have some default value?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 64
checkRes detects the user resolution.
After that the right .css will load.
But now i have coded it so that always the same .css load.
But i have the same problem.
checkRes is not the problem in that case i think :P
Posts: 27300
Don't know then.
Does it work without your customization?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 64
I have found the problem:
.g-thumbnail {
margin-top: 3px;
margin-bottom: 3px;
width: auto;
height: auto;
max-height: 110px;
}
When i delete the width: auto; and height: auto; the problem is fixed.
But in that case the scale is not correctly (see attachment).
Any ideas?
Posts: 64
I have the problem solved in a different way.
It's a bit hard to explain because I have multiple adjustments to do in different files but it works.
Thanks as well for your help!