modal window loses styling

  • Posts: 100
  • Thank you received: 2
11 years 5 months ago #102862

I have a niggly problem with the modal window displaying my terms and conditions. I won't retain the styling from the article and I'm not sure where to attack to problem. I'm not even sure whether it's a template issue, a Joomla issue or a Hikashop issue.

Does anyone have any advice concerning the pop up windows losing styling?

Thanks for any help

Attachments:

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

  • Posts: 82760
  • Thank you received: 13346
  • MODERATOR
11 years 5 months ago #102909

Hi,

That means that the template's component.php file is probably missing the jdoc include tag for the head:
docs.joomla.org/Jdoc_statements#Head

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

  • Posts: 100
  • Thank you received: 2
11 years 5 months ago #103017

It is a Joomlabamboo template. Here is the code from the component.php file. Does it look ok? (I left out the GNU licensing info from the top).

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
	<jdoc:include type="head" />
	<link rel="stylesheet" href="templates/<?php echo $this->template; ?>/css/template.css" type="text/css" />

<?php if($this->direction == 'rtl') : ?>
	<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template_rtl.css" type="text/css" />
<?php endif; ?>
</head>
<body class="contentpane">
	<jdoc:include type="message" />
	<jdoc:include type="component" />
</body>
</html>

Last edit: 11 years 5 months ago by Jerome. Reason: Add [code]

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

  • Posts: 100
  • Thank you received: 2
11 years 5 months ago #103019

It is resolved! I had to add the following to the template.css

body.contentpane {

font-family: Verdana;

}

Thanks for your help!

The following user(s) said Thank You: Jerome

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

Time to create page: 0.059 seconds
Powered by Kunena Forum