Under the "Theme" section, click the "Customize" button.
Then, click on the "Edit HTML" option. This will open the HTML code of your blog’s template.
Locate the Post Title Code:
In the HTML editor, press Ctrl + F (Windows) or Cmd + F (Mac) to open the search box.
Search for the following code:
html
<b:sectionclass='post-title'...>
Look for the line of code that includes <b:post-title>. It is usually within a section that handles the blog post title.
Insert Text Before the Post Title:
You need to add the text you want to appear before each post title. Add your custom text or code directly before the <h1> tag that displays the post title. For example:
html
<b:post-title><spanclass="before-title">Your Text Here</span><data:post.title/></b:post-title>
Replace "Your Text Here" with the text you want to appear before each post title. You can customize this text as needed.
Add CSS for Styling (Optional):
If you want to style the inserted text (for example, change the font, color, or size), you can add CSS rules for .before-title class.
In the HTML editor, add the following CSS code within the <style> tags in the head section of the theme (usually near the top of the HTML code):