I know Pre-Sales is not the correct Forum section for this question, but I can’t seem to post within any other sections, I apologize….
What I’m attempting to do is use two fields, which are Asset (image) fieldtypes, to swap images on hover via CSS. I initially tried this while storing my stylesheet outside of the template level but after researching discovered two other options. I’ve tried simply adding the CSS into my header snippet, which did not work and have most recently tried creating the stylesheet as a template as described in this article: http://ellislab.com/expressionengine/user-guide/templates/globals/stylesheet.html
Neither options are working thus far for me. This seems straightforward so it’s obviously something simple that I’m doing wrong. I’ve linked to the stylesheet correctly, as the styles are affecting the markup:
<link rel="stylesheet" href="{path='styles/style'}">I have the following CSS in my stylesheet, this is what is not functioning. The fields were created to be used within the Ecommerce addon BrilliantRetail, hence the “br:” prepending the fieldname. I’ve also tried this without the “br:”.
#container #todays-shirt {
background: url({br:cf_homepage_design}) no-repeat;
height: 385px;
}
#container #todays-shirt:hover {
background: url({br:cf_homepage_product}) no-repeat;
}Thanks in advance for any assistance!