4 product images in product slider gallery, not 3

This topic has 10 replies, 2 voices, and was last updated 8 years, 6 months ago ago by Jack Richardson

  • Avatar: armanchicago
    armanchicago
    Participant
    September 22, 2015 at 19:37

    hi, please see here:
    https://www.evernote.com/shard/s201/sh/ceac3bf9-5dad-42bb-96f4-19ed16d5ef25/74441913e3ae0275

    It looks like 4 image thumbnails will fit instead of 3, is there an easy way to adjust this?

    thanks

    9 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 23, 2015 at 08:58

    Hello,

    In this case you need edit the file wp-content/themes/royal/woocommerce/single-product/product-thumbnails.php (line 40) and change “3” to “4” in the code $columns = apply_filters( 'woocommerce_product_thumbnails_columns', 3 );.

    Best regards,
    Jack Richardson.

    Avatar: armanchicago
    armanchicago
    Participant
    September 25, 2015 at 23:13

    hi, I am using a royal child, I copied the file into the folder for /royal-child/woocommerce/single-product/

    it didn’t work when I made the change.

    then I tried modifying the core theme file in /royal/woocommerce/single-product – that also did not work

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 28, 2015 at 08:55

    Hello,

    Please provide us with FTP and WP Dashboard credentials in private content.

    Best regards,
    Jack Richardson.

    Avatar: armanchicago
    armanchicago
    Participant
    September 28, 2015 at 16:48

    added in private

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 29, 2015 at 09:10

    Hello,

    The credentials to cpanel are incorrect, but we were able to connect to your files via FTP.
    Please specify the directory where your files are located and provide us with WP Dashboard credentials too.
    Thank you.

    Best regards,
    Jack Richardson.

    Avatar: armanchicago
    armanchicago
    Participant
    September 29, 2015 at 23:43

    thanks, they are in the normal wp-content/themes/royal-child folder in ftp

    wp credentials in private

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 30, 2015 at 15:58

    Hello,

    Please add this code in child style.css file:

    #product-pager {
        width: 415px !important;
    }

    and check thumbnails slider then.

    Thank you.

    Best regards,
    Jack Richardson.

    Avatar: armanchicago
    armanchicago
    Participant
    October 7, 2015 at 22:38

    HI still not working, putting login in private

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 8, 2015 at 08:27

    Hello,

    I’ve also added this code in Global Custom CSS:

    #product-pager .owl-item {
      width: 100px !important;
    }

    Please check now.

    Best regards,
    Jack Richardson.

  • Viewing 10 results - 1 through 10 (of 10 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.