Kayako logo
How do I? Questions about how to do specific things in SupportSuite, eSupport and LiveResponse. Not for reporting problems.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
bauhsoj Offline
New Member
 
Posts: 22
Join Date: Apr 2006
Question Changing CSS inside only knowledgebase articles - 02-07-2008, 02:54 PM

I want the link color and underline decoration to be different within knowledgebase articles only. Currently they are inheriting the link styles from the general eSupport CSS. How would I specifically change the CSS so that all the links in our knowledgebase articles would be updated?
   
Reply With Quote
  (#2) Old
John Haugeland Offline
Developer
 
John Haugeland's Avatar
 
Posts: 405
Join Date: Dec 2007
Location: Idaho
02-07-2008, 11:21 PM

At the moment, the easiest thing for you to do would be to alter the knowledgebase template, add an id to the tag you want to contain the different-looking underlines, then hook the CSS to that ID.

It's a little bit of a judgement call where to apply the styles. I'm kind of guessing here, but if you want them just in the solution box, you're looking for the template called "kbarticleview", and to do something to the following block (about halfway down):

<fieldset class="swiftfieldset">
<legend><{$language[kbsolution]}></legend>
<span class="mediumtext"><{$article[contents]}></span><BR /><BR />
</fieldset>

Again, guessing, but I suspect you want to add the id to the span. For example:

<span id="kbunderlinehook" class="mediumtext"><{$article[contents]}></span><BR /><BR />

Then you could just write a CSS rule like:

#kbunderlinehook a { ... }

Hope that covers what you need.


John Haugeland (john.haugeland ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
Reply

Tags
articles, css, inside, knowledgebase

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide private knowledgebase articles from certain staff? threshold SupportSuite, eSupport and LiveResponse 0 31-05-2008 11:57 PM
Knowledgebase - number of articles count Swish SupportSuite, eSupport and LiveResponse 38 13-03-2008 04:34 PM
All template groups' knowledgebase articles included in IRS - problem steveparks SupportSuite, eSupport and LiveResponse 16 25-10-2006 01:41 AM
private knowledgebase articles Johannes SupportSuite, eSupport and LiveResponse 2 16-03-2006 01:51 AM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46