| 
			
			 | 
		#1 | 
| 
			
			
			
			 Zealot 
			
			![]() Posts: 115 
				Karma: 10 
				Join Date: Jan 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
			
			Converting other formats to epub or mobi, Calibre changes color of links to blue,no matter what the color of links was in the original file. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Would it be possible to have an option of keeping the original color? As it is now I am forced to use Sigil to fix the colors after the conversion to epub & convert to mobi with Kindlegen instead of Calibre. It would be much more convenient to do everything in Calibre. Last edited by kamanza; 08-17-2012 at 04:03 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49 
				Karma: 475062 
				Join Date: Aug 2012 
				
				
				
				Device: nook simple touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			add this code to the Extra CSS (preferences--common options--look&feel) 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	a:link {color: whatever color you want}
links can be displayed in different ways Code: 
	a:visited {color:#00FF00;}  /* visited link */
a:hover {color:#FF00FF;}  /* mouse over link */
a:active {color:#0000FF;}  /* selected link */
 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Zealot 
			
			![]() Posts: 115 
				Karma: 10 
				Join Date: Jan 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Did exactly that & still got blue TOC
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49 
				Karma: 475062 
				Join Date: Aug 2012 
				
				
				
				Device: nook simple touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			 try this code again 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Code: 
	 
a {
color: red;/*select the color you want*/
cursor: pointer;
text-decoration: none;
}
Last edited by lrui; 08-20-2012 at 12:15 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Zealot 
			
			![]() Posts: 115 
				Karma: 10 
				Join Date: Jan 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Something very funny is happening with Calibre: I've put both (a & a:link) codes into the CSS field & trhe first book came out with the color I wanted. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Then I tried a second book with the same (copy & paste) code & it reverted to blue. I then tried the first book again & it also came out blue. So far i've tried a few additional books but   no repeat performance from Calibre - TOC remains blue.A mystery! Last edited by kamanza; 08-20-2012 at 02:26 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | |
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 ![]() You probably have (more) code somewhere (could be the CSS or the document itself) that sets it to Blue  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 Zealot 
			
			![]() Posts: 115 
				Karma: 10 
				Join Date: Jan 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 To check that I exploded a book pre-Calibre conversion (epub to epub) & post-conversion & compared the 2. Calibre introduces a few CSS attributes & <span>'s with "blue" in them, which were not there originally. So, even if a book gets correct colors being converted once, it reverts to blue on any further conversion. I would consider this a BUG. In any case, I go back to tweaking epub in Sigil & converting to mobi in Kidlegen or Mobipocket—it is much easier. Last edited by kamanza; 08-21-2012 at 06:28 AM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49 
				Karma: 475062 
				Join Date: Aug 2012 
				
				
				
				Device: nook simple touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Could you attach your book?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Zealot 
			
			![]() Posts: 115 
				Karma: 10 
				Join Date: Jan 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Can't do that: copyright. But i'll try to demonstrate this on some short un-copyrighted text 
		
	
		
		
		
		
		
		
		
		
		
		
		
			when i have time. Last edited by kamanza; 08-21-2012 at 02:00 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Color eInk. Jetbook Color Available for Pre Order | X read X | News | 37 | 12-09-2011 02:57 PM | 
| Text color and background color almost the same | larrymohr | Kobo Tablets | 2 | 11-20-2011 07:59 PM | 
| Links to URLs work, internal links don't? | NewDay | ePub | 36 | 10-27-2010 05:09 AM |