Tagged: Crio, WooCommerce
- AuthorPosts
- October 26, 2022 at 11:16 am #64857Patrick ReidGuest
Hello,
I am having some formatting layout issues on one of my product pages. For starters, the QTY text next to the drop-down is white and I cannot figure out how to change it to black. The qty buttons and add-to-cart buttons are misaligned and look sloppy. How can I edit this page and fix these issues? ThanksOctober 26, 2022 at 2:45 pm #65008Andy VKeymasterHi Patrick,
Thanks so much for reaching out and thank you for using Crio Pro WordPress theme!
I took at what you had going on and I was able to recreate what you were seeing on your end and get a working solution for you. Since the buttons and quantity controls are generated by WooCommerce they wouldn’t be as easy as editing a page with our Post and Page Builder, which means we can fix this by adding some custom CSS.
First you will need to access the custom CSS/JS editor on the Customize screen, and once you are there you can add the code below into the CSS section with copy and paste:
Just to clarify, the minus button is white because the quantity is at 0. So to prevent the person on the page from adding a negative amount the button gets disabled which is why it’s white like that. I did however in the rule I provided make it so that the Minus Icon stands out a bit better for you and you can see the border of the button a little easier. You are more than welcome to change the background color or any other values in the snippet provided.
I hope this helps! Please reach back out if there’s anything else that we can answer for you.
- This reply was modified 2 years, 1 month ago by Andy V.
October 31, 2022 at 1:48 am #65119Patrick ReidGuestThis is great. Thank you so much for taking the time to do this. One last thing I did not explain correctly. It is the text next to the choose option dropdown that is white on a white background so it cannot be read. If you highlight the area with your cursor you can see it. Does that make sense? Is there some custom CSS that can fix this? Screenshot at this link
October 31, 2022 at 1:52 am #65565Brandon CKeymasterHi Patrick,
I just inspected one of your single product pages and it looks like you’ve already managed to get this CSS adjustment implemented. Please let us know if you still need assistance with this or if you have any other questions for us.
October 31, 2022 at 11:56 am #65652Patrick ReidGuestHi Brandon,
I did implement the css that Andy posted here but I still have the issue I posted above. The QTY text is white and I need it to be black so it is visible. I assume that is some more CSS?
ThanksOctober 31, 2022 at 11:59 am #65654Brandon CKeymasterThanks Patrick!
My apologies, I didn’t realize you were specifically referencing the quantity option. This bit of CSS here should clear that up for you:
.woocommerce div.product form.cart .variations label { color: #000000 !important; }
Hope this helps to clear things up for you Patrick!
November 1, 2022 at 6:36 am #65666Patrick ReidGuestJust what I needed thanks!
November 1, 2022 at 6:37 am #65805Brandon CKeymasterAwesome Patrick,
I’m happy that worked for you. Let us know if there’s anything else we can answer for you!
- AuthorPosts
- The topic ‘Formatting issues in my WooCommerce Product Pages’ is closed to new replies.