adjusting font-size for shipping invoice

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
2 years 1 week ago #346513

-- HikaShop version -- : 4.6.2
-- Joomla version -- : 4.2.5
-- PHP version -- : 8.0

Hi,

Just upgraded our website to Joomla 4.

I'm trying to alter the fontsize for the shipping invoice as the fontsize is to large to print the layout as I used to. I guess it's related to the Ator template, as this was no problem in Joomla 3.

I tried to add the prefered fontsize to the default backend css in the class #hikashop_invoice_main_div. But that;s not working. Can you point me out where to add this?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 1 week ago #346514

Hi,

First, are you use the PDF invoice plugin ? If so, then it's not in order / invoice that the modification needs to be do or in the backend CSS but directly in the invoice.php file of the plugin.
If not, then note that hikashop_invoice_main_div is an id not a class. And you probably want to add !important to your CSS so that it can override the template's CSS.

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

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
2 years 1 week ago #346581

Hi,

Yes it's an id, my mistake. But I did use the # selector for the fontsize. Adding !important is indeed the solution. Thanks.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum