Code to add buttons to a text link navbar
-
Hello world,
I’m using the Stunning Silence template and want to replace the text links in my navbar with buttons so I can add some whitespace and use some custom font. My thoughts were to create an image for the button in Photoshop, then add the button and link it to the accompanying page.
If there is an easier way I’m open to suggestions.Here is the code from my header:
———————————————————————
<body>
<div id=”nav”>
<div class=”container”>
<?php
if(!(get_option(‘stsi_navtext’) == “none”)) {
if(!(get_option(‘stsi_navtext’) == “”)) {
echo get_option(‘stsi_navtext’);
}
else {
echo ‘Navigation:’;
}} ?>
- <?php wp_list_pages(‘sort_column=menu_order&include=9,2,11,12&title_li=’); ?>
</div>
</div>
———————————————————————thanks for your help!
- The topic ‘Code to add buttons to a text link navbar’ is closed to new replies.