-
AuthorPosts
-
August 22, 2010 at 7:42 pm #153722
Hi,
I Use the Ja Anion Template for a RTL language.
If I use images for the submenus, the text appear on the image.
How can I change the padding-right or margin-right of the submenu text, so they don’t appear on the image but appear beside theme in the left hand side of the images??Thanks
geof Friendgeof
- Join date:
- January 2006
- Posts:
- 20
- Downloads:
- 102
- Uploads:
- 0
- Thanks:
- 5
- Thanked:
- 12 times in 9 posts
August 22, 2010 at 7:55 pm #353393your link ?
August 23, 2010 at 12:17 am #353401As you can see the text of submenu overlaps with the image.
geof Friendgeof
- Join date:
- January 2006
- Posts:
- 20
- Downloads:
- 102
- Uploads:
- 0
- Thanks:
- 5
- Thanked:
- 12 times in 9 posts
August 23, 2010 at 7:28 am #353426Go to
templatesja_anioncsstemplate-rtl.css
line 352.ja-megamenu ul.level0 li.mega ul li.mega a {
background-position: 98% 13px !important;
padding-left: 0;
padding-right: 15px; <---- give the corresponding valueYour screenshot does not help me to find the exact value of px
1 user says Thank You to geof for this useful post
August 23, 2010 at 8:36 am #353433Thank you very much for your answer.
But unfortunatly changing of the value of padding-right on line 355 moves both text and images together.
I want to move only the text and not the image, so that thte text doesn’t overlap the image.
I want that the text appear on the left hand side of the image.Probably I have to use a css class for the image and another css class for the text. But HOW??
I am not bad in Coding. So if you help me, I will manage it.
Thanks a lot
geof Friendgeof
- Join date:
- January 2006
- Posts:
- 20
- Downloads:
- 102
- Uploads:
- 0
- Thanks:
- 5
- Thanked:
- 12 times in 9 posts
August 23, 2010 at 9:32 pm #353484The link to the problem would help me more than the demo
August 24, 2010 at 11:15 am #353534I sent you the live url.
Thanks
August 24, 2010 at 12:09 pm #353537This is realy urgent !
cssyeah Moderatorcssyeah
- Join date:
- June 2006
- Posts:
- 653
- Downloads:
- 73
- Uploads:
- 15
- Thanked:
- 121 times in 81 posts
August 25, 2010 at 2:59 am #353585Hi tomyhomy,
Sorry, i don’t see your live site. 🙁
August 25, 2010 at 8:23 am #353631Hello @Trungch,
I sent you a private message with the URL.
I hope you can help me.
This is realy urgent.Thanks
cssyeah Moderatorcssyeah
- Join date:
- June 2006
- Posts:
- 653
- Downloads:
- 73
- Uploads:
- 15
- Thanked:
- 121 times in 81 posts
August 25, 2010 at 9:52 am #353645Hi tomyhomy,
Open the template-rtl.css in the templatesja_anioncss folder and paste the following code section to it ( about line 351 ).
.ja-megamenu ul.level0 li.mega .has-image {
background-position:right center !important;
padding: 10px 45px 5px 0 !important;
}
Tell me, if don’t work 🙂
August 25, 2010 at 10:53 am #353653Dear @trungch,
I love you !! 🙂
It has solved the problem.I have changed the values a little bit as follow:
<blockquote>
.ja-megamenu ul.level0 li.mega .has-image {
background-position:right center !important;
padding: 5px 45px 1px 0 !important;
}
</blockquote>I think this code should be added in to the next update of the Ja Anion template.
Thanks again and have a nice day
-
AuthorPosts
This topic contains 12 replies, has 3 voices, and was last updated by tomyhomy 14 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum