Centre logo on top-bar

More
4 years 5 months ago #7469 by andrewbcs
andrewbcs created the topic: Centre logo on top-bar
Hi,

I would like to change the layout of the top-bar1 to be topbar 1 9 modules wide and top-bar2 to be 3 modules wide. I have changed it in the bootstrap and tried to change it in the template settings with no luck. It says 6 and 6 but no option to change it in the template settings.

Also when I have the logo inserted in the topbar now the menu is not working. What am I doing wrong?

Link - bcswebdesign.co.uk/feb15/

Thanks,
Andrew

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

More
4 years 5 months ago #7473 by artur
artur replied the topic: Centre logo on top-bar
Hello,
You need to change span value for 'jm-top-bar1' and 'jm-top-bar2' in tpl file.

'templates/jm-internet/tpl/blocks/header.php'
//get top-bar modules grid size
$topbar1span = ($this->checkModules('top-bar2')) ? '6' : '12';
$topbar2span = ($this->checkModules('top-bar1')) ? '6' : '12';

Example :
//get top-bar modules grid size
$topbar1span = ($this->checkModules('top-bar2')) ? '9' : '12';
$topbar2span = ($this->checkModules('top-bar1')) ? '3' : '12';

Best Regards.

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

More
4 years 5 months ago #7482 by andrewbcs
andrewbcs replied the topic: Centre logo on top-bar
Hi,

Thanks for that. That has fixed up the location of the logo but the menu is still not working?

It was working ok before I moved the logo into the top-bar1 location.

What am I doing wrong?

Thanks, Andrew

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

More
4 years 5 months ago #7483 by artur
artur replied the topic: Centre logo on top-bar
Hello,
Your topbar cover menu. You need to move menu lower.
You can also add css with higher z-index. Example :
.headerbg #jm-logo-nav {
z-index: 1001;
}

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

More
4 years 5 months ago #7484 by andrewbcs
andrewbcs replied the topic: Centre logo on top-bar
Do I add custom-css or where do I change this code?

Thanks, Andrew

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

More
4 years 5 months ago #7485 by artur
artur replied the topic: Centre logo on top-bar
Hello,
You can add css style in 'css/custom.css' file.

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

Time to create page: 0.249 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.