Simplex Design blog : New customization Blogger threaded comment |
New customization Blogger threaded comment Posted: 28 May 2012 02:53 AM PDT After reading some comments from you on Customize threaded comment system and check by myself ,there's an error when applying CSS in this post: the reply button and load more button are not work . Now in this post ,I will show you how to customizing theaded comment system like Simplex Bigblue template . New threaded comment system use more javascript than the old comment form . It's mean if we look into the template code ,we couldn't know what HTML tags will be used in comment form ,therefore hard to write CSS . To know what HTML tags has been generated by javascript ,you can wait for page fully loaded ,and then save that page to your computer . Check the downloaded page ,we can see what HTML tags in comment . All of these HTML tags are decorated by CSS attributes in default Blogger CSS file . You can't download/edit/modify this CSS file . So the solution here is to write new CSS in template file to overwrite the defaults . Here is the HTML code of threaded comment that I dumped in my blog : <div class="comments-content"> Please take a look at the code above . I censored unnecessary information in the code above . What we need to know is HTML tags and class attribute of these class . Base on the HTML markup above ,we can write CSS code to decorate them as we want . Here is the code that I applied in Simplex Bigblue template .You can consider it an example . .comment { You can copy this CSS code if you want threaded comment like Simplex Bigblue template ,or write more CSS code if you want to make it as you want . Hope this post helpful to you . |
You are subscribed to email updates from SimplexDesign - free premium blogspot template To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |