Help editing thrifty blog post child theme

Hi everyone, I have very little HTML knowledge and I need help editing parts of the single blog post page for my website.

I don’t even know where to start but what I need to do is simple.

1. I need to remove Lorem Ipsum copy that appears below the related articles heading.

2. I need to remove the module with the blog post CTA right under the related articles module.

3. I need to connect a subscriber form like on the other pages of the website so that visitors can subscribe. If it’s complex, I’d rather remove it than have Lorem Ipsum copy.

For 1 - I need to modify the HTML tag on the base HTML child file apparently. Something like this: {% block body %}
{% endblock body %}

And within this I can modify it like this: <h2>Related articles</h2>
<!-- <p>Content you want to remove goes here.</p> -->

But I don’t know where to start and I guess it’s a similar solution for number two and three. Please point me in the right direction bearing in mind that I’m not a developer but understand some basics of HTML. I got the advise from ChatGPT but can’t execute. Please help.

Hello @JMohlabeng
I’ll try to explain step by step plz let me know if it works.
1. Open the child theme folder in your HubSpot account.
2. Find the file called base.html. This is the main template file for the child theme.
3. Open the base.html file in a text editor.
4. Locate the following code.

{% block body %}

{% endblock body %}

5. Within this code block, add the following code to remove the Lorem Ipsum copy.

<h2>Related articles</h2>

7.. Save the base.html file.
8. Go to the Design Manager in HubSpot.
9. Click on the Website Pages tab.
10. Select the blog post page that you want to edit.
11. Click on the Edit button.
12. In the Template section, select the Thrifty Blog Post child theme.
13. Click on the Save button.

The Lorem Ipsum copy should now be removed from the blog post page.

To remove the module with the blog post CTA, follow these steps:

1. Open the child theme folder in your HubSpot account.
2. Find the file called single.html. This is the template file for the single blog post page.
3. Open the single.html file in a text editor.
4. Locate the following code.

{% if show_cta %}

<div class="cta">

<h2>Subscribe to our newsletter</h2>

<p>Enter your email address to receive our latest blog posts and updates.</p>

<input type="email" name="email" />

<input type="submit" value="Subscribe" />

</div>

{% endif %}

5 Change the value of the show_cta variable to false.
6. Save the single.html file.
7. Go to the Design Manager in HubSpot.
8. Click on the Website Pages tab.
9. Select the blog post page that you want to edit.
10. Click on the Edit button.
11. In the Template section, select the Thrifty Blog Post child theme.
12. Click on the Save button.

The blog post CTA module should now be removed from the blog post page.

To connect a subscriber form to the blog post page, you can use the HubSpot Forms add-on. The HubSpot Forms add-on allows you to create and add forms to your website pages.

To add a subscriber form to the blog post page, follow these steps:

1. Go to the Design Manager in HubSpot.
2.Click on the Add-ons tab.
3. Search for the HubSpot Forms add-on.
4. Click on the Add button.
5.Follow the instructions in the HubSpot Forms add-on to create a subscriber form.
6. In the Design Manager, click on the Website Pages tab.0
7. Select the blog post page that you want to add the subscriber form to.
8. Click on the Edit button.
9. In the Body section, click on the Add Component button.
10. Select the HubSpot Forms component.
11. Select the subscriber form that you created in step 5.
12. Click on the Save button.
The subscriber form will now be added to the blog post page.

Hi Himanshurauthan,

Thank you for your reply. I’ve tried to understand the instructions but I’m struggling a bit.

For my number 1:

What would it look like after it is modified? The two are in two different lines (27-28) so how do I add it between? Is it going to look like in the screenshot?

For my number 2:

I can’t seem to find the single.html in Hubspot. Can you guide me to it because I will show you what I see in the Design Tool where I have only one child theme with four files.

I also can’t find the website page tab in Design Tools.

Could the single.html file be where I normally edit the template for the single blog page?

And when I find it please show me how the code will look after changing it to false as I have no clue.

Let me know if you can give more details. Thank you so much for your time again.