Thumbnail Auto Crop - by macamrstudios - on WordPress WooCommerce support

This topic has 19 replies, 3 voices, and was last updated 6 years ago ago by Rose Tyler

  • Avatar: macamrstudios
    macamrstudios
    Participant
    March 13, 2018 at 15:01

    Hi – I would like to disable the auto-cropping that happens when you use the Product carousel asset. I would prefer to instead show the entire image, just as you do when you use the brand carousel asset.

    Also – is it possible, within the brand carousel asset, to show both the thumbnail AND the brand name?

    Ref: http://macamrstudios.com/production/verne/

    At the very least, can you point me to the right file, class to modify?

    Thanks in advance
    – Michael

    18 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 13, 2018 at 17:46

    Hello,

    1) Follow theme documentation https://xstore.helpscoutdocs.com/article/89-product-images
    2) We don’t have such option at this moment but you may customize the element (xstore/framework/shortcodes/brands.php) If you provide us with FTP and Dashboard access to your site we can help with this minor customization and would be grateful if you give us 5-stars on ThemeForest after that 😉

    Regards

    Avatar: macamrstudios
    macamrstudios
    Participant
    March 15, 2018 at 21:56

    Hi

    I have provided you the info you requested in the private area below.

    I would additionally like to know if it is easy to format the images/titles like the screen shot below:

    image/title vertical aligment

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 16, 2018 at 13:40

    Hello,

    1. What URL should we use to login? Please provide FTP access also (FTP hostname, FTP username, FTP password).
    2. You can add this code in Custom css for page http://prntscr.com/is0tpu to make the product slider looks better:

    .productCarousel {
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
    }
    .productCarousel .swiper-slide, .productCarousel .swiper-slide .content-product {
       position:  static;
    }
    .productCarousel .product-details {
        position:  absolute;
        bottom:  0;
    }
    .productCarousel .swiper-slide {
        padding-bottom:  52px;
    }

    Regards

    Avatar: macamrstudios
    macamrstudios
    Participant
    March 16, 2018 at 14:09

    sorry – the admin link is below in the private content section. I incorporated the code you sent in regards to the product carousel, and it is almost to the way I need it – if you start scrolling, you will see the errors.

    Thank you for all your help thus far.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 16, 2018 at 15:19

    1. Unfortunately, I can’t login admin panel. Please check.
    Also, without FTP access we can’t do customization in the brand carousel. Ask your hosting provider support to create FTP account to your site files and give us the credentials.
    2. What errors do you mean? Could you please provide a screenshot for better understanding?

    Regards

    Avatar: macamrstudios
    macamrstudios
    Participant
    March 16, 2018 at 16:49

    Info update below – you should be able to log in now.

    Please ignore point 2 for now, however, I am still having troubles displaying the artist name (brand) below the images in brand carousel.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 19, 2018 at 08:45

    Hello,

    We’ve made some changes via your child theme, please check.

    Regards

    Avatar: macamrstudios
    macamrstudios
    Participant
    March 20, 2018 at 01:42

    Hi

    So I see you guys made the adjustments I asked about and they looked great. However, I updated the X Store template (not the child theme) and now the site (admin and front end) no longer functions. I get the following fatal error:

    Fatal error: Cannot redeclare etheme_brands_shortcode() (previously declared in /home/pro1music/webapps/macamrstudios/production/verne/wp-content/themes/xstore-child/functions.php:18) in /home/pro1music/webapps/macamrstudios/production/verne/wp-content/themes/xstore/framework/shortcodes/brands.php on line 126

    Please let me know what changed/broke so I can get the site back up and running. Thank you.

    P.S. You should already have the necessary FTP/admin login credentials I previously sent.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 20, 2018 at 08:35

    Hello,

    Please re-name child-theme folder via FTP, because with our access we can’t do this. Let us know once this will be done.

    Regards

    Avatar: macamrstudios
    macamrstudios
    Participant
    March 21, 2018 at 05:30

    What do you want me to rename it to? What I did in the interim, was to comment out the function you put in the child theme ‘functions.php’ file – so you can now see the site / admin tool, but the artists name option you implemented is now missing.

    Is this what you needed?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 21, 2018 at 08:13

    Hello,

    Thanks. Please check now.

    Regards

    Avatar: macamrstudios
    macamrstudios
    Participant
    March 21, 2018 at 16:57

    great – thank you! Can you tell me what you had to do and will the same thing happen for future theme updates?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 22, 2018 at 08:24

    This won’t happen with future updates. We will add some changes in next theme update to prevent the problem.

    Regards

    Avatar: macamrstudios
    macamrstudios
    Participant
    April 23, 2018 at 04:24

    Hi

    I tried to update the theme to the latest version (4.25) and all hell broke loose. You had provided me some code to help with displaying names under works and applied these to the child theme. After updating to the latest version of x-store (Version: 4.25) the site broke – receiving the following error:

    Fatal error: Cannot redeclare etheme_brands_shortcode() (previously declared in /home/pro1music/webapps/macamrstudios/production/verne/wp-content/themes/xstore-child/functions.php:18) in /home/pro1music/webapps/macamrstudios/production/verne/wp-content/themes/xstore/framework/shortcodes/brands.php on line 126

    After disabling the child theme and simply running the parent theme, the formatting of the footer area displayed all wrong. The footer is now at the top of the page, instead of the bottom where it was before. (see screen shot)

    I managed to roll back to Xstore version 4.21.1 and get the Child Theme back up and running properly, but the footer remains stuck at the top.

    Screen shot of misplaced/broken footer

    The login info is the same and contained below in the private area. Thanks in advance for your help.

    Please, contact administrator
    for this information.
    Avatar: macamrstudios
    macamrstudios
    Participant
    April 23, 2018 at 14:08

    It appears I was able to address the footer issue – for some reason all the widgets were reset and/or moved. I would like to know however, why updating the parent theme to 4.25 broke the site. Any input on that would be greatly appreciated. Thank you.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 23, 2018 at 14:13

    Hello,

    Sometimes, after changing the active theme on site, positions of widgets can be changed (Appearance > Widgets).
    About the Fatal error, we need to be able to take a closer look. Please update the theme and let us know.

    Regards

    Avatar: macamrstudios
    macamrstudios
    Participant
    April 23, 2018 at 16:00

    I updated the theme and at first the site was the site was broken – after refreshing a few times, it appears to (for now) function/look as it should. If anything else pops up, I will write back in. Thank you for your time.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 23, 2018 at 16:12

    Ok. Have a nice day.

    Regards

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