How to Add Stylish Accordion in Blogger Posts
Hi to all, in this article I am going to tell you all about how to add stylish accordion in blogger website by using HTML and CSS.
Accordion is a type of button, when we clicked on this button the content will appear in it and when when we again click the button the content disappears.
By using the accordion, it provides your blog post more clear and informative and gives a professional look to your website and it optimize your blog post.
By adding the code in your post will not effect your webpage speed, so you can use this code in any blogger template freely.
Read the below provided steps carefully to get clear understanding about how to add stylish accordion in blogger posts easily without any error or issue.
Steps to Add Stylish Accordion in Blogger Posts
Step-1: First of all you all need to login to your blogger website dashboard by using your login credentials.
Step-2: Go to blogger website dashboard -> Click on theme section -> Click on arrow icon -> Click on backup -> Click on download theme.
Step-3: Go to blogger website dashboard -> Click on theme section -> Click on arrow icon -> Click on Edit HTML -> Blogger theme editor.
Step-4: Copy the below provided CSS code and paste the copied CSS code above closing head tag or </head> tag.
Step-5: Click on save button.
Step-6Now open the blog post where you want to add this stylish accordion.
Step-7: Copy the below provided HTML code and paste the copied HTML code in the blog post where you want to show the accordion.
Step-8: You need to write your content inside the summary and paragraph tag in HTML code and you can add so many accordions by just copy pasting the accordion codes in your blog post.
Step-9: After adding the content click on publish or update button.
Step-10: Now you have successfully added stylish accordion in your blogger website easily in just few minutes.
Note
If you get any error or issue while saving the code in your blogger theme editor then you need to restore your backup theme code again and need to follow the same steps as mentioned above carefully.
If you want to change any style or color you need to change the CSS code, and to change the colors, you need to replace the color codes with the default color codes and for color codes you can use google color picker or any other third party website.
Demo FAQ Accordion
FAQ 1 : What is Accordion?
Accordion is a type of button when you click this button the content appear in it and again when you click this button the content disappear.
FAQ 2 : What is the use of Accordion?
By using the accordion, it provides your blog post more clear and informative and gives a professional look to your website and it optimize your blog post.
FAQ 3 : Will this code effect our webpage speed?
By adding the code in your post will not effect your webpage speed, so you can use this code in any blogger template freely.
Conclusion
I hope that you have understood about how to add stylish accordion in blogger website easily in just few minutes by using HTML and CSS.