Breadcrumb and gallery titles aren't right now

ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
edited June 9, 2016 in SmugMug Customization
I know there was a global change... since my code was customized, I thought I should post a separate thread. (I also confess I couldn't understand the descriptions of the checks and fixes from Aaron's intro post.)

1. I now have two gallery titles in every gallery. I want only my original (which has a background color and other formatting). What do I do to delete the 2nd version that was newly added?

2. My breadcrumb is gone, yet, the breadcrumb content block is still showing in all galleries section of the customizer.

I thought I saw something about the new rules apply only to certain gallery types. I tended to mix gallery styles, but the errors are showing in both:

http://www.joinrats.com/Friends/Gwen/Family-From-Fosters/ [collage portrait example]
http://www.joinrats.com/RatHealth/HindEndWeakness/ [smumug style example]

Thanks!

Comments

  • ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
    edited June 5, 2016
    The 2nd gallery title seems to show in every gallery, no matter how heavily "just this gallery" customization is involved. I'm curious why it shows below my HTML block in this one?

    http://www.joinrats.com/RatBehaviors/BodyLanguageRattyRat/

    And of course how to delete the 2nd (under the block) version, when I have many "just this gallery" galleries.
  • denisegoldbergdenisegoldberg Administrators Posts: 14,373 moderator
    edited June 5, 2016
    Try this CSS to remove the 2nd title:
    .sm-gallery-cover-title {
        display: none !important;
    }
    

    --- Denise
  • ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
    edited June 5, 2016
    Try this CSS to remove the 2nd title:
    .sm-gallery-cover-title {
        display: none !important;
    }
    

    --- Denise

    clap.gifclap.gif
    Thank you, Denise!
    Can't wait for an equally-simple fix to the breadcrumb.
    I should have mentioned that I won't use the cover photo recent new code.... haven't checked all my galleries, so I hope it hasn't populated in any of them...

    While I have you, all my gallery descriptions are now in tiny font size. I had it set to 20 px. Any idea what to do to go back to 20 px?

    iloveyou.gif
  • denisegoldbergdenisegoldberg Administrators Posts: 14,373 moderator
    edited June 6, 2016
    ChancyRat wrote: »
    ...all my gallery descriptions are now in tiny font size. I had it set to 20 px. Any idea what to do to go back to 20 px?.
    Add this to your CSS:
    .sm-gallery-cover-description {
      font-size: 20px;
    }
    
    If that doesn't work (it worked in firebug), add !important.

    --- Denise
  • ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
    edited June 6, 2016
    Thanks, Denise. So I added this:


    .sm-gallery-cover-description {
    font-size: 150%;
    line-height: 140% !important;
    }

    I didn't need to add !important to the font-size.
    However I'm having problems with line-height, which I need to change because the default line height is too wide.

    Here's a gallery where the line height is too small:
    http://www.joinrats.com/RatHealth/Ratexams/Vetratexams/

    Here's a gallery where the default is too wide:
    http://www.joinrats.com/RatHealth/HindEndWeakness/

    Neither have custom code.

    Now that I'm seeing some of the behaviors, additional questions:
    - How do I remove or hide the buy photos button, which distorts what the owner sees while in custom mode?
    - Do I understand that we've lost the description function, and it's all reverted to cover-description?

    - Why does the "read more" thing show up even when there is nothing else to read?
    Example: - but - OOPS - now I don't see the "read more" thing on any of these galleries. ne_nau.gif
    http://www.joinrats.com/RatHealth/HindEndWeakness/
  • Lille UlvenLille Ulven Registered Users Posts: 567 Major grins
    edited June 6, 2016
    The Read-more is supposedly fixed, so that's why you don't see it there anymore :)

    For the buy-button: do you want it to be removed completely from the cover or do you want it only to be removed when you are logged in yourself, but visible if "normal" viewers come to your site?
    Anyway: try this to remove it from the new gallery-cover
    .sm-button.sm-button-size-large.sm-button-skin-default.sm-gallery-cover-buy-button{
    display:none !important;
    }
    

    For your too small line height: you have somewhere a definition of line height for p-tags to be 20px. So increase that and you should be good :)
    For the too wide line height: here actually the
    .sm-gallery-cover-description {
    font-size: 150%;
    line-height: 140% !important;
    }
    
    is used so if you shrink your 140% too something smaller you should be good to go.

    Good luck

    Lille Ulven
    https://www.lilleulven.smugmug.com - The Photos of my travels
  • ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
    edited June 6, 2016
    Lille, you said:
    The Read-more is supposedly fixed, so that's why you don't see it there anymore :)

    Er, um, today it's baaa-cccck. eek7.gif
  • ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
    edited June 6, 2016
    Lille, you said,
    For the buy-button: do you want it to be removed completely from the cover or do you want it only to be removed when you are logged in yourself, but visible if "normal" viewers come to your site?
    Anyway: try this to remove it from the new gallery-cover
    Code:
    .sm-button.sm-button-size-large.sm-button-skin-default.sm-gallery-cover-buy-button{ display:none !important; }

    This isn't working. I put the code in site-wide CSS.

    You are so helpful, I hate having to say something doesn't work. :cry
  • ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
    edited June 6, 2016
    For your too small line height: you have somewhere a definition of line height for p-tags to be 20px. So increase that and you should be good :)
    For the too wide line height: here actually the
    Code:
    .sm-gallery-cover-description { font-size: 150%; line-height: 140% !important; }
    
    is used so if you shrink your 140% too something smaller you should be good to go.

    I'm not sure what you mean about p-tags being 20px? I checked and don't have any p-related code in the site-wide css, or in all galleries. I'm not sure where to look or what problem this would cause? However I did change the height to be 110%, and I think I'm okay now.... After I can hide the buy photos, so that text reverts to normal looking, I'll check again. Thank you!
  • Lille UlvenLille Ulven Registered Users Posts: 567 Major grins
    edited June 7, 2016
    Hi ChancyRat

    Could it be that the buy-button that you see is the one you see when logged in?
    Else could you send me a link to a page where it is visible? I looked though parts of your website, but could not find one...

    Or try this before you send links:
    .sm-button.sm-button-size-large.sm-button-skin-accent.sm-gallery-cover-buy-button {
    	display: none;
    }
    

    If that doesn't work either:
    .sm-gallery-cover-buy-button {
    	display: none;
    }
    

    Good luck

    Lille Ulven
    https://www.lilleulven.smugmug.com - The Photos of my travels
  • sarasphotossarasphotos Registered Users Posts: 3,863 Major grins
    edited June 9, 2016
    Thank you Lille, the first of these last two snippets helped me to get rid of the annoying "owner buy" button. What a relief!

    Now if only we could get the gallery name back in the breadcrumb life would be good!
Sign In or Register to comment.