There’s a few different ways to add this sort of code to your page. You could use the Styles palette to create this style, putting the entire selector .link a
in the Tag field and putting the body of the style in the Extended sub-dialog. (You put everything to the left of the colon in the Name field and everything to the right in the Value field. You skip the curly-braces entirely when you do this, letting Freeway assemble the resulting style rule.)
As long as you clear the value from the Name field and tab out of it before you save the style, you will end up with what I refer to as a “Tag-only style”. Freeway publishes these to all pages (or the global stylesheet, if you’re using external stylesheets) without you ever needing to add it manually or assign it to any element. It exists, and applies itself through the power of CSS selectors.
Another, perhaps more direct way would be to add this rule to a block in the Before /head section of the Page / HTML Markup dialog. So that would look like this:
<style type="text/css">
.link a { border-bottom: 3px solid rgba(0,0,0,0.5); }
</style>
If you already have some other styles in that portion of that dialog, you don’t need to add another style tag, just insert the entire rule (the selector, the braces, and the content of the braces, which may span multiple lines if each line is properly terminated with a semicolon) inside the style block.
Finally, you may end up with so many overrides that it makes sense to use a dedicated CSS editing tool (or just a syntax-aware programmer’s editor) to author an external stylesheet outside of Freeway. Then you would want to use my External Stylesheets Action to apply that extra sheet to your page or pages. This will have the benefit of managing the file – uploading a new version whenever you make any changes in that external file – so you don’t need to fracture your workflow and introduce another dependency (tracking changes manually and uploading with an FTP application).
Walter
On May 16, 2013, at 2:16 AM, RavenManiac wrote:
Thanks for the advice Ernie. I hate to keep doing this to you, but I’m still fuzzy on how to add code for things like this in Freeway Pro.
offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options