I have created a set of buttons in css for downloading files from the store.
Although I have defined a class for the button (download_button), this seems to be overridden by a style statement (automatically inserted for the variable from the variable formatting) in the generated code:
Source Code
<div class="download_button"><a href="<actinic:variable formatting="font(Color|ffffff)" name="BrochureFilename" />">Brochure</a></div>
Generated Code
<div class="download_button"><a href="<span style='color: #ffffff;'>Brochure-TAG-Connect-TC2030.pdf</span>">Brochure</a></div>
How can I stop the generation of the variable formatting?
I am a css novice and may well have missed something.
John
Although I have defined a class for the button (download_button), this seems to be overridden by a style statement (automatically inserted for the variable from the variable formatting) in the generated code:
Source Code
<div class="download_button"><a href="<actinic:variable formatting="font(Color|ffffff)" name="BrochureFilename" />">Brochure</a></div>
Generated Code
<div class="download_button"><a href="<span style='color: #ffffff;'>Brochure-TAG-Connect-TC2030.pdf</span>">Brochure</a></div>
How can I stop the generation of the variable formatting?
I am a css novice and may well have missed something.
John
Comment