adjusting font-size for shipping invoice

  • Posts: 506
  • Thank you received: 21
  • Hikashop Business
1 year 5 months 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: 81515
  • Thank you received: 13068
  • MODERATOR
1 year 5 months 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: 506
  • Thank you received: 21
  • Hikashop Business
1 year 5 months 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.062 seconds
Powered by Kunena Forum