Styling elements within filtered search results
In tabular search result layout the expression for product name is this:
I really want to style the product name using this css:
I have tried wrapping in a div and using the appearance style box of the variable to no avail.
I can get the styles to appear in Firebug and in the right place but they have 'no entry' signs by them and are ignored. !Important does not help. The entire layout is wrapped in a styled div with position relative and this applies correctly.
I would be very grateful for any guidance on this.
Thank you
In tabular search result layout the expression for product name is this:
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsName%22%20%2f%3e"> <Actinic:Variable Name="SearchResultLink"/><actinic:variable formatting="h3" name="SearchResultProductName" /><script type="text/template"></a></script> </actinic:block>
Code:
.styling { display:block; color: #fff; width:50%; position: absolute; top: 70%; left: 0; background: url('trans-black-50.png'); text-align:center; z-index:100; margin: 5px 10px; }
I can get the styles to appear in Firebug and in the right place but they have 'no entry' signs by them and are ignored. !Important does not help. The entire layout is wrapped in a styled div with position relative and this applies correctly.
I would be very grateful for any guidance on this.
Thank you
Comment