Table of Contents

Rule number 1: Don’t open the templates in your editor and start scrolling through it much less cutting and pasting. Also important, don’t open a template or CSS file and throw up your hands in dispair, “Oh, it’s all so complicated.” Print the templates.

Rule number 2: browse to the TalkBack test page http://yoursite.com/talkback/test.php. Enter a comment. Enter a reply to that comment. Use your browser’s view source command to display the HTML source code. (Firefox: Ctrl+U, Internet Explorer: View menu > Source). This is the HTML code that the PHP code in the templates produces. Print the source code. It’s easier to work with on paper.

The template printout shows you the combination of PHP code and HTML code that creates the HTML source code that is sent to the browser. Study and compare the two printouts and the comments page on your monitor and you will more quickly grasp what the template is doing and where in the template you will be making your change.

Want to change the styling: colors, backgrounds, fonts, etc? Look at the browser source code printout. Find the HTML tag for the element you want to change. It will have either an “id” or a “class”. Look for the id or class in the CSS.

Trial and error are great teachers. Make a backup copy of a file before changing it and you can’t do any damage that can’t be easily undone.