Make the node links prominent or change appearance

Node links are the links that usually appear on footer of each node, namely – “Read More”, “Add Comment” etc.

It is usually a good practice to make it prominent to improve the look of the website.

You will have to modify the

1. Style sheet
2. node.tpl.php.

To make the node links appear like on

.links2 {
border-bottom: 1px solid #bbb;
padding-bottom: 0.75em;
margin-bottom: 1.5em;
background-color: #E9FFCA;
color: #235F6B;
border-top: 1px solid #bbb;
padding-top: 0.5em;
font-style: italic;
font-variant: small-caps;
}

In your theme’s node.tpl.php, search for


<?php if ($links) { ?>ยป <?php print $links?><?php }; ?>

change the class=”links” to class=”links2″

You can customize the
Color
Font, Font-size, font family,
borders etc…
Just by modify the css block mentioned above.

Leave a Reply

Your email address will not be published. Required fields are marked *