Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • pjotrij Friend
    #197027

    I want to remove the toolbar-ct-1 space since I don’t have anything to put there, I would the menu to start at the top of the page

    So, there are no module publishe to the position, but still the black row is visible

    TomC Moderator
    #532161

    Sot hat I can try to best assist you, please provide the url of the site you’re working on,
    as well as temporarily set “Optimize CSS” to “Off” within your Template Manager–General settings

    Nazario A Friend
    #532238

    @pjotrij,

    You can use the CSS for hide the toolbar-ct-1 section. Please open this file: /templates/your_template_name/css/custom.css (if it does not exist, pls create a new one), then add this rule;

    #toolbar {
    display: none;
    }

    Let me know if this helps.

    pjotrij Friend
    #532574

    setting toolbar to hidden in my custom.css did noit help.

    I have removed the complete div from header.php:
    <div id=”toolbar”>
    <div class=”container”>
    <div class=”row”>
    <div class=”toolbar-ct col-xs-12 col-md-6 <?php $this->_c(‘toolbar-ct-1’) ?>”>
    <?php if ($this->countModules(‘toolbar-ct-1’)) : ?>
    <div class=”toolbar-ct-1″>
    <jdoc:include type=”modules” name=”<?php $this->_p(‘toolbar-ct-1’) ?>” style=”T3xhtml” />
    </div>
    <?php endif ?>
    </div>
    <div class=”toolbar-ct toolbar-ct-right col-xs-12 col-md-6″>
    <?php if ($this->countModules(‘toolbar-ct-3’)) : ?>
    <div class=”toolbar-ct-3 <?php $this->_c(‘toolbar-ct-3’) ?>”>
    <div class=”btn-group”>
    <button type=”button” class=”btn btn-default dropdown-toggle” data-toggle=”dropdown”>
    <i class=”fa fa-globe”></i><?php echo JText::_( ‘TPL_SETTINGS’ ); ?>
    </button>
    <div class=”dropdown-menu” role=”menu”>
    <jdoc:include type=”modules” name=”<?php $this->_p(‘toolbar-ct-3’) ?>” style=”T3xhtml” />
    </div>
    </div>
    </div>
    <?php endif ?>

    <?php if ($this->countModules(‘toolbar-ct-2’)) : ?>
    <div class=”toolbar-ct-2 <?php $this->_c(‘toolbar-ct-2’) ?>”>
    <jdoc:include type=”modules” name=”<?php $this->_p(‘toolbar-ct-2’) ?>” style=”T3xhtml” />
    </div>
    <?php endif ?>
    </div>
    </div>
    </div>
    </div>

    Now the toolbar is gone and the main header starts at the top (which is exactly what I wanted)

    Thanks for your support anyway!

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  pjotrij 10 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum