Home » , , » Change Syntax Highlighter Color Theme In Blogger

Change Syntax Highlighter Color Theme In Blogger

[a href="http://lh4.ggpht.com/-TuDzmgnFeLw/Tgs0zb1nKgI/AAAAAAAAEAc/4mv91bKTUQE/s1600-h/SYNTAX-HIGHLIGHTER-THEMES%25255B8%25255D.gif"]SYNTAX-HIGHLIGHTER-THEMES[/a]Syntax highlighter is the big name that you see on major tutorial sharing blogs may that be Wordpress or Blogger. Web Owners who use it are growing in numbers. In the last post we discuss how to add Syntax Highlighter to your Blogger Blogs and today we will learn how to change its look and feel and customize it to some extent with 7 different color themes available so far.

[a name='more'][/a]

 

 

If you don't understand what I am talking then you may kindly read this post first,

  • Add [a href="http://www.mybloggertricks.com/2011/06/add-syntax-highlighter-to-blogspot.html" target="_blank"]Syntax Highlighter[/a] in Blogger

Customize Syntax Highlighter

I assume that you have already added the highlighter to your blogs. Now you just need to follow these easy steps,

  1. Go To Blogger > Design > Edit HTML
  2. Search For this code,

<link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/>

    3.   And replace it with any of the following theme code:

PS: Click the images for DEMO.

Django theme

[a href="http://alexgorbatchev.com/SyntaxHighlighter/manual/themes/django.html" target="_blank"]image[/a]

<link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeDjango.css' rel='stylesheet' type='text/css'/>

 

Emacs theme

[a href="http://alexgorbatchev.com/SyntaxHighlighter/manual/themes/emacs.html" target="_blank"]image[/a]

<link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeEmacs.css' rel='stylesheet' type='text/css'/>

Fade to Grey theme

[a href="http://alexgorbatchev.com/SyntaxHighlighter/manual/themes/fadetogrey.html" target="_blank"]image[/a]

<link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeFadeToGrey.css' rel='stylesheet' type='text/css'/>

 

Eclipse theme

[a href="http://alexgorbatchev.com/SyntaxHighlighter/manual/themes/eclipse.html" target="_blank"]image[/a]

<link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeEclipse.css' rel='stylesheet' type='text/css'/>

Midnight theme

 

[a href="http://alexgorbatchev.com/SyntaxHighlighter/manual/themes/midnight.html" target="_blank"]image[/a]

<link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeMidnight.css' rel='stylesheet' type='text/css'/>

RDark theme

 

[a href="http://alexgorbatchev.com/SyntaxHighlighter/manual/themes/rdark.html" target="_blank"]image[/a]

<link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeRDark.css' rel='stylesheet' type='text/css'/>

 

   

    4.   Save your template and you are done!

Visit your blogs to see the Magic! :)

Source: http://www.mybloggertricks.com/2011/06/change-syntax-highlighter-color-theme.html

0 comments :

Post a Comment

 
Play : Agame | Y8 Games | Y3 Games
Copyright © 2011. Blogger Tips And Tricks 2012 - All Rights Reserved

Proudly powered by Blogger