Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • rhys_daniels Friend
    #147231

    Hi Guys

    I want to customise part of the menu system. I have a menu item called “Home” but i want to remove the text and display a house image.

    Please outline the source and any html code relevant to the solution. I have attached a image for better understanding.

    If you know the fix it would be a great help.


    1. menu
    Saguaros Moderator
    #328053

    Hello guy!

    The template does not work with a icon displaying beside a menu item. but i give the solution to resolve your idea 🙂

    1) Please open the file: templatesja_sanidineja_vars_1.5.php and find code at line 50:
    [PHP]$japarams->set(‘menu_title’, 0);[/PHP]
    Replace:
    [PHP]$japarams->set(‘menu_title’, 0);
    $japarams->set(‘menu_images’, 1);[/PHP]
    2) You put a image (as you expected) into the /images/stories/ folder. And access the setting of the Home menu, you choose the image for the “Menu Image” paramter inside the “Parameters (System)” group.

    3) please add those codes inside the template.css file:

    #menu1 img{
    float:left
    padding:4px 3px
    }
    #menu1 span.menu-title{
    text-indent:-999px
    }

    That’s all, good luck!

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 14 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum