Would Great if they styling for invoicing
This topic contains 14 replies, has 3 voices, and was last updated by Kiran 6 years, 11 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
January 29, 2018 at 7:08 pm #1169
Would Great if the Styling for Invoicing Pulled From Theme Style.
That leads to my question.
What’s the best way to style to the invoicing buttons and links?
Below is where I’ve customized my theme.
Design -> Scripts -> Custom styles
Or do we move style sheet to child theme directory?
Another reason I ask. I already have a ton of new inline style just for my theme….
I’m using Supreme Theme
Jason
January 29, 2018 at 7:29 pm #1175Hi Jason,
The way emails work its not possible to pull styles from the theme.
I have assigned this to the dev who developed the email system to see if there is an easy way to add custom styles.
Thanks,
Stiofan
January 29, 2018 at 7:36 pm #1176Thank you, let me know. Would like to get this knocked out pretty soon. Most importantly, I would like to style buttons and link. They are blue and gold. My website is red.
Thank you again for your time Stiofan
January 30, 2018 at 2:25 am #1177I know this isn’t the proper way, but I’m trying to get a website launched. Going to directly edit /plugins/invoicing/assets/css for time being. I’ll save a back up of original state.
That’s my only option, right?
January 30, 2018 at 8:16 am #1179Hi Jason,
To customize email template you can add style in email template wpinv-email-styles.php file.
You need to copy the file \wp-content\plugins\invoicing\emails\wpinv-email-styles.php and paste at location \wp-content\themes\YOUR-THEME\invoicing\emails\wpinv-email-styles.phpNow you can add\update style in wpinv-email-styles.php file which you moved under theme directory.
Let us know.
Thanks,
KiranJanuary 30, 2018 at 6:23 pm #1182This reply has been marked as private.January 30, 2018 at 6:51 pm #1185Yeah…… this is really frustrating. Im deleting invoicing plugin f this cant be fixed by today. Im done. I’ve spent too much time on this project. There should be a way to match invoices to website.
Make it almost to the end and cant match invoices to website. I’ve now spent 2 days on this.
Cant afford any more time on this project.
January 30, 2018 at 6:54 pm #1186Is there an alternative I can use? To many problems with this invoicing plugin. I don’t need vat. I don’t need unused scripts and css slowing down website. And I cant change the colors of buttons or links.
That’s enough for me to start looking in other places.
January 30, 2018 at 8:54 pm #1188Is there another plugin I can use that’s compatible with Geodirectory?
Or I do I have to totally give up?
Wasting time is noooooooooo fun???????????
This has been a TOTAL Nightmare!
January 30, 2018 at 9:20 pm #1189Kiran, I’ve looked through wpinv-email-styles.php probably about a 100 times. Can’t seam to find what I need there.
I think that’s the email template, right?
I need access to invoices, see attached image above.
Again, Firefox says I need to edit invoice.css and invoice-front.css. When I edit or create like you mentioned. It doesn’t work.
I’m above and beyond FRUSTRATED at this point.
January 31, 2018 at 1:32 am #1191This reply has been marked as private.January 31, 2018 at 5:37 am #1192Hi Jason,
Sorry for inconvenience!
We are trying to make our Invoicing plugin more and more customer friendly by implementing things after getting response from them.We have added tasks:
– To do not load JS scripts on non-invoicing pages (https://github.com/AyeCode/invoicing/issues/156)
– Add option to manage styles on frontend invoice page (https://github.com/AyeCode/invoicing/issues/158)These tasks will be implemented in future release.
Mean while you can manage style for the invoice via following code snippet:
function _wpi_custom_invoice_custom_style( $invoice ) { ?> <style> .wpinv-wrap a { color: #ed6d62; } .wpinv-wrap a:hover, .wpinv-wrap a:visited:hover, .wpinv-wrap a:focus, .wpinv-wrap a:active { color: #e84739; text-decoration: none; } </style> <?php } add_action( 'wpinv_invoice_print_head', '_wpi_custom_invoice_custom_style', 10, 1 ); add_action( 'wpinv_invalid_invoice_head', '_wpi_custom_invoice_custom_style', 10, 1 );
Thanks,
KiranJanuary 31, 2018 at 8:11 am #1194Kiran
Thank you that worked Great! So… I was beating a dead horse trying to change the CSS. Thank you for taking the time to figure that out for me.
I added the CSS for the my history button in with that function also. Worked fine.
Thank you again
I wasn’t aware this invoicing plugin was so new.
January 31, 2018 at 8:13 am #1195This reply has been marked as private.January 31, 2018 at 8:53 am #1197Thanks for letting us know 🙂
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket