Flex ordering changing my button
-
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!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Flex ordering changing my button’ is closed to new replies.