Tyian Posted December 10, 2013 Share Posted December 10, 2013 (edited) Hi, Im having some problems with my Top horizontal menu bar, 1º How I remove this itens from my Home buton? I want the Home buton only to redirect to the main site. I want to remove the "CD, DVD, ..." from there. 2º The "CD" tab it not working right How I fix it? 3º Can I had something other than the Home for the main parent? Like that: Home - CD - DVD I want something like that: Home -CD -DVD Other -Pen -Cases Thank you. EDIT: SOLVED hi, this is a bug, this theme defines categories as sub-categories i did it like that: change /modules/blockleotopmenu/blockleotopmenu.php lines 612 - 623 $this->_menu .= '<li class="'.$selected;$add_data = '';if($category->level_depth==1){$this->_menu .= 'dropdown">';$add_data = ' class="dropdown-toggle" data-toggle="dropdown"';}elseif($category->level_depth==2){$this->_menu .= 'dropdown">';//$add_data = ' class="dropdown-toggle" data-toggle="dropdown"';}elseif($category->level_depth>2&&count($children)){$this->_menu .= 'dropdown-submenu">';}else{$this->_menu .= '">';} It was in fact a bug from the theme. Thank you very much Nemo1 and Stottycabanas for the trouble and all the help! Edited December 17, 2013 by Tyian (see edit history) Link to comment Share on other sites More sharing options...
stottycabanas Posted December 10, 2013 Share Posted December 10, 2013 Hi Tyian, welcome to the forums. Are you trying to achieve something like this?: If not, can you clarify - perhaps upload some pictures of what you want to achieve. Cheers, Dave Link to comment Share on other sites More sharing options...
Tyian Posted December 11, 2013 Author Share Posted December 11, 2013 (edited) Hi Tyian, welcome to the forums. Are you trying to achieve something like this?: THM.jpg If not, can you clarify - perhaps upload some pictures of what you want to achieve. Cheers, Dave Hi Stotty, Yes, that is exactly what I want to achieve. You also know why my "CD" tab is messed up? Like I show it on the pics? Ex: The little black arrow and when I hover the tab the option cover the others tab in the menu, instead of going under it. How is rigth now: How I would like to work: But your example is exaxtly what I want to achieve. The home like yours and the "Media" tab, etc, like yours. Thank you! Edited December 11, 2013 by Tyian (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted December 11, 2013 Share Posted December 11, 2013 Can you also link your website? To remove the first dropdown, I'd suggest replacing the default Home link (category) with a custom link with the same name. You can do it from the module's configuration page. As for the other thing, waiting for the link! Link to comment Share on other sites More sharing options...
Tyian Posted December 11, 2013 Author Share Posted December 11, 2013 (edited) Can you also link your website? To remove the first dropdown, I'd suggest replacing the default Home link (category) with a custom link with the same name. You can do it from the module's configuration page. As for the other thing, waiting for the link! Sure. The Home I did like you said and its nice Thank you. Edited December 17, 2013 by Tyian (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted December 11, 2013 Share Posted December 11, 2013 CHange bootstrap.css, at line 4945, and add a top offset. It should be around 40px I guess Link to comment Share on other sites More sharing options...
Tyian Posted December 11, 2013 Author Share Posted December 11, 2013 (edited) CHange bootstrap.css, at line 4945, and add a top offset. It should be around 40px I guess Thank you, that kind worked. The problem is that the option are under the other tab and not the right tab. Can I move it a little so she show the option under the right tab. About the little black arrow? Do you know why is showing like that? Thank you for the help ! Edited December 11, 2013 by Tyian (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted December 11, 2013 Share Posted December 11, 2013 Yes, just change the left offset As for the arrow, it's .caret at about line 4806. Remove the background Link to comment Share on other sites More sharing options...
Tyian Posted December 11, 2013 Author Share Posted December 11, 2013 (edited) Yes, just change the left offset As for the arrow, it's .caret at about line 4806. Remove the background Thank you for your time! I'm just starting to mess around this, so this tips will help me a lot. BTW on last thing If I want to have a News system in my site, here is a module that do that or I will to add manually the News with a custom html? EDIT: That breaks the menu I don't know how. Look all withe. Thank you very much! Edited December 11, 2013 by Tyian (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted December 11, 2013 Share Posted December 11, 2013 You should ask the theme developer, as it's because you are hovering on another list item. As for the news,what about the cms block? It's not perfect but can serve the purpose. Link to comment Share on other sites More sharing options...
Tyian Posted December 11, 2013 Author Share Posted December 11, 2013 You should ask the theme developer, as it's because you are hovering on another list item. As for the news,what about the cms block? It's not perfect but can serve the purpose. I will try that. Thank you for all the help Link to comment Share on other sites More sharing options...
stottycabanas Posted December 11, 2013 Share Posted December 11, 2013 Tyian, are you OK with setting up the category structure? You can set up a new product category called e.g. Media whose parent is the Home category. Then you can amend the existing categories CD, DVD & Bluray so that their parent category is Media. Then add new categories Pens and Cases whose parent category is Accessories. You can then configure the Top horizontal menu module. I see that you already have the link to the home page as your first entry in the menu. Remove the others, then from the list on the left, select and add the categories Media then Accessories. Obviously you will need to translate these terms as required. Boa tarde! Dave Link to comment Share on other sites More sharing options...
Tyian Posted December 11, 2013 Author Share Posted December 11, 2013 (edited) Tyian, are you OK with setting up the category structure? You can set up a new product category called e.g. Media whose parent is the Home category. Then you can amend the existing categories CD, DVD & Bluray so that their parent category is Media. Then add new categories Pens and Cases whose parent category is Accessories. You can then configure the Top horizontal menu module. I see that you already have the link to the home page as your first entry in the menu. Remove the others, then from the list on the left, select and add the categories Media then Accessories. Obviously you will need to translate these terms as required. Boa tarde! Dave Boa tarde! Yes, I think my category structure is ok. The problem is that the sub menu option get mess up and I dont know why. EX: My structure: The Top horizontal module: The final result: What Im going wrong? What is the problem? Why the sub menu get all mess up? Thank you És Português? Edited December 17, 2013 by Tyian (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted December 11, 2013 Share Posted December 11, 2013 It seems okay to me, you just have to fix css...no? Am I missing something? Link to comment Share on other sites More sharing options...
Tyian Posted December 12, 2013 Author Share Posted December 12, 2013 (edited) It seems okay to me, you just have to fix css...no? Am I missing something? If I fix the css it makes it ok, it fix it. I still around the white hover thing. What is strange is if I create a menu in the CMS tab, it work nicely. Like you can see, the arrow is correctly and when I hover it not turn white. You can see it online on my site. I wanted to archive the same result with the Products category. Maybe it not possible and the problem is from the theme, I don't know. Thank you for the help mate EDIT: SOLVED hi, this is a bug, this theme defines categories as sub-categories i did it like that: change /modules/blockleotopmenu/blockleotopmenu.php lines 612 - 623 $this->_menu .= '<li class="'.$selected;$add_data = ''; if($category->level_depth==1){ $this->_menu .= 'dropdown">'; $add_data = ' class="dropdown-toggle" data-toggle="dropdown"'; }elseif($category->level_depth==2){ $this->_menu .= 'dropdown">'; //$add_data = ' class="dropdown-toggle" data-toggle="dropdown"'; }elseif($category->level_depth>2&&count($children)){ $this->_menu .= 'dropdown-submenu">'; }else{ $this->_menu .= '">'; } It was in fact a bug from the theme. Thank you very much Nemo1 and Stottycabanas for the trouble and all the help! Edited December 12, 2013 by Tyian (see edit history) Link to comment Share on other sites More sharing options...
stottycabanas Posted December 12, 2013 Share Posted December 12, 2013 No problem, glad you got things sorted. És Português? Não, um visitante freqüente! Link to comment Share on other sites More sharing options...
Recommended Posts