ladivito Posted March 17, 2011 Share Posted March 17, 2011 Hi,i had a problem in jbx_menu 2.0 with the limit of showing the text. i would like to edit until it able to show long text in 1 line.anyone know where and how to do it ? Thank you in advance ! Link to comment Share on other sites More sharing options...
ladivito Posted March 18, 2011 Author Share Posted March 18, 2011 anyone please ?????? Link to comment Share on other sites More sharing options...
MrBaseball34 Posted March 18, 2011 Share Posted March 18, 2011 Hard to tell when you don't give URL so we can see CSS and HTML markup. Link to comment Share on other sites More sharing options...
ladivito Posted March 18, 2011 Author Share Posted March 18, 2011 http://www.supershuttle.com.my/index.phpunder "bbbbbb bbbbb bbbb" so i would like to show the "cccccc ccccccc ccccccccccc" in 1 line and not in second line.Thank you !!!! Link to comment Share on other sites More sharing options...
MrBaseball34 Posted March 18, 2011 Share Posted March 18, 2011 increase the value in options.php line 8., this selector: .sf-menu ul Link to comment Share on other sites More sharing options...
ladivito Posted March 18, 2011 Author Share Posted March 18, 2011 require_once dirname(__FILE__) . '/../../../config/config.inc.php'; require_once dirname(__FILE__) . '/../../../init.php'; header('Content-type: text/css; charset=utf-8;'); echo '.sf-contener, .sf-menu {width:' . Configuration::get('MENU_WIDTH') . 'px;}' . "\n"; echo '.sf-menu {line-height:' . Configuration::get('MENU_HEIGHT') . '}' . "\n"; echo '.sf-menu li:hover ul, .sf-menu li.sfHover ul {z-index:' . Configuration::get('MENU_INDEX') . ';}' . "\n"; echo '.sf-menu a {font-size:' . Configuration::get('MENU_TEXT_SIZE') . 'px}'."\n"; echo '.sf-menu span {vertical-align: ' . Configuration::get('MENU_TEXT_VERTICAL') . 'px}'."\n"; echo '.sf-menu li li, .sf-menu li li li {background:#' . Configuration::get('MENU_ITEM_COLOR') . ';}'."\n"; echo '.sf-menu ul li:hover, .sf-menu ul li.sfHover, .sf-menu ul li a:focus, .sf-menu ul li a:hover, .sf-menu ul li a:active {background:#' . Configuration::get('MENU_ITEM_HOVER_COLOR') . ';}'."\n"; here is the line 2-13 ~ where to edit ??thank you Link to comment Share on other sites More sharing options...
MrBaseball34 Posted March 19, 2011 Share Posted March 19, 2011 The value that is being set is 13em.Is should be in this variable: Configuration::get('MENU_WIDTH')Which means that it is stored in your ps_configuration table orin your superfish module configuration page in the BO.I increased to 20em in Firebug and it worked perfect. Link to comment Share on other sites More sharing options...
ladivito Posted March 19, 2011 Author Share Posted March 19, 2011 Thank you !!!i found it in the module setting ~thank you very much ~~~ Link to comment Share on other sites More sharing options...
Recommended Posts