• Resolved mikeajk

    (@mikeajk)


    I’m trying to limit the titles of my products on the Shop page to one line, I’ve seen a couple people say this bit of code would work:

    .woocommerce ul.products li.product h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }

    But it hasn’t for me, I tried simply changing the font-size for .woocommerce ul.products li.product h3 which didn’t work either. I’m wondering if the problem is that .woocommerce ul… is no longer the correct class or something?

    Another couple requests/things I’m trying to do are:

    1) How would I resize Action buttons on a user’s Order’s page in My Account (View, Cancel, etc) or make sections/columns in the table wider? I have a decent understanding of CSS, but often struggle to parse through the WooCommerce code and determine what an element is called or where it is and thus how to change it.

    2) The “Add to Cart” button when clicked and successfully adds to cart shows a checkmark, is there a way to make it so “Add to Cart” becomes “Added to Cart” when clicked and the product is added?

    If these questions ought to each be asked in a separate post, let me know, but I figured they’re somewhat similar (small CSS changes, maybe Ajax or PHP in the case of “Add to Cart”) so I’d avoid clogging the thread with multiple posts. I appreciate any help

Viewing 1 replies (of 1 total)
  • Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @mikeajk

    The requests you’re looking for are more specific to the active theme. For this reason, I’d recommend you make the request on the forum for the active theme or contact the theme author for help. I am sure they can give you guidance on the desired theme styles.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom CSS for Products and Other Small Changes’ is closed to new replies.