Re: HTML widgets in sidebars?
Posted by
Pedro on
Jul 31, 2012; 7:42pm
URL: https://support.nabble.com/HTML-widgets-in-sidebars-tp7580917p7580951.html
Harvey, there is a better way to edit that macro. You can use the <n.overridden/> tag, so it will be like this:
<override_macro name="sidebar_widget" requires="node_page,servlet">
<n.overridden />
<div style="text-align: center;">
<a href="http://www.nelsap.org/book.html" rel="nofollow" target="_blank"><img src="http://nyskiblog.com/wp-content/uploads/2012/07/Lost-Ski-Areas-Southern-Adirondacks.jpg" style="border: solid #000000; border-width: 1px" alt="Lost Ski Areas of S Adk" width="180"/></a></div>
<div style="color: #ffffff; text-align: center;"> <span style="font-size: normal;">Order Your Copy Today!</span></div>
</override_macro>