QuannyUK
QuannyUK
Offline
0
Hello,

I appreciate that this is likely to be an issue with the theme being used on my website, but I'm struggling to get IM to display correctly on the client side when either View Invoice Details or View Invoice Online is selected. It displays correctly in the back end - does anybody have any idea what may need to be changed to get it working correctly, or where to start looking / checking?

I've attached a screenshot of what I'm seeing.

Thanks,

- Adam.
Attachments:

Accepted Answer

Wednesday, July 09 2014, 04:50 PM - #Permalink
1
yes, this looks like your template is actually not using (and therefore, not loading) Bootstrap, which the invoice template actually uses.
you just need to load bootstrap into the component.

here's a quick way to do it. just open file /components/com_invoices/invoice.php and add this code at around line 25:

$document = JFactory::getDocument();
$document->addStyleSheet("media/jui/css/bootstrap.min.css");
The reply is currently minimized Show
Responses (3)
  • Accepted Answer

    QuannyUK
    QuannyUK
    Offline
    Wednesday, July 09 2014, 04:53 PM - #Permalink
    0
    Ta da! All fixed, thanks for helping, especially as it wasn't directly related to IM.
    The reply is currently minimized Show
  • Accepted Answer

    QuannyUK
    QuannyUK
    Offline
    Thursday, July 10 2014, 07:01 PM - #Permalink
    0
    Hi,

    Just a slight issue I'm finding with the formatting of the payment options - the tabs are disconnected from the box below, and the box dissapears on the right side. An suggestions on how to correct?

    Thanks.
    Attachments:
    • Germinal Camps
      more than a month ago
      looks like some CSS on your template is adding some additional margin to that element. do you know how to use the Chrome console (for example) to determine what causes it?
    • QuannyUK
      more than a month ago
      I think so... I'll give it a go. Thanks.
    • QuannyUK
      more than a month ago
      I've turned on/off various elements via Inspect Element in Firefox, but I can't get it to resolve. I don't suppose you'd be happy to take a look and advise, by any chance?
    • Germinal Camps
      more than a month ago
      of course. if you can point me to it I'll gladly take a look.
    • QuannyUK
      more than a month ago
      Thanks... the link below should take you straight to the relevant page. I've set up an account should you need it - I can PM you the username and password. Let me know if you need any admin access.

      http://www.toastedpenguin.co.uk/index.php?option=com_invoices&view=payment&id=5
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, July 20 2014, 05:36 PM - #Permalink
    0
    all you need to do is set the CSS property: dl.tabs to have a margin of 0

    this is set in your template's css file joomla.css line 706.
    • QuannyUK
      more than a month ago
      Great! Thanks for that. I've done it and the tabs look right now, except the text and border of the tab disappears on the right-hand side?
    • Germinal Camps
      more than a month ago
      what about trtying to set the width of the div.current element? say.. to 300 px.
    • QuannyUK
      more than a month ago
      400px looks great. Thanks very, very much for your help.
    The reply is currently minimized Show
Your Reply