Customizing "Buy" menu
markstreetphotography
Registered Users Posts: 7 Beginner grinner
I want to turn off the fly-up menu that appears when one clicks "buy now" from a light box image. This menu contains links such as "create a card", "photos in this gallery", etc. If it can't be turned off, is there a way to delete the links that read "photos in this gallery" and "create a card"?
I would also like to change the text in the flyout navigation that reads "this photo" to "this artwork". Is that possible?
You can see the button I'm referring to here:
http://sebastianograssoart.smugmug.com/Art-For-Sale/PaintingsForSale/i-4KShrWQ/A
Thanks!
I would also like to change the text in the flyout navigation that reads "this photo" to "this artwork". Is that possible?
You can see the button I'm referring to here:
http://sebastianograssoart.smugmug.com/Art-For-Sale/PaintingsForSale/i-4KShrWQ/A
Thanks!
0
Comments
Other products can be removed by not pricing anything from the "other products" category.
I don't know how to remove "photos from this gallery", hopefully someone else will jump in with the answer.
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
I want to turn off the fly-up menu that appears when one clicks "buy now" from a light box image. This menu contains links such as "create a card", "photos in this gallery", etc. If it can't be turned off, is there a way to delete the links that read "photos in this gallery" and "create a card"?
I would also like to change the text in the flyout navigation that reads "this photo" to "this artwork". Is that possible?
You can see the button I'm referring to here:
http://sebastianograssoart.smugmug.c...le/i-4KShrWQ/A
Thanks!
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
Thank you for answering the question about the "create a card" and "other products". Seems easy enough.
My client is mostly concerned with the "Photos from this gallery" as he feels that it is a cumbersome user interface and most people will not be buying an entire gallery of his paintings/prints.
I'm wondering why SmugMug wouldn't have a simpler way of not offering the ability to buy every thing in a gallery. It seems that it would be a common request.
Please check out my gallery of customisations for the New SmugMug, more to come!
Please check out my gallery of customisations for the New SmugMug, more to come!
If not, can I change the text from "This Photo" to "This Print"? Although it seems silly for them to have to click a button and then click a fly-out with one item in it.
You can pull the same trick to rename the header of the buy dialog that pops up:
Please check out my gallery of customisations for the New SmugMug, more to come!
Please check out my gallery of customisations for the New SmugMug, more to come!
Thanks. Got that. One last question. Can you tell me what the CSS would look like if I wanted to change more than one of the menu items under the Buy Button. I'd like the first to be "Digital Download", the second "Multiple Downloads", and the third "Print Packages"?
Ah! I got it. Nice to finally figure something out on my own. Just had to inspect the menu items and saw that the second item was #Buyphotos. Copied your original code and made the slight mod.
Thanks for your time! This is going to help avoid some confusion my customers were having. Really appreciate all that you do in the forum!
Bob
Could really use your help! Am using the following CSS code based on our thread above. It works fine on Safari and Chrome on the Mac, but on IE 9 under Windows, when the user clicks the Buy button, the drop down opens up but there is no text visible and nothing is clickable. With Firefox on Windows, the text shows up, but it is left justified instead of right and runs off the window edge on the right.
This is in the CSS block for a gallery that has been made unique:
.sm-widget-text{color:#f4fa58!important}
#BuyPhoto a {
visibility: hidden;
word-spacing:-999px;
letter-spacing: -999px;
}
#BuyPhoto a:after {
visibility: visible;
word-spacing:normal;
letter-spacing:normal;
content: "Digital Download";
}
#BuyPhotos a {
visibility: hidden;
word-spacing:-999px;
letter-spacing: -999px;
}
#BuyPhotos a:after {
visibility: visible;
word-spacing:normal;
letter-spacing:normal;
content: "Multiple Downloads";
}
#BuyPackage a {
visibility: hidden;
word-spacing:-999px;
letter-spacing: -999px;
}
#BuyPackage a:after {
visibility: visible;
word-spacing:normal;
letter-spacing:normal;
content: "Prints & Merchadise";
}
my site is www.arderykellsportsphoto.com and a link to a gallery running this code is below:
http://www.ardreykellsportsphoto.com/Graduati/2014-Diplomas/Ms-Tolivers-Homeroom/i-CB83WJ9
I tried, but didn't manage to get it working properly on Internet Explorer, so I guess you had better scrap it.
Please check out my gallery of customisations for the New SmugMug, more to come!
I'm going to see if IE 10 has the same issue. I'll have to load a copy first.
Thanks for trying!
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
Nick,
I was simply poking around and wonder if this means anything to you when the following occurs:
When I change your original code from:
#BuyPhoto a {
visibility: hidden;
word-spacing:-999px;
letter-spacing: -999px;
}
#BuyPhoto a:after {
visibility: visible;
word-spacing: normal;
letter-spacing: normal;
content: "Digital Download";
}
To this (just added a : in the first line
#BuyPhoto a: {
visibility: hidden;
word-spacing:-999px;
letter-spacing: -999px;
}
#BuyPhoto a:after {
visibility: visible;
word-spacing: normal;
letter-spacing: normal;
content: "Digital Download";
}
My replacement words for the choice "This Photo" shows up in IE, but so does the original "This Photo". I can change "after" to "before" and can get "Digital Download" to show before "This Photo", but I just cannot figure out how to make the words "This Photo" disappear. I'm not well versed enough in CSS to understand what the significance of that extra ":" is.
Any thoughts?
Thanks for any time you can give to this!
Bob