Product title wide add to cart button - by Rsalaberte

This topic has 8 replies, 2 voices, and was last updated 9 years, 1 months ago ago by Eva Kemp

  • Avatar: Rsalaberte
    Rsalaberte
    Participant
    February 26, 2015 at 22:03

    Hi guys,
    Just wondering if someone can help me with this issue. I am importing products from amazon and also throught a crown job I´m updating product titles, atributes, stocks etc.
    Is there a way to resize or make the product to adjust automaticly if the title is longer than usual?
    If you have a look at the featured and new products on the index page of my website you will understand what I am saying.

    Can someone help me with this issue please
    Regards

    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    February 26, 2015 at 23:56

    Hello,

    You can refer to this article to modify woocommerce configuration:
    http://www.designmaz.net/how-to-short-woocommerce-products-title/

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Rsalaberte
    Rsalaberte
    Participant
    February 27, 2015 at 18:39

    Hi Eva,
    First of all thanks very much for the fast reply.
    I can´t implement what they suggested in this tutorial because on my woocommerce content-product.php does not show the same code. by saying that, I am really not looking for something to the shop page. On there does not mather the lenght of the title, always display well.
    I need a solution for the Featured products and New products sliders, because is only there that if the title is too long the add to cart button goes down and user cannot see it.
    Is not there a way to resize the slider to a diferent height? this way I can adjust the slider height to show everything if the title is to long.
    Appreciate if you can help me.
    Regards
    Renato

    Avatar: Eva
    Eva Kemp
    Support staff
    February 27, 2015 at 20:13

    Hello,

    Sorry, but featured products are related to all other products and reducing the title, it will be changed for other products on Shop page too.
    Do you agree with it?
    Please provide us with FTP and wp-admin panel credentials in Private Content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Rsalaberte
    Rsalaberte
    Participant
    March 2, 2015 at 14:56

    Hi Eva,
    Is there a way to resize the slider to a diferent height? this way I can adjust the slider height to show everything if the title is to long. I know that if I changed the title will show the same on the shop page. No problem at all with that.
    If is not possible to change what I´m asking, I prefer shortening the titles manualy and not update title info throught the crown job that is set on my server.
    Just one other question. I´ve tried to upload a background but is not showing, Any ideias why this is happening?
    Appreciate your help once again.

    Avatar: Eva
    Eva Kemp
    Support staff
    March 2, 2015 at 15:06

    Hello,

    You can try to add this code in custom.css file to increase the slider height and product title height:

    .product-slider .carousel {
       height: 430px !important;
    }
    .product-slider .product-slide .product-name {
        height: 80px;
    }

    To create custom.css you need rename default.custom.css to custom.css in wp-content/themes/blanco directory via FTP and enable it in Blanco – Theme Settings, tick “Enable Custom CSS file”.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Rsalaberte
    Rsalaberte
    Participant
    March 2, 2015 at 21:02

    Hi Eva,
    Was exactly this that I had in mind, great job.
    Thanks again

    Avatar: Eva
    Eva Kemp
    Support staff
    March 3, 2015 at 11:13

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘Product title wide add to cart button’' has been successfully resolved, and the topic is now closed for further responses

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