Allow us to separately style the photo caption in smugmug gallery view

pbandjpbandj Registered Users Posts: 237 Major grins
edited August 8, 2013 in SmugMug Feature Requests
When in the standard smugmug gallery view, I can apply CSS to center the caption, change the font-size, etc., but this also changes the keyword block.

It would be nice to have a separate css class assigned to the photo caption.

Comments

  • thenickdudethenickdude Registered Users Posts: 1,302 Major grins
    edited August 4, 2013
    You could probably do that now with a little tweak to your CSS (e.g. by using p:first-child to select just the caption), what CSS are you using at the moment?

    Regardless, I agree that the caption should have a class applied to it to allow easy styling.
  • pbandjpbandj Registered Users Posts: 237 Major grins
    edited August 4, 2013
    Lamah wrote: »
    You could probably do that now with a little tweak to your CSS (e.g. by using p:first-child to select just the caption), what CSS are you using at the moment?

    Regardless, I agree that the caption should have a class applied to it to allow easy styling.

    Thanks, I had figured that out myself...but yeah...the css should allow that.
  • southeasternphotographysoutheasternphotography Registered Users Posts: 647 Major grins
    edited August 4, 2013
  • GaryBakkerGaryBakker Registered Users Posts: 266 Major grins
    edited August 6, 2013
    +1

    I assume this feature would allow putting html code into captions.
    SmugMug site => The Bakker Chautauqua
    "The difference between stupidity and genius is that genius has its limits." (Einstein)
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited August 6, 2013
    This in "all galleries" CSS controls everything below the main photo in smugmug style. 1st line is the
    comment hack because /**/ comment tags don't work. Remove the keyword line if you don't want it.
    You can add font size and any other parameters you need.
    xxxx caption keyword color,
    .sm-text-mini, 
    .sm-gallery-image-pagination, 
    .sm-tile-keywords .sm-muted, 
    .sm-tile-info p {
      color: #ccc !important;
    }
    
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • GaryBakkerGaryBakker Registered Users Posts: 266 Major grins
    edited August 6, 2013
    Allen wrote: »
    This in "all galleries" CSS controls everything below the main photo in smugmug style. 1st line is the
    comment hack because /**/ comment tags don't work. Remove the keyword line if you don't want it.
    You can add font size and any other parameters you need.
    xxxx caption keyword color,
    .sm-text-mini, 
    .sm-gallery-image-pagination, 
    .sm-tile-keywords .sm-muted, 
    .sm-tile-info p {
      color: #ccc !important;
    }
    

    Hmmm. As I think about it, CSS for captions doesn't accomplish what I want, which is to embed html code within a caption. The specific use cases are:
    a) to include a link to an external (or internal) page.
    b) to highlight a specific word or phrase by bolding/color/etc.

    I guess I'd better create a new feature request for this.
    SmugMug site => The Bakker Chautauqua
    "The difference between stupidity and genius is that genius has its limits." (Einstein)
  • kimbomackimbomac Registered Users Posts: 99 Big grins
    edited August 8, 2013
    Never Mind
    Kimbomac

    (FeaturePhotography.net)
Sign In or Register to comment.