Skip to main content
Luna Home Blog Section
Updated over 2 weeks ago

Your latest blog posts, displayed on the home page

blobid0.png

In this article:


How can I hide the Blog section?

The ability to disable/hide the Blog Section in the theme editor is currently being worked on.
In the meantime, please follow the steps below:

    1. In your BigCommerce dashboard, go to Storefront > Script Manager

    2. Next, click Create a Script on the upper right corner.

    3. From here, fill in the Name of script and Description fields.

Set each section exactly as follows:

      • Location on page to Head.

      • Select pages where script will be added to All Pages.

      • Script category to Essential.

      • Script type to Script.

mceclip0.png

Copy and paste the code below into Script contents.

<script>
  var style = document.createElement('style');
  style.innerHTML = `
	.blog-section {display:none}
  `;
  document.head.appendChild(style);
</script>

4. Lastly, hit Save on the lower right corner.


How can I change the number of blog posts displayed on the home page?

  • In the theme customizer, go to the Home Page section and scroll down to the Blog subsection.

  • Select your number of desired posts from the dropdown menu.

mceclip0.png

How can I change the blog post link?

  • In the theme customizer, go to the Home Page section and scroll down to the Blog subsection.

  • Input the correct link for your blog page in the text box provided.

mceclip1.png
Did this answer your question?