-
AuthorPosts
-
rhys_daniels Friend
rhys_daniels
- Join date:
- November 2008
- Posts:
- 218
- Downloads:
- 0
- Uploads:
- 60
- Thanks:
- 32
- Thanked:
- 6 times in 1 posts
January 1, 2010 at 11:54 pm #147231Hi 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.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 4, 2010 at 2:56 am #328053Hello 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!
1 user says Thank You to Saguaros for this useful post
AuthorPostsViewing 2 posts - 1 through 2 (of 2 total)This topic contains 2 replies, has 2 voices, and was last updated by Saguaros 14 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Menu Item
Viewing 2 posts - 1 through 2 (of 2 total)