File editor popup style

  • Posts: 114
  • Thank you received: 14
10 years 7 months ago #122934

Hi.

Where can I edit the popup window for editing the file upload?

There is no style being applied to any of the form elements. The following style sheets are being loaded in the head of the iframe but none include styling for the form elements.

<link rel="stylesheet" href="/media/com_hikashop/css/frontend_custom.css?v=221" type="text/css" />
  <link rel="stylesheet" href="/media/com_hikamarket/css/frontend_default.css?v=130" type="text/css" />
  <link rel="stylesheet" href="/media/system/css/modal.css" type="text/css" />
  <link rel="stylesheet" href="http://fizzfab.com/plugins/editors-xtd/gk_typography/gk_typography/css/gk_typography.css" type="text/css" />

Here is the form I am referring to...



Thanks in advance.

/DM

Attachments:

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
10 years 7 months ago #122936

Hi,

You can override the view "productmarket | file" for your current front-end template.

After that, the popups are pages opened with a special "tmpl=component" parameter. It loads a different CSS file from your template.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: DeeEmm

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

  • Posts: 114
  • Thank you received: 14
10 years 7 months ago #122946

Where would I add an additional css include so that I can include my templates css in the head portion of the iframe. The productmarket | file view only includes the code from the body.

Regards

/DM

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
10 years 7 months ago #122959

Hi,

The popup you are talking about is link this one:
demo.hikashop.com/index.php?option=com_h...pl=component&lang=en

Depending to your joomla version, you will have some helpful classes like the "contentpane" class of the body.
At this moment you can add some specific CSS rule in the HikaShop or in the HikaMarket override file.

Otherwise, like I said you can make an override of the view and add some PHP code.
You still can add some PHP code which will include a new CSS for the popup content.

<?php
$doc = JFactory::getDocument();
$doc->addStyleSheet('/path/to/your/cssfile.css');
?>
Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: DeeEmm

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

  • Posts: 114
  • Thank you received: 14
10 years 7 months ago #123001

Yes, that's the one.

Didn't realise that the popup was a core Joomla function. All makes sense now.

I ended up copying the CSS related to the popups from my site template into the frontend_custom.css file rather than adding an include for the entire file. It's doubling up on a few style declarations but no big deal.

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

Moderators: Obsidev
Time to create page: 0.072 seconds
Powered by Kunena Forum