-
AuthorPosts
-
kevin bates Friend
kevin bates
- Join date:
- September 2014
- Posts:
- 44
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 20
- Thanked:
- 1 times in 1 posts
October 7, 2008 at 10:35 pm #134135I posted this at the end of a solved thread and then worried that no one would read it so I am posting again. Please forgive me for the double post.
How do I place a regular article with out the drop class showing up? I love the dropcap but some articles require no dropcap.
Any ideas?
Thanks!
kevinmfcphil Friendmfcphil
- Join date:
- September 2007
- Posts:
- 2866
- Downloads:
- 3
- Uploads:
- 218
- Thanks:
- 211
- Thanked:
- 388 times in 133 posts
October 8, 2008 at 12:09 am #274147Don’t know if your answer will be there but try this.
click the search box at the top of the page here, and put Dropcap class into it and click the show threads…there is quite a few answers there…
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 9, 2008 at 3:32 am #274357please say more detail
If you don’t want drop cat class, please don’t add it into you contentkevin bates Friendkevin bates
- Join date:
- September 2014
- Posts:
- 44
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 20
- Thanked:
- 1 times in 1 posts
October 9, 2008 at 3:36 am #274358No drop cap on some articles. Keep drop class on others.
mj1256 Friendmj1256
- Join date:
- June 2007
- Posts:
- 1473
- Downloads:
- 10
- Uploads:
- 35
- Thanks:
- 84
- Thanked:
- 225 times in 118 posts
October 9, 2008 at 3:42 am #274359i’m not getting the question
you have to add the drop cap manually, so if you don’t want it, don’t add it correct?
kevin bates Friendkevin bates
- Join date:
- September 2014
- Posts:
- 44
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 20
- Thanked:
- 1 times in 1 posts
October 9, 2008 at 5:07 am #274376Nope! The Pyrite template has a class that adds the style to the first letter of the first paragraph of every article – automatically.
If I disable that in the style sheet then yes I can add it manually – yes- but the users that will input content need will be overwhelmed if they have to use tags.princess fiona Friendprincess fiona
- Join date:
- March 2008
- Posts:
- 10
- Downloads:
- 1
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
October 11, 2008 at 5:48 am #274729I am wanting to over-ride the drop cap script as well. How do I do it?
:confused:
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 13, 2008 at 2:28 am #274941hi
you can edit ja.script.js(templatesja_pyritejs folder)
Search those lines:
window.addEvent ('domready', function() {
addDropCap();
});
Comment or remove those lines —> your site will don’t auto have drop cat at first letterThen if you want what artciles have drop cat, you can edit directly that content as you want
2 users say Thank You to Sherlock for this useful post
princess fiona Friendprincess fiona
- Join date:
- March 2008
- Posts:
- 10
- Downloads:
- 1
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
October 13, 2008 at 9:26 am #275009Hi Nguoiabcd
Thank you for your reply. I found how to do it and am pleased with the outcome.
Regards
Princess Fiona
1 user says Thank You to princess fiona for this useful post
-
AuthorPosts
This topic contains 9 replies, has 5 voices, and was last updated by princess fiona 16 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum