CSS Cache??
Seems like my CSS is cached and I don't know how to stop it. I am trying to integrate a design and all the CSS is being rendered from this file.
http://championlighting.com/xc5dev/var/resources/default/http/screen/1f049767ecfff7145ff1826aaa533b09.css?1426971236 I want theme.css in my custom skin to control layout. Any help? |
Re: CSS Cache??
|
Re: CSS Cache??
Am I doing something wrong?
|
Re: CSS Cache??
Doesn't look like it. Is your CSS file being loaded? How are you loading it?
I assume you have cleared the aggregation cache. Can you give some more examples as to what you are trying to do, and what exactly is not working? |
Re: CSS Cache??
I have created a custom skin. I have placed a folder called css in the ChampionSkin/customer/en
Style Sheet is loaded skins/ChampionSkin/customer/en/css/theme.css?1426974767 but only some of my code is being executed. this is being styled from skins/ChampionSkin/customer/en/css/theme.css?1426974767 ------------------------------------ #page-wrapper { margin-right: auto; margin-left: auto; padding-left: 0px; padding-right: 0px; } ------------------------------------ I also have this is theme.css, but it is not recognized. /* 1200 media queries ----------------------------------------*/ @media (min-width: 1200px) #page-wrapper { width: 100%; } ----------------------------------------------- This is styled by xc5dev/var/resources/default/http/screen/efb867827a471ec395c7f7e0bf034d4d.css?1426974767 @media (min-width: 1200px) #page-wrapper { width: 1180px; } I have cleared bot aggregate cache and widget cache. I have create a few skins and never had this issue. |
Re: CSS Cache??
is this the a link to the cache file?
http://www.championlighting.com/xc5dev/var/resources/default/http/screen/1f049767ecfff7145ff1826aaa533b09.css?1427061410 |
Re: CSS Cache??
HA! Well I feel like a complete ding dong. I forgot the {} on my media queries.
Ugh @media (min-width: 1200px) #page-wrapper { width: 100%; } should be @media (min-width: 1200px){ #page-wrapper { width: 100%; } } sheesh total n00b mistake there :/ |
Re: CSS Cache??
An easy mistake to make! Glad you figured it out.
|
Re: CSS Cache??
I would use something like this as template
Code:
/* iPad mini (portrait and landscape) ----------- */ Then you can go from there and this will assure the start for media queries is set right. This is a good one for emails - https://github.com/seanpowell/Email-Boilerplate |
Re: CSS Cache??
I have prototypes built for xcart 4 and wordpress, but just haven't doe it yet for xcart 5. :/
|
All times are GMT -8. The time now is 01:28 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.