Single Product Page Lightbox - by gurhan

This topic has 9 replies, 4 voices, and was last updated 8 years, 11 months ago ago by Robert Hall

  • Avatar: gurhan
    gurhan
    Participant
    May 4, 2015 at 05:46

    I found this thread about the single product page lightbox –> https://www.8theme.com/topic/lightbox-disable/#post-57521

    1. deleted the following code from woo.php.
    2. turned off the lightbox option in the theme options
    3. turned on the lightbox option in the woocommervce

    yet the lightbox is still not functioning properly, and also a little picture appears inside of the product picture?

    // **********************************************************************//
    // ! Remove Default STYLES
    // **********************************************************************//
    
    add_filter( ‘woocommerce_enqueue_styles’, ‘__return_false’ );
    add_filter( ‘pre_option_woocommerce_enable_lightbox’, ‘return_no’); // Remove woocommerce prettyphoto
    
    function return_no($option) {
    return ‘no';
    }
    8 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    May 4, 2015 at 08:18

    Hello,

    The link you provided in private content gives 404 error. Please provide us with correct url and FTP credentials for the site http://www.classicaladdiction.com.

    Regards,
    Eva Kemp.

    Avatar: gurhan
    gurhan
    Participant
    May 4, 2015 at 08:27

    I can see it ok…

    here’s the wp backend

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    May 4, 2015 at 09:52

    Hello,

    Please provide us with correct FTP credentials as well.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: gurhan
    gurhan
    Participant
    May 4, 2015 at 10:42

    These credentials will put you into the directory where Royal Theme is residing. Let me know if you need access anywhere else, as I need to ask the client.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    May 4, 2015 at 17:04

    Hello,

    Zoom effect isn’t working correctly that’s why a little image is shown inside of the main image.
    To make zoom effect work correctly you need upload image with approximate dimensions 1425px × 1900px.
    I’ve enabled lightbox in Theme Options > Single Product Page and it’s working fine.
    If you worry about small image that loads in lightbox window, you should upload high resolution image.

    Regards,
    Eva Kemp.

    Avatar: gurhan
    gurhan
    Participant
    May 5, 2015 at 07:35

    Eva,

    We would like to change that little icon that indicates the lightbox on single product pages. Can you please let us know where it is so we can substitute another one…

    Thank you!

    Avatar: Brian Johnson
    Brian Johnson
    Member
    May 5, 2015 at 07:52

    Hello

    If you mean “larger photo” button you may find it in /wp-content/themes/beauxarts/images/btn_largerphoto.gif
    Would you mind to provide us with screeshot of that button in case you mean something else?

    With best regards
    Brian Johnson

    Avatar: Robert Hall
    Robert Hall
    Support staff
    May 5, 2015 at 07:55

    Hello,

    In this case you need add code in custom.css file.
    Change color:

    .product-lightbox-btn{
      background: red;
    }

    Change size:

    .product-lightbox-btn{
    height:50px;
    widht:50px;
    }
    .product-lightbox-btn:before{
    line-height: 46px;
    }

    Regards,
    Robert Hall.

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.