Page 1 of 1
Image in main menu button
Posted: 28 Nov 2008, 09:32
by jc70
Hi!
Is possible to insert an image instead of the text in .mainmenu_menubutton?
Thanks in advance!!
Posted: 30 Nov 2008, 23:49
by mjau-mjau
I'm afraid that's not possible. CSS stylesheets for Flash have limited control of text formatting only. You can not use it to insert images in any way.
Perhaps you can explain exactly what you want to do, and I could see if it might be something we can improve in a future release.
Posted: 08 Jan 2009, 14:51
by sanatist
I wish I could replace the text with my logo.. that would be great.
Posted: 11 Jan 2009, 01:32
by mjau-mjau
Just found a workaround solution to this - Go to admin -> config -> edit your language. Find the "mainmenu" item, and add some HTML to insert an image:
<img src='path/yourlogo.jpg' width='50' height='20' />
I am not quite sure the mainmenu gallery flip adapts to fit your image, but you can try it out ...
Posted: 11 Jan 2009, 12:48
by sanatist
No, it isn't working. The image is not showing, I also tried absolute path.
But that's ok.. thanks for your help.
Posted: 12 Jan 2009, 02:20
by mjau-mjau
works here ...
Posted: 24 Jan 2009, 04:51
by 13thwitness
i've tried the same and didn't work for me either.
this is the code i entered ---> <img src='
http://www.13thwitness.com/small_13.jpg' width='28' height='20' />

Posted: 24 Jan 2009, 17:21
by Nick
This must be bit buggy, works only when you enter text along with the image, and text must be in front.
I entered: 13thwitness<img src='
http://www.13thwitness.com/small_13.jpg' width='28' height='20' />
And this is what i got:

Posted: 24 Jan 2009, 17:28
by 13thwitness
whats the max dimensions i can use?
Posted: 24 Jan 2009, 17:57
by 13thwitness
i've tried many sizes, all of them come out buggy like you said.
only problem is 28x20 isnt much to work with for logo space...
Posted: 26 Jan 2009, 06:12
by arrawnt
just noticed that you are using single commas instead of normal commas in your code...
'' instead of ""
Posted: 29 Jan 2009, 08:44
by mjau-mjau
For those of you considering this approach, I would a similar method instead. Please check out pain's tutorial here:
viewtopic.php?t=4555