MegRae Posted July 2 Posted July 2 On 6/28/2024 at 3:43 AM, tuanphan said: It looks fine to me. Can you take a screenshot of problem? Its saying the title twice, "Smoke Detector & Fire Alarm Smoke Detector & Fire Alarm"
tuanphan Posted July 5 Posted July 5 On 7/3/2024 at 5:38 AM, MegRae said: Its saying the title twice, "Smoke Detector & Fire Alarm Smoke Detector & Fire Alarm" You can remove this code, I will test it again <script>$(document).ready(function(){ var thisPath = window.location.pathname; var thisPage; var breadcrumbLink; thisPage = $('.blog-item-title').text(); $('.blog-item-top-wrapper').prepend('<div id="breadcrumbNewsArticle"><div><a href="/">Home</a> » <a href="/services">All Services</a> » <span class="truncate">'+thisPage+'</span></div></div>'); }); </script> https://www.brutinel.com/services/smoke-detector-amp-fire-alarm Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
jaker Posted August 29 Posted August 29 Hey, I'm using 7.1 and added the code as discussed above. It works, but when using it inside of a lightbox, it's remembering the previous page. Here's my setup: I added breadcrumbs code to a blog (code works perfectly directly in blog) Added a summary block of the blog to a page I'm using lightbox anything to turn the summary block into lightbox (Lightbox Anything plugin) so a pop-up opens every time without loading the blog page. When I close one blog lightbox, I can open another. This is where the issue happens. When I close the lightbox and open up the next post, there isn't a reset and a breadcrumb from the first post is showing up in the second post. When I refresh the page, it resets and the breadcrumbs are working correctly again. Here's a Loom showing what's happening. This is the test page that I'm using: goodbrother.tv/test goodbrother.tv
tuanphan Posted September 2 Posted September 2 On 8/29/2024 at 8:29 PM, jaker said: Hey, I'm using 7.1 and added the code as discussed above. It works, but when using it inside of a lightbox, it's remembering the previous page. Here's my setup: I added breadcrumbs code to a blog (code works perfectly directly in blog) Added a summary block of the blog to a page I'm using lightbox anything to turn the summary block into lightbox (Lightbox Anything plugin) so a pop-up opens every time without loading the blog page. When I close one blog lightbox, I can open another. This is where the issue happens. When I close the lightbox and open up the next post, there isn't a reset and a breadcrumb from the first post is showing up in the second post. When I refresh the page, it resets and the breadcrumbs are working correctly again. Here's a Loom showing what's happening. This is the test page that I'm using: goodbrother.tv/test With Lightbox plugin, you will need to add breadcrumb code use Lightbox function Which exact breadcrumb you used? I will test again Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment