-
AuthorPosts
-
dozza Friend
dozza
- Join date:
- October 2007
- Posts:
- 149
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 16
- Thanked:
- 8 times in 1 posts
January 25, 2010 at 1:43 pm #148001Is 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 ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
January 28, 2010 at 7:19 am #330701Hi 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 Frienddozza
- Join date:
- October 2007
- Posts:
- 149
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 16
- Thanked:
- 8 times in 1 posts
January 28, 2010 at 11:27 am #330746Thanks, 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 ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
February 1, 2010 at 8:06 am #331151Hi dozza
Could you give me your live url, admin account so that i could have a closer look on the issue?
dozza Frienddozza
- Join date:
- October 2007
- Posts:
- 149
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 16
- Thanked:
- 8 times in 1 posts
February 5, 2010 at 11:36 am #331680JA DEv
I’ve PM’d you the access details
dozza Frienddozza
- Join date:
- October 2007
- Posts:
- 149
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 16
- Thanked:
- 8 times in 1 posts
February 17, 2010 at 12:14 pm #332931I 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 ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
February 18, 2010 at 9:36 am #333022Hi 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 toodozza Frienddozza
- Join date:
- October 2007
- Posts:
- 149
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 16
- Thanked:
- 8 times in 1 posts
February 18, 2010 at 9:54 am #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 ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
February 24, 2010 at 3:07 am #333642Hi 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 Frienddozza
- Join date:
- October 2007
- Posts:
- 149
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 16
- Thanked:
- 8 times in 1 posts
February 24, 2010 at 9:38 am #333705Which cache are you referring to? Browser cache or one of the caches within Joomla?
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
February 26, 2010 at 4:25 am #333939You should delete these two caches.
If not, please send me your ftp account via PM, i will check it for you
dozza Frienddozza
- Join date:
- October 2007
- Posts:
- 149
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 16
- Thanked:
- 8 times in 1 posts
February 28, 2010 at 8:12 pm #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 Friendnihues
- Join date:
- December 2009
- Posts:
- 69
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 17
- Thanked:
- 15 times in 5 posts
March 1, 2010 at 1:17 am #334154Hello,
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 Frienddozza
- Join date:
- October 2007
- Posts:
- 149
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 16
- Thanked:
- 8 times in 1 posts
March 1, 2010 at 11:54 am #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 Friendnihues
- Join date:
- December 2009
- Posts:
- 69
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 17
- Thanked:
- 15 times in 5 posts
March 1, 2010 at 12:13 pm #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
1 user says Thank You to nihues for this useful post
-
AuthorPosts
This topic contains 16 replies, has 3 voices, and was last updated by dozza 14 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum