Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • robertovottero Friend
    #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.comhttp://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 Moderator
    #559259

    HI 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

    robertovottero Friend
    #559262

    i’d like to have a blue background and white center text like in the screenshot

    thank’s


    1. Schermata-2014-12-21-alle-11.01.55
    Pankaj Sharma Moderator
    #559313

    Hi its already comes with template .
    check this >> http://ja-decor.demo.joomlart.com/index.php/en/about/our-services .
    Please read this user Guide

    Find JA Masshead module in above user guide .
    Hope it helps

    robertovottero Friend
    #559338

    This is how i see with the custom module setting: no blue background, no center text and a different font..


    1. Schermata-2014-12-22-alle-12.17.50
Viewing 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