-
AuthorPosts
-
February 19, 2009 at 5:50 pm #138362
hello
i have the same problem as in your pyrite demo – see the picture.
The first letter in the article appears in the image caption (in Safari – i didn’t remark the problem in Firefox.).After refreshment of a page – sometimes the problem disappears.
idea anybody?
thanks
ivan
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
February 23, 2009 at 9:42 am #292994For this case, i think you must adjust the position of this text.
Please open templates/ja_pyrite/css/typo.css file , at about line 63, find following code to change:
.dropcap {
-x-system-font:none;
display:block;
float:left;
font-family:Georgia,Times,serif;
font-size:60px;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:58px;
padding:0 10px 0 0;
}Hieu Nguyen AdminHieu Nguyen
- Join date:
- November 2005
- Posts:
- 678
- Downloads:
- 36
- Uploads:
- 0
- Thanks:
- 69
- Thanked:
- 61 times in 1 posts
February 24, 2009 at 8:48 am #293232There’s something strange with your browser. I’ve tested Pyrite on my virtual Mac (running on Vmware) and it’s still ok. Please try to clear cache and cookies, then reload the page again.
March 4, 2009 at 8:43 am #294368At first in Safari everything looks ok, but…
if I go to ex. Typography page and than back to Home page, or refresh page – the problem reappears.How to deactivate automatic drop cap in articles?
(And I will ad them manually later).
Thanks again,
IvanAnonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
March 9, 2009 at 8:43 am #294955Hi ivanbu,
For this case, please open ja.script.js file in templates/ja_pyrite/js folder, at about line 282, find following code:
window.addEvent ('domready', function() {
addDropCap();
});and change to:
window.addEvent ('domready', function() {
//addDropCap();
});Hope it helps.
August 1, 2009 at 1:34 pm #312853Hi – how can one use this optionally, then, as it appears that it is commented out of the JS? (JS newbie…sorry). Thanks,
August 1, 2009 at 1:41 pm #312855answering my own question, sorry…
<p><span class=”dropcap”>T</span>July 16, 2010 at 8:13 pm #350099Is there html code I can insert into an article that will turn off the dropcap? The code above turns on the dropcap?
aaronfarias Friendaaronfarias
- Join date:
- July 2010
- Posts:
- 132
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 12 times in 12 posts
July 16, 2010 at 8:26 pm #350102Just add a new class?
{font-variant: small-caps; }
AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 6 voices, and was last updated by aaronfarias 14 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
dropcap and image caption
Viewing 9 posts - 1 through 9 (of 9 total)