INVOICE Footer - text colour

  • Posts: 105
  • Thank you received: 0
11 years 1 week ago #132529

I am trying to change the colour of the text in the footer of the Hikashop invoices. I am using a template in Joomla for the website and because of the dark background on the website itself I have used a light grey for the footer text which will show up on the dark background colour. However, when I inserted information in the Hikashop invoice footer, it comes out in this light grey on white background.

How can I change the template setting for Hikashop, so that it uses a different template from the main website template in which I will make footer text black.

I have attached a file in which you can see what I mean, but have removed the banking details for security purposes

If there is another way to change the Hikashop footer text colour, please also advise.

I cannot find this topic in any Hikashop forum, so hoping you can advise.

Many thanks,
Kind regards,

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 1 week ago #132553

Hi,

You can probably edit the view "order / show" via the menu Display > Views and in the if condition which check if it's the invoice view to display, add the Joomla code to add a stylesheet.

Something like:

$doc->addStyleSheet('templates/'.$this->template.'/css/invoice.css');

And in this css file force properties to change the color, etc.
Or you can directly edit the properties in that view by checking if you are in order or invoice display.

Please Log in or Create an account to join the conversation.

  • Posts: 105
  • Thank you received: 0
11 years 1 week ago #132665

Hello,

I am so sorry, but I do not understand your response as to how I need to change the colour of the footer text from pale grey (created from the main Joomla template I guess) to something like black (colour: #231f20).

I am not sure where exactly I need to put the coding you suggest. I am a beginner when it comes to changing coding and do not want to put it in the wrong place.

I have tried to understand what you said, but I would be very grateful if you could explain again, so that I can understand.

Many thanks,

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
11 years 1 week ago #132702

Hi,

Xavier didn't understood what you wanted to do.
You need edit the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php and add/modify the CSS code at the beginning of the file in order to modify the styling of the text in the PDF invoice generated by the PDF invoice plugin.

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum