View Categories

Luna Home Blog Section

1 min read

Your latest blog posts, displayed on the home page

blobid0.png

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: #

  1. Location on page to Head.
  2. Select pages where script will be added to All Pages.
  3. Script category to Essential.
  4. 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

Powered by BetterDocs

Transform Clicks Into Clients

Sell more online.

Effectively reach and convert more customers with our expert tips and strategies.

Thank you! Be sure to check your email in a few minutes so you can download your eBook.