| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Menu background images other than the titles ? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hello,
I have images behind my menu titles but I was wondering if you can also add a background image to the menu body so to speak. I was able to achieve this in the dialogue area thanks to a funkydunk post but I'm damned if I can repeat it for the menu without upsetting the menu title pix. Does anybody have any ideas ? ![]() I'm using the #3.4.4. |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() It might be because I think you can set a background image for a table, but the menu set is composed of 1 table with two or more cells.
Try splitting the menu header and menu body into separate tables. Then the background behaviour for the menu body cell/table should work. I'm not expert at this so backup before you do anything. ![]() |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() just set the background property for the table cell not the whole table
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() Yeah, or that might work.
![]() ![]() |
|||||||||
#5
|
|||||||
|
|||||||
![]() Define a new style in the skin1.css
.FancyMenuBackground { background-image: url(images/extra/bg_star.gif); background-repeat: no-repeat; } Then in menu.tpl change to: Code:
That should do it ![]()
__________________
ex x-cart guru ![]() |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Thanks Guys
![]() ![]() |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() okydoky,
having a few minor problems. ![]() here are some before and after shots of my menu.tpl . The CSS stuff was easy so I assume there are no probs there, the syntax seems ok. B4 Code:
and after Code:
What do you think ? Is there something obvious I am missing or am I just too moded out on this template? ![]() cheers supanewb |
|||||||||
#8
|
|||||||
|
|||||||
![]() something obvious - you have left the class=VertMenuBox in aswell so that table cell has two classes assigned to it. The latter being the one that it applies.
Take that out and all will work fine
__________________
ex x-cart guru ![]() |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|