• Hi,
    
    After updating the Kadence theme I use on my site days ago, I found this unaligned text in the Add To Cart button on the WooCommerce product page.
    
    See pic here <a href="https://snipboard.io/1qsm32.jpg" rel="noopener" target="_blank">https://snipboard.io/1qsm32.jpg</a>. 
    
    By deactivating the StoreCustomizer plugin the button is back to normal.
    
    See pic here <a href="https://snipboard.io/u8cjNv.jpg" rel="noopener" target="_blank">https://snipboard.io/u8cjNv.jpg</a>.
    
    Before the theme update, the button was showing perfectly even with StoreCustomizer active.
    
    Inspecting the button attributes via Chrome’s dev tool, I’ve found out that the following line was responsible for the problem : padding: 10px 20px 11px !important;
    
    (… body.wcz-btns.wcz-woocommerce.wcz-wooblocks ul.wc-block-grid__products li.wc-block-grid__product .add_to_cart_button{font-size:14px;font-weight:700;border-radius:3px !important;<ul>
    padding:10px 20px 11px !important;</ul>
    
    }body.wcz-btns.wcz-woocommerce ul.products li.product a.button, …)
    
    The button is placed on a page which uses a shortcode, so I’m unable to edit it directly through the WP editor. I’d like to know how to erase/disable this line of code. I’ve already tried to edit the page through phpMyAdmin and File Manager, but couldn’t find where exactly the code is stored (I checked wp_posts and found nothing there, wrong place?)
    
    I’ve tried to reach StoreCustomizer and WooCommerce support but I’ve got no answers, so I’m asking for help here - sorry if it’s not the appropriate forum, not sure whether it’s a Kadence issue. Some guidance would be most appreciated. 
    
    Thanks.
    
    Vitor
    
    (updated) Kadence theme 1.1.30 | WooCommerce 6.9.4 | WordPress 6.0.2 | PHP 7.4.30 | Hostinger
    • This topic was modified 2 years, 5 months ago by vmenescal. Reason: Hard to read.... sorry!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • hannah

    (@hannahritner)

    Hi Vitor,
    Apologies for the delay! When I view your site the button text seems to be aligning as it should. Were you able to resolve this? Be sure you’ve cleared your cache.

    Kindly,
    Hannah

Viewing 1 replies (of 1 total)
  • The topic ‘Unaligned button text after theme update’ is closed to new replies.