Display Large Banner Images on Home Page in SuiteCommerce
Learn to display a large banner image on your SuiteCommerce homepage by editing templates and styling CSS accordingly.
To showcase a banner image on the homepage of your SuiteCommerce store, follow these essential steps to ensure your imagery is prominent and effectively styled.
Steps to Display a Large Banner Image
-
Prepare Your Image: Save your desired banner image as a
.jpgfile, specifically namedprices.jpg. If you do not have an image ready, you can create a screen capture of a sample image. -
Upload the Image: Place the
prices.jpgfile in your local workspace directory underassets/img. -
Edit the Homepage Template: Open the homepage template located at
Modules/Home@sc-<release>/Templates/home.tpl. Insert the following HTML snippet just above the slider section:html<div class="home-banner-prices"><img class="home-banner-prices-image" src="{{getThemeAssetsPath (resizeImage 'img/themepricesoutofthisworld.jpg' homeslider)}}"></div> -
Save Changes and Run Gulp: After saving changes to the
home.tplfile, execute the following command to update the site:nonegulp theme:localGulp will add the new image file to the manifest and restart the local server. You can now view your homepage in a web browser to check for updates. For instance, if utilizing
prices.jpg, you should see your updated homepage image. -
Style the Banner for Better Spacing: If the layout appears crowded, you can modify the spacing above the banner image by adjusting the CSS. Open the file located at
Modules/Home@sc-<release>/Sass/_home.scssand add:css.home-banner-prices {margin-top: $sc-margin-lv4;font-size: 0;} -
Final Step: Save the changes made to the
_home.scssfile. The local server continues running, recompiling the site’s files with every save. Once the recompile is complete, refresh your homepage to observe the new spacing adjustments.
Follow these steps to effectively enhance your SuiteCommerce homepage with a visually appealing banner that captures attention without causing clutter.
Frequently Asked Questions (4)
What are the prerequisites for adding a banner image to my SuiteCommerce homepage?
Where should I place my banner image file within the SuiteCommerce project?
How do I update the homepage template to include the banner image?
Is additional configuration in Gulp required after modifying the homepage template and styling?
Was this article helpful?
More in Commerce
- Available Items Only Feature in NetSuite 2026.1
Available items only filtering boosts sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
- Commerce Extensions in NetSuite 2026.1
Commerce Extensions in NetSuite 2026.1 enhance performance and user experience in eCommerce.
- Convert Multiple Transaction Line Items into Configured Items in
Enhance transaction processing in NetSuite by converting multiple line items into configured items with improved session handling.
- New SuiteCommerce Features in NetSuite 2026.1
New SuiteCommerce features in NetSuite 2026.1 enhance user experience and improve eCommerce efficiency.
