PDA

View Full Version : center cart buttons?


! Saltwater Photography
Aug-26-2009, 04:05 AM
Two questions:

(1) Can anybody tell me how to center the "Buy" and "View Cart" buttons on my page below:
http://images.saltwaterphotography.com/Landscapes/The-Beach/1183554_FmX83

(2) I want to display the camera and photo information using the slideshow view. Is it possible to add an extra button for this?

Thanks!

Allen
Aug-26-2009, 07:23 AM
Two questions:

(1) Can anybody tell me how to center the "Buy" and "View Cart" buttons on my page below:
http://images.saltwaterphotography.com/Landscapes/The-Beach/1183554_FmX83

(2) I want to display the camera and photo information using the slideshow view. Is it possible to add an extra button for this?

Thanks!
Your show is sticking to the left because of this. btw, no such thing as align:center;

#bodyWrapper
{background-color: black; width: 920px; text-align:center; align:center;}

add this for that gallery, but might want it for all pages.

#bodyWrapper
{background-color: black; width: 920px; text-align:center;
margin: 0 auto;}


You can force the buttons over with this.

.gallery_1183554 #cartButtonsWrapper {
position: relative;
left: -340px;
}

jfriend
Aug-26-2009, 08:09 AM
You can force the buttons over with this.

.gallery_1183554 #cartButtonsWrapper {
position: relative;
left: -340px;
}

Since there are multiple ways to solve this conundrum and it is an interesting problem, here's a different way:

.gallery_1183554 #albumNav_top div {width: auto !important; float:none !important; text-align:center;}

Allen
Aug-26-2009, 08:13 AM
Since there are multiple ways to solve this conundrum and it is an interesting problem, here's a different way:

.gallery_1183554 #albumNav_top div {width: auto !important; float:none !important; text-align:center;}
Great John, thanks, I'm in the habbit of going for a quick/simple fix and it's not always technically correct.

jfriend
Aug-26-2009, 08:22 AM
Great John, thanks, I'm in the habbit of going for a quick/simple fix and it's not always technically correct. Yours worked fine because it's a fixed width view. I just wanted to see if there was a way to really get it centered.

One thing that annoys me with this problem is Smugmug has unidentified divs (no classname and no ID)that have style hard-wired into them. That is bad for customizers and I assume it should be a no-no since they want to support customizers and it costs nothing to make sure every div has a class or ID. I'm trying to encourage them into changing some of those over here (http://www.dgrin.com/showthread.php?t=136990). They did fix some in the new journal style (new guy who did the new journal style responded immediately), but nobody seems interested for the other ones I've identified.

! Saltwater Photography
Aug-27-2009, 02:45 AM
Thanks guys - this is really helpful - you've made my day! :barb