Options

Hide Buy Button in keyword searches

dennismullendennismullen Registered Users Posts: 709 Major grins
edited September 15, 2013 in SmugMug Customization
Is there a way to not have the Buy Button show in keyword searches and the Popular page.
I only want the Buy Button on galleries I select.

I have the buy option disabled in the galleries I do not want it shown but those pictures show up in searches and the Popular page with a buy button.

Cheers,
See my gallery at http://www.dennismullen.com

Comments

  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited September 15, 2013
    Is there a way to not have the Buy Button show in keyword searches and the Popular page.
    I only want the Buy Button on galleries I select.

    I have the buy option disabled in the galleries I do not want it shown but those pictures show up in searches and the Popular page with a buy button.

    Cheers,
    This should remove them from system pages including their lightboxes.
    Did not see one on the keyword results page, only in its lightbox.

    .sm-page-gallery-date .sm-lightbox-buy-button,
    .sm-page-gallery-date .sm-gallery-buymenu,
    .sm-page-date .sm-lightbox-buy-button,
    .sm-page-gallery-keyword .sm-lightbox-buy-button,
    .sm-page-gallery-popular .sm-gallery-buymenu,
    .sm-page-gallery-popular .sm-lightbox-buy-button
    {display:none;}
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    dennismullendennismullen Registered Users Posts: 709 Major grins
    edited September 15, 2013
    Allen wrote: »
    This should remove them from system pages including their lightboxes.
    Did not see one on the keyword results page, only in its lightbox.

    .sm-page-gallery-date .sm-lightbox-buy-button,
    .sm-page-gallery-date .sm-gallery-buymenu,
    .sm-page-date .sm-lightbox-buy-button,
    .sm-page-gallery-keyword .sm-lightbox-buy-button,
    .sm-page-gallery-popular .sm-gallery-buymenu,
    .sm-page-gallery-popular .sm-lightbox-buy-button
    {display:none;}


    I put the code in the entire site CSS and it fixed the Popular.
    However all the Keyword searches still have a Buy Button.

    Any ideas?
    See my gallery at http://www.dennismullen.com
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited September 15, 2013
    I put the code in the entire site CSS and it fixed the Popular.
    However all the Keyword searches still have a Buy Button.

    Any ideas?
    I can't find a buy button anywhere, got a link to one?
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    dennismullendennismullen Registered Users Posts: 709 Major grins
    edited September 15, 2013
    I got it to work by adding the line...


    .sm-page-gallery-date .sm-lightbox-buy-button,
    .sm-page-gallery-date .sm-gallery-buymenu,
    .sm-page-date .sm-lightbox-buy-button,
    .sm-page-gallery-keyword .sm-gallery-buymenu,
    .sm-page-gallery-keyword .sm-lightbox-buy-button,
    .sm-page-gallery-popular .sm-gallery-buymenu,
    .sm-page-gallery-popular .sm-lightbox-buy-button
    {display:none;}
    See my gallery at http://www.dennismullen.com
  • Options
    dennismullendennismullen Registered Users Posts: 709 Major grins
    edited September 15, 2013
    Thanks Allen.
    See my gallery at http://www.dennismullen.com
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited September 15, 2013
    The Recent button on my Menu is a link to a keyword search and the Keyword button on my Menu is a list of all my keywords.

    www.dennismullen.com

    Cheers,
    I was to both of those but probably just after you made the final change to fix it.
    Al - Just a volunteer here having fun
    My Website index | My Blog
Sign In or Register to comment.