-
AuthorPosts
-
spider2009 Friend
spider2009
- Join date:
- October 2009
- Posts:
- 23
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 6
- Thanked:
- 5 times in 1 posts
October 30, 2009 at 9:41 pm #145646Hello.
Is there a way to make the article title to be displayed using cufon style?
The article titles have the following CSS formatting:
<h2 class="contentheading clearfix">My article</h2>
Thank you.
spider2009 Friendspider2009
- Join date:
- October 2009
- Posts:
- 23
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 6
- Thanked:
- 5 times in 1 posts
November 2, 2009 at 7:08 pm #322352There’s the following javascript inclusion:
<script type="text/javascript">
Cufon.replace(
'.ja-slide-desc .title, h1.componentheading, .blog .componentheading, .blog .contentheading, div.moduletable h3, div.moduletable_default h3, div.moduletable_menu h3, div.moduletable_text h3, div.moduletable_hilite h3',
{ fontFamily: 'Bebas' }
);Cufon.replace(
'.jav-search span.jav-search-title, .jav-search .button, .jav-has-votes h4',
{ fontFamily: 'Bebas' }
);Cufon.replace(
'.ja-slide-desc h3',
{ fontFamily: 'Bebas', color: '#fff' }
);Cufon.replace (
'.logo-text h1',
{ fontFamily: 'Bebas', color: '-linear-gradient(#fff, #bbb, #fff)', textShadow: '#ccc 1px 1px' }
);
</script>
I could not find the source of this javascript. Then, I could add:
<h2 class="contentheading clearfix">
to have “Cufon.replace”Any idea?
Thanks!
November 5, 2009 at 1:28 am #322595Hello,
If you find a solution, can you tell me it please ?
Thank you !!!spider2009 Friendspider2009
- Join date:
- October 2009
- Posts:
- 23
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 6
- Thanked:
- 5 times in 1 posts
November 5, 2009 at 3:23 am #322600Surprised that no one else experiencing this problem, or may be others do not consider this as a problem.
It looks “funny,” to say the least, how the article title switches from “cufon” on one page, to regular text, once the article is expanded via the “Read more” link.
Still searching for the solution…
thatch10 Friendthatch10
- Join date:
- May 2008
- Posts:
- 104
- Downloads:
- 154
- Uploads:
- 8
- Thanks:
- 11
- Thanked:
- 19 times in 1 posts
November 6, 2009 at 12:25 am #322701Navigate to your template folder / ja_halite /layouts/ and open the head.php file.
This is where the cufon font replacement techique is applied to your styles,
I am using the first part. Mine starts at line 46
Cufon.replace(
'.ja-slide-desc .title, h1.componentheading, h2.contentheading, p.domainextension, .blog .componentheading, div.componentheading, .blog .contentheading, div.moduletable h3, div.moduletable_default h3, div.moduletable_menu h3, div.moduletable_text h3, div.moduletable_hilite h3',
{ fontFamily: 'Bebas' }
);and adding my style, in the case that you have requested it would be
‘h2.contentheading’
Scotty’s great post helped me out no end and its here
I suggest you read his thread before making the change, I have just pointed you to the correct file, its easy after that.
Thatch
2 users say Thank You to thatch10 for this useful post
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by thatch10 15 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum