Skip to main content

Add to Cart Styling Issue

Comments

5 comments

  • Alex

    Hi,

    Usually, we do not offer any custom code or Custom CSS solutions but I will try to help you. Does the extension you use not add divs with classes you can use? What is the link to your site where we can see this page?

    0
  • Matthew Gracie

    Hi there Alex, 

    Thank you for the response. 

    I am fortunately not needing any custom code or custom CSS solutions. I am able to change the flex direction and justify-content cascade myself. However, the Brizy classes dynamically update which then overrides my styling in the WP customizer once I find the class or selector. 

    Again, the "Add to Cart" element provided in Brizy Pro does not allow one to override CSS styles like the other elements in your builder. I'm merely asking if there is a parent class to the Add To Cart element I can access to do the custom CSS myself. 

    Below is the issue I'm facing with the Add to Cart element in a template for WooCommmerce:



    I completely understand that this feature may not exist yet, hence my request on which class the builder sets for the "Add-to-Cart" element in the builder. I'm happy to tinker away at the flex-direction, but I cannot nail down what the parent element is that atomically sets this element's flex-direction to row. This problem persists in Add-To-Cart instances where the plugin has been disabled, so it is not related to the expansion of WooCommerce features, but the page builder's template. 

    Please let me know if you require further details. 

    Kind regards, 

    Matt

    0
  • Alex

    Hi Matt,

    have you tried to address this class: https://jmp.sh/cB2fJ7e ? Also, not sure if this will help you but you can try,  you could add a separate column just for the "Add to cart" element and then address the items in it: https://jmp.sh/yTOFvxc You can use ">" symbol to address the direct children of the element.

    0
  • Matthew Gracie

    Hi there, 

    I did add a column to see if the child elements would change to the flex-direction I set, but it doesn't work for any of the Add-To-Cart elements used in a template. Do you think the option of directly changing the CSS to element (like the other elements) will come in a future update?

    Thanks again for your response. 

    Matt

    0
  • Alex

    Hi Matt,

    I will add this to our feature request list and discuss the future implementation with the team.

    0

Please sign in to leave a comment.