-
AuthorPosts
-
sarsells Friend
sarsells
- Join date:
- August 2011
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 11
- Thanks:
- 13
- Thanked:
- 1 times in 1 posts
August 16, 2011 at 9:59 am #167469Hi
I am hoping that someone will kindly help me?I have am using mega menu as my main menu, and want to add images. I have added one to a menu item via Joomla>main menu>menu item. However it places the images to far to the right. I only want it to be a couple of px from the left. I have given the link name a value of padding-left 25px. This governs only the text and not the image.
The site is local so I can only post some screen shots. I have included the css governing the image and the link.I note at the top of ul.level0 li.mega a.mega {
I have a broken link to a background image. Is this where I should place my image? In which case, I am not sure what folder to put the image in? I do not know where this path refers to.If this is not the case, please can someone tell me how to style the menu image that has been added via Joomla>main menu>menu item
-
Trimud Friend
Trimud
- Join date:
- May 2006
- Posts:
- 245
- Downloads:
- 36
- Uploads:
- 11
- Thanks:
- 8
- Thanked:
- 55 times in 45 posts
August 16, 2011 at 1:20 pm #406535hello,
every menu item should have own unique id, so You can cascade by this id. I.e.:
ul.level0 li.mega a.mega#menu31 {}Hope I’m understanding the problem 🙂
Regards
sarsells Friendsarsells
- Join date:
- August 2011
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 11
- Thanks:
- 13
- Thanked:
- 1 times in 1 posts
August 17, 2011 at 12:19 pm #406686Hi thank you for the help.
Sorry, this is not the problem. I want to style all the menu items in this menu, so that there is an image and text. I want the image to sit 2px from the left border, but it is about 15px away from the border and I do not know how to resolve this?:-[khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 17, 2011 at 3:42 pm #406726Hi,
You add this code into /templates/ja_purity_ii/css/menu/mega.css
.ja-megamenu ul.level0 li.mega .has-image{
background-position-x:-10px;}
sarsells Friendsarsells
- Join date:
- August 2011
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 11
- Thanks:
- 13
- Thanked:
- 1 times in 1 posts
August 17, 2011 at 7:18 pm #406769Thank you. However this did not work. Perhaps I am meant to add the image as a background images, but I do not seem to be able to, as what ever path I put in, seems to be wrong. The images at the moment, where put in via the menu item . The contact tap has no image yet as it is a component menu item and did not allow me to put an image in.
The site is now live at a sub domain. http://new.allyoucanbear.com I would really appreciate any more help. 🙂
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
sarsells Friendsarsells
- Join date:
- August 2011
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 11
- Thanks:
- 13
- Thanked:
- 1 times in 1 posts
August 18, 2011 at 11:27 am #406859Thank you so much, that sorted it.
however, I still have the problem of the 1 menu item with no image. It is the contact page , it not an article page put a component page, and there is no option for a menu image.
If this cannot be solved, perhaps I should look into other options for my contact page?khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 18, 2011 at 2:46 pm #406883I don’t understand what you mean clearly. So could you give me a snapshot with your annotation?
sarsells Friendsarsells
- Join date:
- August 2011
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 11
- Thanks:
- 13
- Thanked:
- 1 times in 1 posts
August 18, 2011 at 3:29 pm #406894Hi
I am sorry to muddle you.I have now resolved the issue. I have found where I add the image.
Thanks again for your help.
-
AuthorPosts
Viewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 3 voices, and was last updated by sarsells 13 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum