Menu: add images to the left and right

More
10 years 10 months ago - 10 years 10 months ago #32046 by Bee
Hi.

I am wondering how I can get two images positioned at the far left and right of my menu (screenshot included).
Already have the proper CSS id's prepared, only thing is I don't know what php-files to edit:

#menuleftpic {
background: url("/images/backgrounds/Menu-left-pic.png") 0 0 no-repeat;
}

#menurightpic {
background: url("/images/backgrounds/Menu-right-pic.png") 0 0 no-repeat;
}


Using Maximenu CK - Default layout and Default theme.

Thanks.

Tom
Last edit: 10 years 10 months ago by Bee. Reason: added css info

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #32049 by ced1870
Hi
you have 2 pieces of code in maximenu that can be used for this :
.maxiroundedleft
and
.maxiroundedright

using Firebug you will see them, you can then use it to do what you want.
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago - 10 years 10 months ago #32051 by Bee
Thanks very much for the quick reply!

So, I added the following to my custom css:

/* Maximenu CK */
.maxiroundedleft {
background: url("http://192.168.0.9/burgundy/images/backgrounds/Menu-left-pic.png") 0 0 no-repeat;
}

.maxiroundedright {
background: url("http://192.168.0.9/burgundy/images/backgrounds/Menu-right-pic.png") 0 0 no-repeat;
}

... but no image appears... (screenshot attached).

Played around with the css statement and with Firebug I do see that the image is found, but nothing is displayed. Am I missing something else here?

Tom
Last edit: 10 years 10 months ago by Bee. Reason: added screenshot

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #32052 by Bee
Sorry for some reason the screenshot didn't came along...

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #32057 by ced1870
of course, you need to give it the necessary dimensions, at least the width and height properties :)
this is just some css

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.208 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1154 guests and one member online