schoumi26 Posted April 14, 2016 Share Posted April 14, 2016 Hello, How can I remove the links <a> my breadcrumb ? I would like it to appear but the client can not click on the categories . PrestaShop 1.6.1 Thank you David Link to comment Share on other sites More sharing options...
schoumi26 Posted April 15, 2016 Author Share Posted April 15, 2016 Someone to help me ? Link to comment Share on other sites More sharing options...
MEG Venture Posted April 16, 2016 Share Posted April 16, 2016 Hi 1. Open themes>default-bootstrap>breadcrumb.tpl 2. Find below <a itemprop="url" '|@replace:'data-gg="">': '> 3. Replace with below <a class="not-active" itemprop="url" '|@replace:'data-gg="">': '> 4. Find below <a href="{$smarty.capture.default|escape:'html':'UTF-8'|secureReferrer|regex_replace:'/[\?|&]content_only=1/':''}" name="back"> 5. Replace with below <a class="not-active" href="{$smarty.capture.default|escape:'html':'UTF-8'|secureReferrer|regex_replace:'/[\?|&]content_only=1/':''}" name="back"> 6. At the end of file, add the below code snippet <style> .not-active { pointer-events: none; cursor: default; } </style> 7. You are done! 8. If you want to remove the home icon link, find the below line <a class="home" href="{if isset($force_ssl) && $force_ssl}{$base_dir_ssl}{else}{$base_dir}{/if}" title="{l s='Return to Home'}"><i class="icon-home"></i></a> 9. Replace it with below <a class="home not-active" href="{if isset($force_ssl) && $force_ssl}{$base_dir_ssl}{else}{$base_dir}{/if}" title="{l s='Return to Home'}"><i class="icon-home"></i></a> Regards... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now