Buy Photos Button
PhilCorleyPhoto
Registered Users Posts: 107 Major grins
Is it possible to customise the **Buy Photos **button at the top of the Galleries?
I feel it is too "in your face" when viewing and I would like to reduce it to just Icon & Buy; or even just **Icon **- and change the color.
Can this be done?
Thanks
Phil
0
Comments
Add this to your theme's CSS. That changes the button to red and removes the text leaving the icon only.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks Mike
Is it possible to change the text as well (e.g., change it to just Buy) ?
This will just show 'Buy'
This will show the icon and 'Buy'
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Excellent - Thanks yet again Mike !
Don't suppose there is anyway to change the case to proper; instead of upper. i.e., so it shows Buy instead of BUY. Fussy I know, but that is me
Just type 'BUY' instead of 'Buy' here:
content: 'Buy';
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Hi Mike,
The problem is it always shows BUY - even if Buy is entered. What I am trying to get is for it to show as Buy
Any ideas?
Thanks
Phil
Are you talking about the buy button in the gallery header? I suspect they must be up-casing.
@leftquark has a post in his customizations pages that shows how to change the text - http://www.aaronmphotography.com/Customizations/Gallery/Buttons/Add-to-Cart-Button.
I just looked at his site and it appears that he is using the customization. Even though the CSS on the Add-to-Cart-Button page shows with mixed case the text in the buy button on his site still shows as all caps.
Did you intend to allow purchases from your site? Because as a viewer, I don't see a buy button at all. You will always see a buy button when you are logged in, but you will need to turn the visitor shopping cart on in your gallery settings if you want it to be available to visitors.
Musings & ramblings at https://denisegoldberg.blogspot.com
The buy button in Collage style galleries can always be customized using the Customizer (to select "Button", "Icon" or "Button Icon") without CSS. For SmugMug style, you'll need to use CSS to customize it as Mike/Denise pointed out.
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Hi Denise - yes I intend allowing buying but not turned it on yet. Still need to work out the selling aspects and the delayed proof option (as I don't upload full sized images)
Hi leftquark - I am not connected at the moment to test this, but when I tried it didn't seem to affect the Buy Photos button in the Collage Landscape gallery; but I will check later.
Thanks
Phil
@leftquark - Changing the options in the customizer doesn't change the "Buy Photos" button (top-right of the gallery). It does change the button displayed with each image.
Unless I am missing something, you do need CSS code to change the button and text.
Is it possible to stop the "Buy Photos" text being converted to upper case ?
Thanks
Phil
Aaron, just a heads up: The "Hide the Buy Photos text" customization at your website did not work for me; Hikin' Mike's CSS above worked perfectly.
Hmmm... that's strange, I just looked and that's the exact code I use on my own site to change the Buy Photos text.
Are you talking about "hide" or "change" the buy photo text?
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
My goal is "hide," but I couldn't get either "hide" or "change" to work. My original theme looked like this:
When I copy-and-pasted the CSS from Buttons/Add-to-Cart-Button to my Theme->Advanced CSS, I see:
Example here:
http://pix.alameth.org/School/Homestead-2017/Pops-Wind-Ensemble/
and here's a gallery with Hikin' Mike's CSS:
http://pix.alameth.org/School/Homestead-2017/Winter-Percussion-Dublin/
Ahhh, found my small error.
.sm-gallery-cover-buy-button span:nth-of-type(2)
should have been.sm-gallery-cover-buy-button span:nth-of-type(1)
I've updated your "Homestead Pine" theme to have the fixed CSS and it looks like it's working. Thanks for pointing this out! I've updated the Customization page as well.
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Good stuff, thank you!
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk