Creating Your Own Blogger Template from Scratch — Part 2

4 min read

Welcome back to our easy-to-follow Blogger Template Creation series! If you’re new here, make sure to check out Part 1: Understanding Basic Template Structure.

In this second part, we’ll explore two critical building blocks of every Blogger theme:

  • <b:skin> — The area where your blog’s CSS styling lives.
  • <b:section> — Layout blocks that organize your header, content area, footer, and more.

Mastering these helps you create a clean, responsive, and AdSense-ready blog while improving mobile performance and SEO.

🎨 What is <b:skin> — The Styling Section

Think of <b:skin> as your Blogger theme’s built-in CSS space. Here’s a simple example:

<b:skin>
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #333;
  }
</b:skin>

💡 Key Notes:

  • <b:skin> works like the regular <style> tag but is designed specifically for Blogger templates.
  • All CSS rules inside it automatically apply to your blog's layout and appearance.
  • Keeping styles clean and lightweight helps your blog load faster, which is critical for SEO and Google AdSense approval.

✅ Styling Tips for SEO & AdSense:

  • Prioritize mobile-friendly, responsive designs — Google rewards mobile usability.
  • Avoid bloated CSS or unnecessary animations that slow down your blog.
  • Test fonts, colors, and spacing for readability — a clean look enhances both UX and AdSense performance.

📦 What is <b:section> — Controlling Layout Areas

<b:section> tags define different layout blocks within your Blogger theme. Here’s how a typical section looks:

<b:section id='header' class='header' maxwidgets='1' showaddelement='no'>
  <b:widget id='Header1' type='Header' locked='true' />
</b:section>

🔍 Breakdown of Attributes:

  • id='header' — Unique name to target this area in your CSS.
  • class='header' — Optional class for styling flexibility.
  • maxwidgets='1' — Limits how many widgets (gadgets) can go inside.
  • showaddelement='no' — Hides the "Add Gadget" button, useful for fixed layout areas.

🗂 Common Sections in Blogger:

<b:section id='main' class='main-content'>
  <!-- Blog posts display here -->
</b:section>

<b:section id='footer' class='footer'>
  <!-- Footer links or widgets -->
</b:section>

Each section gives you full control over different areas, letting you structure your blog professionally and AdSense-compliant.

🌟 Why Sections Matter

  • Organize layout into clear blocks — header, main content, sidebar, footer, etc.
  • Easily add or control widgets within specific areas of your template.
  • Separate design areas make your blog look cleaner and more user-friendly.
  • Structured templates improve SEO and help meet AdSense layout policies.

Pro Tip: Use meaningful id and class names — this simplifies styling and boosts search engine readability.

🎯 Best Practices for Styling & Layout

  • Keep CSS simple and efficient inside <b:skin> to ensure fast loading.
  • Use <b:section> wisely — break your layout into clear, functional blocks.
  • Always check your design on mobile and desktop for responsive performance.
  • Maintain clear spacing, legible fonts, and clean structure to enhance UX, SEO, and AdSense approval rates.

💡 Final Recommendations

  • Back up your theme before making any edits — avoid losing work.
  • Test on a private blog before applying changes to your live site.
  • Prioritize mobile responsiveness — it’s essential for SEO and AdSense.
  • Lightweight, fast-loading blogs perform better in search rankings and improve visitor retention.

🔗 Helpful Resources for Bloggers

Stay tuned for Part 3, where we’ll dive into the <b:section id='main'> area in detail, showing you how to control your post layout and customize content blocks.

Don’t forget to follow, subscribe, or bookmark — more Blogger tips coming soon!