Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • ivanbu Friend
    #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


    1. dropcap
    Anonymous Moderator
    #292994

    For 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 Admin
    #293232

    There’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.

    ivanbu Friend
    #294368

    At 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,
    Ivan

    Anonymous Moderator
    #294955

    Hi 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.

    klempit Friend
    #312853

    Hi – how can one use this optionally, then, as it appears that it is commented out of the JS? (JS newbie…sorry). Thanks,

    klempit Friend
    #312855

    answering my own question, sorry…
    <p><span class=”dropcap”>T</span>

    mcgratty Friend
    #350099

    Is there html code I can insert into an article that will turn off the dropcap? The code above turns on the dropcap?

    aaronfarias Friend
    #350102

    Just add a new class?

    {font-variant: small-caps; }

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 6 voices, and was last updated by  aaronfarias 13 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum