Is there a way to center the buy button?

Lou GonzalezLou Gonzalez Registered Users Posts: 413 Major grins
edited January 29, 2014 in SmugMug Customization
I would like to center the Buy Button (and slideshow button) above the main photo in Smugmug gallery view?

Is there a way via CSS? I tinkered with it but couldn't figure it out. I searched the forum and didn't see a thread for this.

Any help is appreciated.

Comments

  • jwashburnjwashburn Registered Users Posts: 476 Major grins
    edited January 29, 2014
    I would like to center the Buy Button (and slideshow button) above the main photo in Smugmug gallery view?

    Is there a way via CSS? I tinkered with it but couldn't figure it out. I searched the forum and didn't see a thread for this.

    Any help is appreciated.

    Play with this. Change the 25% number to suit your needs. The problem is with different sized screens its going to be in a slightly different place.

    .sm-gallery-header .sm-gallery-headerbuttons {
    right: 25%;
    }

    If you want to just move it off the right side a bit try it like this

    .sm-gallery-header .sm-gallery-headerbuttons {
    right: 15px;
    }
  • Lou GonzalezLou Gonzalez Registered Users Posts: 413 Major grins
    edited January 29, 2014
    jwashburn wrote: »
    Play with this. Change the 25% number to suit your needs. The problem is with different sized screens its going to be in a slightly different place.

    .sm-gallery-header .sm-gallery-headerbuttons {
    right: 25%;
    }

    If you want to just move it off the right side a bit try it like this

    .sm-gallery-header .sm-gallery-headerbuttons {
    right: 15px;
    }

    That is so much better! Thank you so much! thumb.gif
Sign In or Register to comment.