| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#1
|
|||||||||
|
|||||||||
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?
__________________
xcart 5.1.2 |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: CSS Cache??
__________________
xcart 5.1.2 |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: CSS Cache??
Am I doing something wrong?
__________________
xcart 5.1.2 |
|||||||||
#4
|
|||||||||
|
|||||||||
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?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#5
|
|||||||||
|
|||||||||
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.
__________________
xcart 5.1.2 |
|||||||||
#6
|
|||||||||
|
|||||||||
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
__________________
xcart 5.1.2 |
|||||||||
#7
|
|||||||||
|
|||||||||
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 :/
__________________
xcart 5.1.2 |
|||||||||
|
#8
|
|||||||||
|
|||||||||
Re: CSS Cache??
An easy mistake to make! Glad you figured it out.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#9
|
|||||||||
|
|||||||||
Re: CSS Cache??
I would use something like this as template
Code:
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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#10
|
|||||||||
|
|||||||||
Re: CSS Cache??
I have prototypes built for xcart 4 and wordpress, but just haven't doe it yet for xcart 5. :/
__________________
xcart 5.1.2 |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|