-
AuthorPosts
-
arjenzuidgeest Friend
arjenzuidgeest
- Join date:
- December 2012
- Posts:
- 42
- Downloads:
- 156
- Uploads:
- 4
- Thanks:
- 4
April 7, 2013 at 8:27 am #186532Hello, I’m using T3 v1.0.3, onePage v1.0.1 and joomla! 3.0.2 Stable [ Ember ].
In my custom.css I’ve defined some media queries
On the site the custom.css lists displays the rules without the media queries
#pakketten .introducing p.first {
font-size: 2em;
}
#pakketten .introducing h3 {
font-size: 1em;
}
#pakketten .introducing p.first {
font-size: 1.8em;
}
#pakketten .introducing h3 {
font-size: 0.9em;
}
#pakketten .introducing ul li {
font-size: 0.9em;
}
#pakketten .pakket-left, #pakketten .pakket-right {
width: 2.5%;
}
.pakket_first {
width: 30%;
}
#pakketten .introducing p.first {
font-size: 1.5em;
}
#pakketten .introducing h3 {
font-size: 0.8em;
}
#pakketten .introducing ul li {
font-size: 0.7em;
}
#pakketten .pakket-left, #pakketten .pakket-right {
width: 2.5%;
}
.pakket {
width: 23.33%;
}
#pakketten .introducing p.first {
font-size: 1em;
}
#pakketten .introducing h3 {
font-size: 0.6em;
}
#pakketten .introducing ul li {
font-size: 0.5em;
padding: 4px 0;
}
#pakketten .pakket-left, #pakketten .pakket-right {
width: 0.5%;
}
.pakket {
width: 22%;
}
.pakket_first {
width: 30%;
}
#pakketten .top p {
margin: 0;
}
This happens in the template’s debug mode as well. Where can I change this behavior?
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
April 8, 2013 at 2:39 am #489094Hi Arjenzuidgeest,
Please clear all cache. I checked this customization on our demo site and it was working well. Please check again.
Regards
arjenzuidgeest Friendarjenzuidgeest
- Join date:
- December 2012
- Posts:
- 42
- Downloads:
- 156
- Uploads:
- 4
- Thanks:
- 4
April 8, 2013 at 5:07 pm #489230I’ve cleaned the browser cache, the site’s cache, expired items but it doesn’t make a difference. I already disabled all js/css optimizer plugins. What else could I check?
arjenzuidgeest Friendarjenzuidgeest
- Join date:
- December 2012
- Posts:
- 42
- Downloads:
- 156
- Uploads:
- 4
- Thanks:
- 4
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
April 10, 2013 at 2:31 am #489378Hi,
Could you provide your website url and pm me admin account, ftp info for further checks. The issue you mention seems strange.
Regards
arjenzuidgeest Friendarjenzuidgeest
- Join date:
- December 2012
- Posts:
- 42
- Downloads:
- 156
- Uploads:
- 4
- Thanks:
- 4
April 10, 2013 at 11:51 pm #489470Thanks for looking into this. I’ve send you a pm with the information.
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
arjenzuidgeest Friendarjenzuidgeest
- Join date:
- December 2012
- Posts:
- 42
- Downloads:
- 156
- Uploads:
- 4
- Thanks:
- 4
April 11, 2013 at 12:47 pm #489543No it doesn’t work as expected, I’ll try to explain it more carefully. If I look at the html the @media lines are indeed still in the css. The queries are defined for screen sizes < 979 px. But all rules defined in custom.css for screen sizes < 979 are still being loaded on larger screens.
This screenshot is with the media query lines commented out
http://www.noname.surfschoolitacarezinho.com/images/shot/disabled.png
http://www.noname.surfschoolitacarezinho.com/images/shot/enabled.png
This screenshot is with the media query lines enabled, but they should not be loaded since the screen is > 979.HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
April 12, 2013 at 7:50 am #489644Dear,
Please check file custom.css again, it has wrong format
@media only screen and (min-width: 320px) {
.custom.packages .introducing p.first {font-size:1.0em;}
.custom.packages .introducing h3 {font-size:0.6em;}.custom.packages .introducing ul li {font-size:0.5em;padding:4px 0;}
.custom.packages .pakket-left,.custom.packages .pakket-right {width:0.5%;}
.pakket {width:22.00%;}
.pakket_first {width:30%;}
.custom.packages .top p {margin:0;}
}
You should change min-width to max-widthHope this helps.
Regards
1 user says Thank You to HeR0 for this useful post
arjenzuidgeest Friendarjenzuidgeest
- Join date:
- December 2012
- Posts:
- 42
- Downloads:
- 156
- Uploads:
- 4
- Thanks:
- 4
April 14, 2013 at 8:40 pm #489835Thanks a lot, I almost can’t believe I overlooked that all this time.
-
AuthorPosts
This topic contains 10 replies, has 2 voices, and was last updated by arjenzuidgeest 11 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum