-
AuthorPosts
-
ghjulianu Friend
ghjulianu
- Join date:
- February 2012
- Posts:
- 58
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
March 19, 2012 at 6:17 am #175158Hi,
How to add an icon next to the title of a module (RSS icon for example)? In the backend it’s only possible to put text in the title field. Thanks.
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
March 19, 2012 at 7:59 am #444473Hi ghjuianu,
I think you can only add an icon via css, via the module class suffix you can achieve this, go to the module back-end you enter a suffix name onto the field of Module Class Suffix, example you have entered _test to that field, you then open the template css file templates/ja_teline_iv/css/template.css you add the defined css to add an icon there
div.moduletable_test h3{
background-image:your_location_to_icon
}this’s just an example and I hope you got the ideal !
ghjulianu Friendghjulianu
- Join date:
- February 2012
- Posts:
- 58
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
March 20, 2012 at 5:20 am #444667Hi,
I did what you said but it doesn’t work, the icon doesn’t appear :/
That’s the code I put :
div.moduletable_test h3{
background-image: url(../images/stories/logos/rss.png);
}ghjulianu Friendghjulianu
- Join date:
- February 2012
- Posts:
- 58
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
March 22, 2012 at 8:39 pm #445182Up, nobody knows?
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
March 25, 2012 at 3:22 am #445505Hi,
Can you post here your url where I can see the module ? need to take a look at it to see if something go wrong
ghjulianu Friendghjulianu
- Join date:
- February 2012
- Posts:
- 58
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
May 7, 2012 at 3:22 am #451753<em>@Sherlock Holmes 309902 wrote:</em><blockquote>Hi,
Can you post here your url where I can see the module ? need to take a look at it to see if something go wrong</blockquote>
Hi, here’s the url where you can see the module : http://bit.ly/ytlxhi
It’s the module “Citations”, the icon don’t appears (I only success to display colors in the title bar). Thank you.
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
May 7, 2012 at 10:27 am #451833hi ghjulianu,
I see you added css defined for background like this
background: url(“/templates/ja_teline_iv/images/stories/logos/rss.png”) repeat scroll 0 0 transparent;
But the file /templates/ja_teline_iv/images/stories/logos/rss.png does not exist, I think it should be /images/stories/logos/rss.png onlyTry it again mate 🙂
1 user says Thank You to Sherlock for this useful post
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by ghjulianu 12 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum