-
AuthorPosts
-
December 21, 2014 at 7:00 am #203703
hi staff,
i need some help with this module configuration..
i would like to change color and center text of jamasshead module, but i don’t know how..
could you help me in the css configuration?
thank you so much!!here you can find the css file of jamasshead module:
<?php
/**
* ————————————————————————
* JA Decor Template
* ————————————————————————
* Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
* @license – Copyrighted Commercial Software
* Author: J.O.O.M Solutions Co., Ltd
* Websites: http://www.joomlart.com – http://www.joomlancers.com
* This file may not be redistributed in whole or significant part.
* ————————————————————————
*/defined(‘_JEXEC’) or die(‘Restricted access’);
$input = JFactory::getApplication()->input;
$active = JFactory::getApplication()->getMenu()->getActive();
if ($input->getCmd (‘option’) == ‘com_content’ && $input->getVar (‘view’) == ‘article’ && isset($active->query[‘layout’])) :
$article = JTable::getInstance(“content”);
$article->load($input->getCmd (‘id’));
?><div class=”jamasshead<?php echo $params->get(‘moduleclass_sfx’,”)?>”>
<h4 class=”jamasshead-title”><?php echo $article->get(“title”); ?></h4>
</div><?php elseif ($input->getCmd (‘option’) == ‘com_contact’ && $input->getVar (‘view’) == ‘contact’) :
$model = JModelLegacy::getInstance(‘Contact’, ‘ContactModel’, array(‘ignore_request’ => true));
$appParams = JFactory::getApplication()->getParams();
$model->setState(‘params’,$appParams);
$model->setState(‘contact.id’, $input->getCmd (‘id’));
$items = $model->getItem();
?><div class=”jamasshead<?php echo $params->get(‘moduleclass_sfx’,”)?>” <?php if(isset($masshead[‘params’][‘background’])): ?> style=”background-image: (<?php echo $masshead[‘params’][‘background’] ?>)” <?php endif; ?>>
<h4 class=”jamasshead-title”><?php echo $items->name; ?></h4>
</div><?php else: ?>
<div class=”jamasshead<?php echo $params->get(‘moduleclass_sfx’,”)?>” <?php if(isset($masshead[‘params’][‘background’])): ?> style=”background-image: url(<?php echo $masshead[‘params’][‘background’] ?>)” <?php endif; ?>>
<h4 class=”jamasshead-title”><?php echo $masshead[‘title’]; ?></h4>
<div class=”jamasshead-description”><?php echo $masshead[‘description’]; ?></div>
</div><?php endif; ?>
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 21, 2014 at 9:15 am #559259HI Please add a screenshot and let me know what you want to change in the module , so that i can take a look on it, and suggest you some changes
December 21, 2014 at 10:04 am #559262Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 22, 2014 at 4:56 am #559313Hi its already comes with template .
check this >> http://ja-decor.demo.joomlart.com/index.php/en/about/our-services .
Please read this user GuideFind JA Masshead module in above user guide .
Hope it helpsDecember 22, 2014 at 11:21 am #559338This is how i see with the custom module setting: no blue background, no center text and a different font..
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by robertovottero 9 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum