-
AuthorPosts
-
dieudonne Friend
dieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
April 20, 2011 at 11:12 am #163004Hello,
the bullets in jateline IV does not place properly.
See the screenshot.I think there was already a post about this problem but could not find it.
Does anyone know the solution?
Thank you in advance.
himangi Friendhimangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
April 20, 2011 at 12:10 pm #387265Open templates/ja_teline_iv/css/template.css and find <blockquote>#ja-sitemap ul li {
background: url(“../images/arrow-l.png”) no-repeat scroll 2px 5px transparent;
}</blockquote>Change above code to <blockquote>#ja-sitemap ul li {
background: url(“../images/arrow-l.png”) no-repeat scroll 2px 5px transparent;
padding-left:10px;
}</blockquote>It will fix the bullet alignment in sitemap.
To align bullets in articles, modules etc, in the same template.css find
<blockquote>.ja-moduletable ul li, .ja-module ul li, .ja-content-main ul li {
background: url(“../images/bullet.gif”) no-repeat scroll 20px 6px transparent;
line-height: 1.4;
}</blockquote>change it to
<blockquote>.ja-moduletable ul li, .ja-module ul li, .ja-content-main ul li {
background: url(“../images/bullet.gif”) no-repeat scroll 20px 6px transparent;
line-height: 1.4;
padding-left: 30px;
}</blockquote>dieudonne Frienddieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
April 20, 2011 at 12:48 pm #387272Ok, thanks you very much.:)
This tips is working fine.Just a little difference from my template.css (‘scroll’ and ‘transparent’ is missing, but appears in firebug …why ?)
Ligne 1008 :
before :#ja-sitemap ul li { background: url(../images/arrow-l.png) no-repeat 2px 5px; }
after :#ja-sitemap ul li { background: url(../images/arrow-l.png) no-repeat 2px 5px; padding-left:10px ;}
ligne 88 – 93 :
before :.ja-content-main ul li {
background: url(../images/bullet.gif) no-repeat 20px 6px;
line-height: 1.4;
}
after :.ja-content-main ul li {
background: url(../images/bullet.gif) no-repeat 20px 6px;
line-height: 1.4; padding-left: 30px;
}Thanks you very much for your help.
Sincerelly yours.himangi Friendhimangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
April 20, 2011 at 1:16 pm #387279Hi,
Glad to know that the code worked for you. 🙂
When we define background for something, all the following background properties are applied to that particular object.
# background-color
# background-image
# background-attachment
# background-repeat
# background-positionWhen we dont define background-color, it is by default considered as transparent and the background-attachment is by default considered as scroll,i f it’s not defined. that’s why you can see them in browser..
1 user says Thank You to himangi for this useful post
dieudonne Frienddieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
April 20, 2011 at 1:20 pm #387281Excellent.:)
Thanks for this explanation.dieudonne Frienddieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
May 16, 2011 at 10:58 am #391432Ok, now I have a problem with the numbered list.
Each time, numbered lists are positioned too much on the left (see screenshot)
for unordered list, it is ok.
Any idea of this problem ?
Thank in advance.
himangi Friendhimangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
May 16, 2011 at 11:13 am #391434Hi,
As you know, we give styling to ul and li when we use unordered list. When you use numbered / ordered list the styling needs to be specified for ol & li.
So to have same space to ordered list as the unordered list, open template.css and find styling given to .ja-content-main ol, .ja-content-main ol li etc. If there is no styling for ol, then add .ja-content-main ol {margin-left:10px;} you can change 10px value as you want. this should solve your problem..
1 user says Thank You to himangi for this useful post
dieudonne Frienddieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
May 16, 2011 at 2:00 pm #391469ok, thank you very much.
I change this in template.css ligne 102 :
.ja-content-main ol li { line-height: 1.4; }
to
.ja-content-main ol li { line-height: 1.4; margin-left:30px;}
dieudonne Frienddieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
May 16, 2011 at 2:15 pm #391476And where can I put the color code to colorize just the number of the list ?
I made some tests but I didn’t find this.Thanks in advance.
himangi Friendhimangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
May 17, 2011 at 11:55 am #391622Hi,
I dont think for normal ordered list you can give separate color to the numbers and different color for corresponding text. You will need to search on the internet if that can be done by modifying the ordered list code..
dieudonne Frienddieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
May 18, 2011 at 8:57 am #391785ok, thank you for your reply.
& here are some interesting links :
http://www.sohtanaka.com/web-design/css-ordered-list-enhancement-tutorial/http://codeasily.com/css/style-ordered-list
http://www.webinventif.fr/creer-de-belles-listes-ordonnees-en-html-et-css/ (in french)
AuthorPostsViewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 2 voices, and was last updated by dieudonne 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum