-
☆ A M B ☆
- 24,524 Posts
You'll need an outerTpl like this
And a rowTpl like this
<a [[+wf.classes]] href="[[~[[+id]]]]">[[+wf.linktext]]</a>
Since it's only the one level, I don't think you need the [[+wf.wrapper]] in the rowTpl.
Use the CSS to put a border-left on the links, except for the a.last link.
that looks good except for the pipe menu dividers... can you explain the .css part?
also, if anybody has an idea why the youtube linked video in <aside> (right side) has that weird top half shading I would be obliged. I changed the photos and they all have the same shading...something in the .css I cannot identify...
footer[role=contentinfo] {
background: url(../images/leather-pattern.png);
border-top: 4px dotted #444;
-moz-box-shadow: inset rgba(0, 0, 0, 0.1) 0 10px 10px, rgba(255, 255, 255, 0.7) 0 10px 10px;
-webkit-box-shadow: inset rgba(0, 0, 0, 0.1) 0 10px 10px, rgba(255, 255, 255, 0.7) 0 10px 10px;
box-shadow: inset rgba(0, 0, 0, 0.1) 0 10px 10px, rgba(255, 255, 255, 0.7) 0 10px 10px;
color: #dfe9f2;
padding: 10px 0;
}
footer[role=contentinfo] p {
margin: 0 auto;
width: 960px;
font: 11px/16px Helvetica, Arial, Tahoma;
text-align: right;
overflow: hidden;
}
footer[role=contentinfo] p .left {
text-align: left;
}
/*
-
☆ A M B ☆
- 24,524 Posts
.footer a{border-right: 1px solid #000;}
.footer a.last{border-right: none;}
Actually, I would just use the default Wayfinder unordered list and style that, using display:inline for the li elements. It's a lot easier.
Either that, since this is in the footer and I really don't intend to change the appearance of the links when active, I'd just leave it hard-coded. It's not like those are going to change, after all. Usually it is a site utilities type menu, with various legal pages (terms of use, privacy policy, site map, contact, etc) and what-have-you anyway, it doesn't need to be dynamic.
[ed. note: sottwell last edited this post 13 years, 6 months ago.]
-
☆ A M B ☆
- 24,524 Posts
Line 236 of main.css
section[role=banner] article[role=main] aside:after {
background: -moz-linear-gradient(center top , rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%) repeat scroll 0 0 transparent;
border-radius: 5px 5px 5px 5px;
box-shadow: 0 0 1px rgba(0, 0, 0, 0.8) inset, 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 -6px 0 rgba(0, 0, 0, 0.3) inset, 0 -7px 0 rgba(255, 255, 255, 0.2) inset;
content: "";
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}