Styling Custom Fields
-
Hi there,
I’m having trouble increasing the font size and changing the font color of a custom field within a packing slip. I’m totally new to CSS and other web coding.
I was able to successfully change the font size of all the body text by following these instructions and Code Snippets.
But, I’m not sure how to do this for custom fields. I have another plugin that allows for users to add options to their products (Woocommerce Advanced Product Fields), and this plugin integrates with Woocommerce PDF Invoices and Packing Slips. Currently, the data I need shows up on the packing slip without me doing anything– I just need to change its font size and color.
If I look at an order made with custom fields, I can use the Woocommerce Toolkit to see the meta field
“>> _wapf_meta”This is along with other meta tags like “>> _qty”, “>> _tax_class”, and others.
I’m not sure what the >> signifies, but it’s present with meta tags that start with an underscore, and not present when the meta tag starts with a character– for example, I see the meta tag “>> _wapf_meta” and I see “Order_item_name”. I’m new to this, I’m sorry that I need some of this basic info answered too.
How can I use Code Snippets to change the font size and color of items that appear to be categorized by this “_wapf_meta” tag?
- The topic ‘Styling Custom Fields’ is closed to new replies.