Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Any quick way to change banner nav text to images?

edited January 2012 in Vanilla 2.0 - 2.8

I noticed in the code the elements that draw the navigation text is somewhere other than the themes. Where is it?

I want to change {inbox_link} to an image rather than text.

I am creating a custom theme for Vanilla.

Thanks

Tagged:

Answers

  • edited January 2012

    i did it like this:
    < a href="{link path="messages/inbox"}">Inbox
    {if $User.CountUnreadConversations} < span>({$User.CountUnreadConversations}) </ span>{/if}
    </ a>

    maybe that helps you

  • 422422 MVP
    edited January 2012

    Easy way is in default_master.php like so:

    < h1>< a class="Title" href="<?php echo Url('/'); ?>">< span>< img src="http://yourdomain.com/my-forum/themes/mytheme/design/images/mylogo.png">< /span>< /a>< /h1>
    

    Oops strike that, for some reason the rest of your post didnt load for me.

    There was an error rendering this rich post.

Sign In or Register to comment.