-
AuthorPosts
-
omidkia Friend
omidkia
- Join date:
- September 2008
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
September 5, 2008 at 7:08 pm #133005How can we prevent the template from automatically enlarging the first letter of every article?
Regards,
OmidBalaji Ramanathan FriendBalaji Ramanathan
- Join date:
- September 2014
- Posts:
- 187
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 24
- Thanked:
- 2 times in 1 posts
September 5, 2008 at 8:23 pm #268980it uses div class= article-content for sure. I can’t seem to find that code in any of the .css files. I too wanted to change that. hope somebody helps out.
mj1256 Friendmj1256
- Join date:
- June 2007
- Posts:
- 1473
- Downloads:
- 10
- Uploads:
- 35
- Thanks:
- 84
- Thanked:
- 225 times in 118 posts
Balaji Ramanathan FriendBalaji Ramanathan
- Join date:
- September 2014
- Posts:
- 187
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 24
- Thanked:
- 2 times in 1 posts
September 6, 2008 at 12:11 am #269019Maybe I am crazy. Seriously, I could not find div.article-content in typo.css
Here is the complete code of typo.
/*------------------------------------------------------------------------
# JA Pyrite for Joomla 1.5 - Version 1.0 - Licence Owner JA59295
# ------------------------------------------------------------------------
# Copyright (C) 2004-2008 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
# @license - Copyrighted Commercial Software
# Author: J.O.O.M Solutions Co., Ltd
# Websites: http://www.joomlart.com - http://www.joomlancers.com
# This file may not be redistributed in whole or significant part.
-------------------------------------------------------------------------*//* BONUS TYPOGRAPHY STYLES
--------------------------------------------------------- */
pre, .code {
background: #FFFFCC;
border-left: 5px solid #333333;
font: 1em/1.5 "Courier News", monospace;
margin: 5px 0 15px;
padding: 10px 15px;
}blockquote {
padding: 1em 40px 1em 15px;
}blockquote span.open {
background: url(../images/so-q.gif) no-repeat left top;
padding: 2px 0 2px 25px;
}blockquote span.close {
background: url(../images/sc-q.gif) no-repeat bottom right;
padding: 2px 25px 2px 0;
}blockquote.testimonial {
padding: 0 0 15px;
border-bottom: 1px solid #E6E6E6;
}blockquote.testimonial span.author {
background: url(../images/icon-author.gif) no-repeat 5px center;
display: block;
font-weight: bold;
margin-top: 5px;
padding-left: 20px;
}/* Blockquote hilite */
div.quote-hilite {
background: #333333;
color: #FFFFFF;
}div.quote-hilite span.open {
background: url(../images/so-q-hilite.gif) no-repeat left top;
}div.quote-hilite span.close {
background: url(../images/sc-q-hilite.gif) no-repeat right top;
}/* Dropcap */
.dropcap {
display: block;
float: left;
font: 60px/58px Georgia, Times, serif;
padding: 0 10px 0 0;
}/* Tips, Error, Message, Hightlight*/
p.error {
background: url(../images/icon-error.gif) no-repeat 0px 4px;
color: #CC0000;
padding-left: 25px;
}p.message {
background: url(../images/icon-info.gif) no-repeat 0px 4px;
color: #0358A8;
padding-left: 25px;
}p.tips {
background: url(../images/icon-tips.gif) no-repeat 0px 4px;
color: #0358A8;
padding-left: 25px;
}p.feed {
background: url(../images/icon-rss.gif) no-repeat 0px 4px;
padding-left: 25px;
}.highlight {
color: #333333;
background: #FFFFCC;
font-weight: bold;
padding: 1px 5px;
}/* Note Style */
p.stickynote {
background: url(../images/sticky-bg.gif) no-repeat 5px center #FFFFFF;
border: 1px solid #E6E6E6;
padding: 15px 10px 15px 60px;
}p.download {
background: url(../images/icon-download.gif) no-repeat 5px center #FFFFFF;
border: 1px solid #E6E6E6;
padding: 15px 10px 15px 60px;
}.blocknumber {
clear: both;
padding: 5px 15px 10px;
position: relative;
}/* Check list */
ul.checklist {
list-style: none;
}ul.checklist li {
background: url(../images/icon-checklist.gif) no-repeat 0 6px !important;
margin-left: 15px !important;
padding: 0 0 0 20px !important;
}/* Check list (star) */
ul.stars {
list-style: none;
}ul.stars li {
background: url(../images/icon-star.gif) no-repeat 0 5px;
margin-left: 15px;
padding: 0 0 0 20px;
}/* Check list arrow */
ul.arrow {
list-style: none;
}ul.arrow li {
background: url(../images/icon-arrow.gif) no-repeat 3px 7px;
margin-left: 15px;
padding: 0 0 0 20px;
}/* Bignumber */
.bignumber {
background: url(../images/ol-bg.gif) no-repeat top left;
color: #FFFFFF;
display: block;
float: left;
font: bold 20px/normal Arial, sans-serif;
margin-right: 8px;
padding: 6px 7px;
}/* Talking box. Thinking box. */
div.bubble1, div.bubble2, div.bubble3, div.bubble4 {
margin: 15px 0;
}div.bubble1 span.author,
div.bubble2 span.author,
div.bubble3 span.author,
div.bubble4 span.author {
font-weight: bold;
margin-left: 15px;
padding-left: 0;
}div.bubble1 div {
background: url(../images/bub1-br.gif) no-repeat bottom right;
margin: 0;
width: 100%;
}div.bubble1 div div {
background: url(../images/bub1-bl.gif) no-repeat bottom left;
}div.bubble1 div div div {
background: url(../images/bub1-tr.gif) no-repeat top right;
}div.bubble1 div div div div {
background: url(../images/bub1-tl.gif) no-repeat top left;
}div.bubble1 div div div div div {
margin: 0;
padding: 10px 15px 20px;
width: auto;
}div.bubble2 div {
background: url(../images/bub2-br.gif) no-repeat bottom right;
margin: 0;
width: 100%;
}div.bubble2 div div {
background: url(../images/bub2-bl.gif) no-repeat bottom left;
}div.bubble2 div div div {
background: url(../images/bub2-tr.gif) no-repeat top right;
}div.bubble2 div div div div {
background: url(../images/bub2-tl.gif) no-repeat top left;
}div.bubble2 div div div div div {
margin: 0;
padding: 10px 15px 25px;
width: auto;
}div.bubble3 div {
background: url(../images/bub3-br.gif) no-repeat bottom right;
margin: 0;
width: 100%;
}div.bubble3 div div {
background: url(../images/bub3-bl.gif) no-repeat bottom left;
}div.bubble3 div div div {
background: url(../images/bub3-tr.gif) no-repeat top right;
}div.bubble3 div div div div {
background: url(../images/bub3-tl.gif) no-repeat top left;
}div.bubble3 div div div div div {
margin: 0;
padding: 10px 15px 45px;
width: auto;
}div.bubble4 div {
background: url(../images/bub4-br.gif) no-repeat bottom right;
margin: 0;
width: 100%;
}div.bubble4 div div {
background: url(../images/bub4-bl.gif) no-repeat bottom left;
}div.bubble4 div div div {
background: url(../images/bub4-tr.gif) no-repeat top right;
}div.bubble4 div div div div {
background: url(../images/bub4-tl.gif) no-repeat top left;
}div.bubble4 div div div div div {
margin: 0;
padding: 10px 15px 45px;
width: auto;
}/* Legend */
.legend-title {
background: #FFFFFF;
display: block;
font-size: 100%;
float: left;
font-weight: bold;
left: 7px;
margin: 0;
padding: 0 3px;
position: absolute;
top: -10px;
}.legend {
border: 1px solid #CCCCCC;
margin: 20px 0;
padding: 0 10px;
position: relative;
}omidkia Friendomidkia
- Join date:
- September 2008
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
September 6, 2008 at 12:20 am #269021That worked!!! Thank you very much.
Balaji Ramanathan FriendBalaji Ramanathan
- Join date:
- September 2014
- Posts:
- 187
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 24
- Thanked:
- 2 times in 1 posts
September 6, 2008 at 12:33 am #269022Omidkia,
would you mind helping me out? since you have marked solved nobody is going to open this thread.mj1256 Friendmj1256
- Join date:
- June 2007
- Posts:
- 1473
- Downloads:
- 10
- Uploads:
- 35
- Thanks:
- 84
- Thanked:
- 225 times in 118 posts
September 6, 2008 at 1:09 am #269026look for drop cap and rem it out
1 user says Thank You to mj1256 for this useful post
omidkia Friendomidkia
- Join date:
- September 2008
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
September 6, 2008 at 1:27 am #269031Yes that’ exactly right.
Open the typo.css file and remove the section starting at line 63.
send your thanks to mj1256.scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
September 6, 2008 at 10:40 am #269056Omitting the style from the css is a work around not a fix. The dropcap class is still added it just has no effect.
To stop the dropcap completely from being added to articles open templates/ja_pyrite/js/ja.script.js and rem out line 259.
This way you can still add the dropcap class manually to any article you want to have it on using… <span class=”dropcap”>X</span>
2 users say Thank You to scotty for this useful post
mj1256 Friendmj1256
- Join date:
- June 2007
- Posts:
- 1473
- Downloads:
- 10
- Uploads:
- 35
- Thanks:
- 84
- Thanked:
- 225 times in 118 posts
September 6, 2008 at 5:18 pm #269133you are correct, admittedly i over simplify because of the various skill levels of the members
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
September 7, 2008 at 11:54 am #269199I understand.
But actually I am not correct:((. Remming out line 259 seems to mess up the JS for the login and search boxes and deleting the lines altoghter messes up the Moomenu.
If you delete the word dropcap from line 274 everything seems to work fine. Make sure to leave the apostrophes .
You could write on the back of a stamp what I know about js so I am sure there is a proper way to omit this function and this is not it. Still a workaround I’m afraid 🙂
September 11, 2008 at 10:19 am #270085Try commenting out the following lines:
window.addEvent (‘domready’, function() {
addDropCap();
});Leave the function ‘addDropCap’ just don’t add the event.
4 users say Thank You to phghgjh for this useful post
Andrew Winkler FriendAndrew Winkler
- Join date:
- September 2014
- Posts:
- 725
- Downloads:
- 206
- Uploads:
- 31
- Thanks:
- 291
- Thanked:
- 34 times in 2 posts
September 17, 2008 at 6:06 pm #271053Putting a ‘white’ character in front of the article prevents the first visible character from being enlarged.
Use HTML like this: <font color=”#FFFFFF”>.</font>
I tried a blank (Â ) instead of the dot, but that got ignored by the first capital enlargement function. Use any other character.
October 30, 2008 at 7:41 pm #277543<em>@scotty 78058 wrote:</em><blockquote>Omitting the style from the css is a work around not a fix. The dropcap class is still added it just has no effect.
To stop the dropcap completely from being added to articles open templates/ja_pyrite/js/ja.script.js and rem out line 259.
This way you can still add the dropcap class manually to any article you want to have it on using… <span class=”dropcap”>X</span></blockquote>
Would you mind posting the code that needs to be commented? When I go to line 259, I see a }. I tried commenting out all the code before it but that didn’t work. Thanks.
ebajh69 Friendebajh69
- Join date:
- December 2005
- Posts:
- 36
- Downloads:
- 6
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 4 times in 2 posts
January 1, 2009 at 5:17 pm #284462Commenting out Lines 282-284 as suggested by phghgjh works.
<blockquote>Try commenting out the following lines:
window.addEvent (‘domready’, function() {
addDropCap();
});
</blockquote>This will turn off the AUTO Drop Cap from every article. If you want to add it to an individual article, you still can by using <span class=”dropcap”>X</span>.
Thanks
2 users say Thank You to ebajh69 for this useful post
-
AuthorPosts
This topic contains 19 replies, has 12 voices, and was last updated by ftht1 14 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum