OpenCart Tips and Tricks · 1 min read · Updated

Bold the last breadcrumb element in the opencart, custom breadcrumb in opencart

breadcrumb

Custom breadcrumb in opencart

Just insert the code below in the footer.tpl and the last breadcrumb will be bold as in the image above

<script type="text/javascript">// <![CDATA[
$(document).ready(function () {
$(".breadcrumb a:last-child").css('font-weight','bold');
});
// ]]></script> 

Rupak Nepali
Written byRupak Nepali

Rupak Nepali is a web developer, manage Webocreation website and the author of six books:
Getting Started with OpenCart Module Development (Packt, 2013),
OpenCart Theme and Module Development (Packt, 2015),
OpenCart 4: Dev Guide for Themes & Extensions (2024),
OpenCart 4: User Manual (2025),
Cloudflare for the Enterprise Website (2026) and
The Technical Web Guide for Marketers (2026).
Rupak has built OpenCart stores and extensions since 2010, has published more than 600 tutorials on Webocreation, and shares free OpenCart extensions on GitHub.
Find Rupak on
GitHub | Amazon | LinkedIn | X | YouTube.

1 comment

Leave a Reply

Your email address will not be published. Required fields are marked *