Breadcrumb Changes
I wanted to give you a heads up to some minor updates that we'll be making, as early as tomorrow (Thursday, Aug 31), to the breadcrumbs found across SmugMug.
The "breadcrumb" is used to notify a viewer where in your site hierarchy they are. It starts with the home icon and then lists the folders and galleries that the current page is located within. Breadcrumbs are used all over SmugMug and in some cases didn't all look the same.
We've cleaned up some of the underlying infrastructure to make all the breadcrumbs similar, as well as improve the visual display of the breadcrumbs. For most of you, you may not notice the update, as this update was meant to mostly clean up and simplify things.
For some of you, who have customized your breadcrumbs with custom CSS, your changes will no longer work and the breadcrumb will return to its default state.
I've put together a list of CSS examples in the replies below this post which will show the old CSS and how to update it to work. We've combed through the most frequent customizations and should offer some help on how to fix your CSS (for the most part it's very minor tweaks to the CSS).
(cc @Allen, @denisegoldberg, @Hikin' Mike, @Ferguson, @ChancyRat, @jerryr, @Lille Ulven, others...)
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Comments
Thanks for the heads-up. I didn't see any negative changes on my site, so that's good for me. I use CSS to hide SM's breadcrumbs on my photos for sale and use custom breadcrumbs to match my WP site. I use SM's breadcrumbs for my family stuff and I didn't see any issues.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Oops -- I forgot to mention that it's not live yet. It should be live as early as Thursday morning (today). I'll let you know when it is.
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Remove Breadcrumb
Old Code
.sm-breadcrumb
is no longer the containing element (what used to be the ul but is now an ol ). Instead, it is now.sm-breadcrumbs
(plural)Corrected CSS
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Change Breadcrumb Color:
Old Code
This changes the color of the entire textual contents of Breadcrumbs (including the separators and the last crumb indicating the current page).
Targeting Breadcrumbs content blocks ONLY:
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Change Breadcrumb Link Color
Very similar to the example above. Targeting just the links can be done using
.sm- breadcrumb-item .sm-button
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Add a Line Under the Breadcrumb
Old Code:
Another minor change -
.sm-breadcrumbs
(plural) instead of.sm-breadcrumb
. Impacts Gallery Cover crumbs, however.Corrected CSS
Without impacting Gallery Cover crumbs:
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Move the Breadcrumb Up
Old Code:
Yet again,
.sm-breadcrumbs
(plural) instead of.sm-Breadcrumb
Corrected CSS
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Thanks for the heads-up, Aaron. I just looked at the CSS for my account and breadcrumb had already been changed to breadcrumbs (plural), and so far everything looks fine. I'm guessing it must be live, or the plural would have broken the display. Right?
Let me add my thanks too for the very prompt, very timely announcement. I found I needed one tiny patch to my CSS.
Thanks for the heads up. I didn't notice anything different, but switched to the plural just in case.
Website
The breadcrumb changes are now live.
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
I'm noticing a change that I didn't expect. With the gallery cover image on I am now seeing the gallery title both in the breadcrumb and in the cover image. Before this change the title only showed in the cover image. I much prefer the previous behavior, showing the gallery title only once, in the cover image.
Is this duplication expected?
Musings & ramblings at https://denisegoldberg.blogspot.com
The duplication is not intended. We tested this thoroughly prior to release but appears to have snuck through when it went live. The
Current Page
in the Breadcrumb Content Block should be automatically hidden. I also caught this and we're hoping to have a fix for it in the morning.Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
I need to remove the huge gallery title in the breadcrumb. It also shows in the description as the sm-gallery-cover-title.
<h1 class="sm-gallery-cover-title">Fungi</h1>
Assume this would do it?
.sm-page-widget .sm-breadcrumbs h1 {display:none}
My Website index | My Blog
Allen -
Based on leftquark's response to my comment about this (the two entries above yours) it sounds like the gallery title in the breadcrumb duplicating the title in the cover image will be fixed today.
Musings & ramblings at https://denisegoldberg.blogspot.com
Thanks for the information & update -- once I changed to the plural, everything is back to what I wanted/expected
www.acecootephotography.com
That's what it sounded like.
Thanks
I've looked through all my CSS and only found a couple "breadcrumb" mentioned.
I did notice that the breadcrumb looks ridiculous on my iPhone.
My Website index | My Blog
Anyway to get rid of the little house icon now?
Used to be;
/* breadcrumb */
.sm-breadcrumbs .sm-fonticon-Home
{
display:none;
}
I tried making it plural but that didn't do it.
Website
Hi Allen,
It worked for me. The first thing that struck me this morning was bad the extra large title at the end of the breadcrumb was and how unnecessary it was. I like the additional changes to the breadcrumbs and now with this I think it is perfect for me.
Thanks!
http://www.beautifulworld.photography/
http://www.karthikraja.blog
You can get rid of the home icon by itself using
However, the carrot (">") will still remain. To get rid of both:
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Perfect, thank you much!
Website
What would be the new code for making the breadcrumb font-size larger? My breadcrumbs are too small now. The font size is supposed to be 22px. This is the CSS code I have:
/* Change the Font Size of the Breadcrumb */
.sm-breadcrumb {
font-size: 22px;
}
What would be the new code now to get it back to 22px?
Thank you for your answer.
-Karen
www.imaginelivecapture.com
Try it with the "s" on sm-breadcrumb.
.sm-breadcrumbs {
font-size: 22px;
}
My Website index | My Blog
Thank you Allen. I did add the "s". However, the home font icon (house) is no longer aligned with the breadcrumb. See screenshot #1. Any idea how to fix it? Also, when I go into a folder, the name of the folder is small, while the name of the gallery is large. Any idea how to fix that as well? See screenshot #2.
Thank you!
-Karen
www.imaginelivecapture.com
Any status on this one? I'd prefer not to add CSS to change something that you're going to fix soon.
Musings & ramblings at https://denisegoldberg.blogspot.com
Your second shot is in a gallery not folder. The gallery name is suppose to be removed from the breadcrumb by Smug because it's also shown on the gallery description.
My Website index | My Blog
The fix is live
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Thank you, looks much better!
Musings & ramblings at https://denisegoldberg.blogspot.com
Thanks for the heads-up, @leftquark (though I didn't see it...). Got to go and find out what changes I had made, I suppose
Hm...slightly weird: I had to remove the plural -s from the breadcrumbs in my customizations in order to get the colors back...strange things happen, I guess.
Having been away from SmugMug for a while, I find on my return that my CSS formatting of breadcrumbs no longer works.
I have just discovered Aaron's post from last month reporting a revision of the SmugMug coding, but I have not been able to make effective modifications to my CSS.
My old code was:
I posted my problem on the SmugMug Customisation forum a couple of days ago but had no response. I hope that I am not out of order in repeating my post on this forum. What am I missing in not managing to restore the required formatting with the new code? I shall be most grateful for expert help here. Thank you in advance.
http://www.lyall-photos.net/