Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • dozza Friend
    #148001

    Is there a way to increase the line-height of the contenttitle, contentheading and similar that are using the Cufon text option. They are rendered as <span> elements when using the cufon script.

    I’ve read on GitHub about cufon line-height issues

    http://wiki.github.com/sorccu/cufon/styling

    So, I’m trying this at the moment but it is not working!!

    <script type="text/javascript">
    Cufon.replace('.componentheading, .contentheading, div.moduletable h3, div.moduletable_menu h3, div.moduletable_text h3,div.moduletable_highlight h3', { fontFamily: 'NeoSans' line-height: 200%;});
    </script>

    How do I include line-height within javascript?

    Anonymous Moderator
    #330701

    Hi dozza

    Please open templates/ja_nickel/css/template.css file, at about line 52, find following code section:

    /* Title text */
    h1, h2, h3, h4,
    .contentheading, .componentheading, .blog_more strong,
    .nftitle {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    line-height: 1.2;
    color: #222222;
    }

    and then change the line-height to your value

    dozza Friend
    #330746

    Thanks, but that’s not having any effect. I think it’s being over ridden by a fixed height on <span class=”cufon cufon-canvas” style=”width: 107px; height: 31.2px;”>

    See the attached FireBug grab. How do I override theses span class heights?

    Scren grab at http://emberapp.com/dozza/images/picture-17

    Anonymous Moderator
    #331151

    Hi dozza

    Could you give me your live url, admin account so that i could have a closer look on the issue?

    dozza Friend
    #331680

    JA DEv

    I’ve PM’d you the access details

    dozza Friend
    #332931

    I know all at JA are celebrating TET, but I pm’d JA Dev a week before this but still no reply.

    Come on fellas,or do you still have hangovers?

    Anonymous Moderator
    #333022

    Hi you

    i am sorry for this later. In the case, please open template.css file, find following code section:

    .blog h2.contentheading, .blog .contentheading {
    font-size: 150%;
    }

    and increase the font-size too

    dozza Friend
    #333025

    <em>@JA Developer 165410 wrote:</em><blockquote>….and increase the font-size too</blockquote>

    too‘ So do I implement this in addition to something else? I’ve tried this on it’s own and in addition to the earlier css tweak you suggest but neither of the combinations has any effect. Are you trying this with FireBug?

    Any other ideas?

    Anonymous Moderator
    #333642

    Hi dozza

    I am using firebug to debug your issue and saw that it is working fine

    You should delete all cache and then check your change again

    dozza Friend
    #333705

    Which cache are you referring to? Browser cache or one of the caches within Joomla?

    Anonymous Moderator
    #333939

    You should delete these two caches.

    If not, please send me your ftp account via PM, i will check it for you

    dozza Friend
    #334143

    <em>@JA Developer 166587 wrote:</em><blockquote>these two caches.</blockquote>

    Aarrgggghhhhhhh!

    WHICH TWO CACHES???

    That was my last question.

    The cache settings in Global COnfig/System are set to No and have been since the site went live.

    I have done a Purge Expired Cache from the Tools menu. No effect.

    I’ve seen the Clean Cache Admin/Cache manager – but not sure what to do here! Is this what you are referring to?

    nihues Friend
    #334154

    Hello,

    You should clean all caches from joomla, the one in menu Tools/Clean Cache, clean all there, and clean your browser cache too, “THESE ARE THE TWO CACHES”, or if you use Firefox, refresh with Ctrl+f5 will work too.

    And lastly, try to learn css/joomla or do a google search before you ask… this is a very basic question… it’s easier to get your answer from a search engine, and generaly much faster…

    dozza Friend
    #334213

    <em>@nihues 166857 wrote:</em><blockquote>You should clean all caches from joomla, the one in menu Tools/Clean Cache, clean all there, and clean your browser cache too, “THESE ARE THE TWO CACHES”,</blockquote>

    Thank you – I’ve done this and it has no effect in any browser on any platform – with or without the previously suggested CSS alterations.

    <blockquote>And lastly, try to learn css/joomla</blockquote>

    That’s extremely rude, offensive and assumptive for your second post on Joomlart. I don’t ask questions here before researching them myself first, but occasionally get completely stumped and revert to the forums, as that is what they are there for. I’m not some newb here and have about 15 Joomla sites under my belt.

    <blockquote>it’s easier to get your answer from a search engine, and generaly much faster…</blockquote>

    What do you suggest I use as a Search query string for this particular issue?

    I appreciate your reply, but not the put-down.

    The long and short of it is that all the suggestions so far have not solved the issue. It’s only a minor typographic issue that, as a designer, I care about. It’s also an issue that most developers/coders wouldn’t give a **** about

    nihues Friend
    #334215

    <em>@dozza 166933 wrote:</em><blockquote>Thank you – I’ve done this and it has no effect in any browser on any platform – with or without the previously suggested CSS alterations.

    That’s extremely rude, offensive and assumptive for your second post on Joomlart. I don’t ask questions here before researching them myself first, but occasionally get completely stumped and revert to the forums, as that is what they are there for. I’m not some newb here and have about 15 Joomla sites under my belt.

    What do you suggest I use as a Search query string for this particular issue?

    I appreciate your reply, but not the put-down.

    The long and short of it is that all the suggestions so far have not solved the issue. It’s only a minor typographic issue that, as a designer, I care about. It’s also an issue that most developers/coders wouldn’t give a **** about</blockquote>

    I get problems with cufon too, generaly putting a very high line height solved my problems and or very hight font-size…

    I was not intent to be be rude, but I found your caps rude, and as you didn’t know what is cache or what to do to clean a cache, I supose you didn’t know much…

    And, searching for “Line Height problem cufon” in google returned a lot of info… one in particular from http://wiki.github.com/sorccu/cufon/known-bugs-and-issues:
    Know bugs:
    “All browsers: line-height may not behave as expected under non-strict doctypes.”

    Try insert 200% for line height and font-size, then go down until is ok… my problems where resolved with 175% font-size and 160% line-height

Viewing 15 posts - 1 through 15 (of 16 total)

This topic contains 16 replies, has 3 voices, and was last updated by  dozza 14 years, 8 months ago.

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