• Hi all,

    I have enabled the add to cart button in my divi functions PHP file. I have also tried it in the editor of my child theme. They both have the same effect.

    I have also added a subtitle function for my product display using ACF and PHP. My problem is without flex, the price is showing before the subtitle. I can change the order of this in flex and it works but it makes my add to cart button stretch the whole width of the space… Without flex in the css, the button is perfect, but adding flex ordering makes it have a heck of a lot of padding on both sides stretching it the full width of the product display.

    I hope that makes sense!

    • This topic was modified 3 years, 1 month ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    Since that is a commercial theme, we ask that you please go to their official support channel, so you can get support from the people who know it best: https://www.elegantthemes.com/contact/

    Forum volunteers are not given access to commercial products, so they would not know why it is not working properly. Other community members who may have faced your issue might be able to help you but your best bet is your product’s developer. Keep in mind we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way.

    Thread Starter shabbyrose

    (@shabbyrose)

    It isn’t really about the theme though. It is about flex and why it is changing the size of my buttons. So it is a question about flex ordering and CSS.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Flex ordering changing my button’ is closed to new replies.