The CSS-styling is working now after changing the code in the custom.css from #t3-topbar to .t3-topbar. However, now, suddenly, the top-left module is no longer being displayed. What am I doing wrong?
<?php
/**
* @package T3 Blank
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<!-- TOPBAR -->
<div id="t3-topbar" class="t3-topbar">
<div class="container">
<div class="row">
<div class="topbar-left col-xs-12 col-sm-4 hidden-xs">
<?php if ($this->countModules('topbar-left')) : ?>
<jdoc:include type="modules" name="<?php $this->_p('topbar-left') ?>" style="raw" />
<?php endif; ?>
</div>
<div class="topbar col-xs-12 col-sm-4 hidden-xs">
<?php if ($this->countModules('topbar')) : ?>
<jdoc:include type="modules" name="<?php $this->_p('topbar') ?>" style="raw" />
<?php endif; ?>
</div>
<div class="topbar-right col-xs-12 col-sm-4">
<?php if ($this->countModules('topbar-right')) : ?>
<div class="topbar-inner <?php $this->_c('topbar-right') ?>">
<jdoc:include type="modules" name="<?php $this->_p('topbar-right') ?>" style="raw" />
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
<!-- //TOPBAR -->
I've defined it in the templateDetails.xlm as well.
<positions>
<position>topbar-left</position>
<position>topbar</position>
<position>topbar-right</position>
<position>slideshow</position>
<position>sidebar-1</position>
<position>sidebar-2</position>
<position>section-bottom</position>
In the default.php I had added the topbar block already earlier.
<?php
/**
* ------------------------------------------------------------------------
* JA Diner Template
* ------------------------------------------------------------------------
* Copyright (C) 2004-2018 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;
?>
<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>"
class='<jdoc:include type="pageclass" />'>
<head>
<jdoc:include type="head" />
<?php $this->loadBlock('head') ?>
</head>
<body>
<div class="t3-wrapper"> <!-- Need this wrapper for off-canvas menu. Remove if you don't use of-canvas -->
<?php $this->loadBlock('topbar') ?>
<?php $this->loadBlock('mainnav') ?>
<?php $this->loadBlock('header') ?>