Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • #4870

    You can add any style changes to your theme css file such that you don’t need to edit plugin CSS files.

    #4873
    Al.
    Member

    I always search the forum before asking a question. For my information what search phrase would have got me the answer to this question?

    #4876

    I meant you could have searched the files for the phrase.

    #4879
    Al.
    Member

    The css I need to change is in how the invoice is displayed as it shows up grey boxes using #EFEFEF where the items are listed and and therefore blanks out the text making it invisible.

    I have been editing web-invoice/css/web_invoice-screen.css

    #invoice_page #web_invoice_itemized_table .alt_row {

    background: #000000

    #invoice_page #web_invoice_itemized_table th {

    background: #000000

    So do you mean that I can edit these on the theme css? Would you happen to know where?

    #4882
    Al.
    Member

    Upon studying the code a bit further, and forgive me I am no coder. It looks like the item lines on the invoice display page are alternating between class for css and not.

    So Item 1 Has css class and Item 2 doesnt. Item 3 has css class and Item 4 doesnt.

    The problem I am having is that the items with class for css are causing the items 1, 3 etc to become grey and therefor invisible while the 2, 4 etc are fine as they have no class and are taking their background colour from my theme background.

    So I am having to edit the display.php file now to remove the class from the files.

    Please tell me how to get around this and having to do this every upgrade.

    #4885

    Ideally theme css should be the last css file to be included, you can add the styles you need anywhere in the theme css instead of editing web_invoice-screen.css .

    #invoice_page #web_invoice_itemized_table .alt_row {
    background: #000000;
    }
    #invoice_page #web_invoice_itemized_table th {
    background: #000000;
    }

    Please try to read up on CSS to understand how it works, etc.

    #4888
    Al.
    Member

    Thank you.

    To avoid further conflict with the black 000000 if I change the theme colours I set it to background-color:transparent;

    It now seems to work fine. Thanks

    #4891

    Closing topic

Viewing 8 posts - 16 through 23 (of 23 total)
  • You must be logged in to reply to this topic.