3

I have encountered a strange issue with Syntax Highlighter on Google Blogger.

I added Syntax Highlighter to my blog step by step,but it didn't worked for me, i reassured everything in the EDIT HTML of my blog.

Still the problem persisted.

Later i created a Test Blog to check whether the same method works or not & found out that Syntax Highlighter works with the Test Blog.

I know that syntax highlighter doesn't work with Dynamic View, but here both my Blogs have the Same Template. The only Difference in both blogs is the Name and Address.Other than this both my blogs use Same Template.

  • Please Check

Here's My Main Blog

& Here's The Test Blog

So what could be the issue..?

Omi
  • 31
  • 4
  • The syntax highlighting library seems to be missing in your main blog – Prayag Verma Mar 21 '17 at 10:08
  • No i rechecked it....syntax highlighting library is present in both the blogs... – Omi Mar 23 '17 at 07:24
  • I checked the main's blog source, the syntax highlighting library is not present. Maybe you have added it in the theme but due to some issue with Blogger conditional statement, it is not loading on Post pages – Prayag Verma Mar 23 '17 at 07:27
  • Without seeing the code as well as the enclosing conditional statements, it is not possible to find the problem. Also, you can try adding the Syntax Highlighter library code into a HTML/JavaScript gadget and it might start working – Prayag Verma Mar 23 '17 at 07:33
  • 1
    The Problem is Solved now...the problem occurred cause the HTTPS redirect was turned on in my Main Blog while it was turned off in the Test Blog...Now the Syntax Highlighter works fine.....Thanks for your help though. – Omi Mar 23 '17 at 08:10

0 Answers0