Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: Images for horizontal nav

  1. #1
    sbeheshti is offline Junior Member
    Join Date
    Sep 2010
    Location
    Pennsylvania
    Posts
    9

    Default Images for horizontal nav

    How can I replace the horizontal nav text with images in V8?

    help!

    Thanks

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    I haven't actually tried this, but I believe this will work. In v8, the top menu is controlled/displayed using menudata.xml file, it is located in {root}/skins/skin_# folder. Every menu is populated using a parser token, (!menu.Categories!) for example. You can just set the string resource menu.categories to " " (no quotes...that is two spaces). There will be no text that displays and you'll be able to use your image with no overlapping text.

    Check out the .TopMenuItem class in style.css file also.

  3. #3
    gmaniac is offline Member
    Join Date
    Jul 2010
    Location
    Missouri
    Posts
    59

    Default Another option

    You could always have the text there and then make it transparent and use a background image, all can be done through your CSS file. This should work just fine for what you need.

  4. #4
    Ex-Jesse is offline Member
    Join Date
    Mar 2011
    Posts
    30

    Default

    It's actually easier than that. Those string resources parse html code. Instead of typing in "My Category" and leaving it at that, go ahead and spruce it up however you'd like:
    Code:
    <img src="/images/foo.jpg" alt="Funky Mouseover Text"/>My Category