arkelogen Posted October 23, 2015 Share Posted October 23, 2015 как сделать категории в столбик? Quote Link to comment Share on other sites More sharing options...
electr0 Posted October 23, 2015 Share Posted October 23, 2015 создавать подразделы. Quote Link to comment Share on other sites More sharing options...
arkelogen Posted October 23, 2015 Author Share Posted October 23, 2015 создавать подразделы. они идут тогда в строчку. а мне надо в столбик. Quote Link to comment Share on other sites More sharing options...
Respected Posted October 23, 2015 Share Posted October 23, 2015 В custom.css .ipsDataItem_subList li {width:100%} arkelogen 1 Quote Link to comment Share on other sites More sharing options...
arkelogen Posted October 23, 2015 Author Share Posted October 23, 2015 В custom.css .ipsDataItem_subList li {width:100%} а в несколько столбиков? например если больше 3 подкатегорий он создает второй столбик Quote Link to comment Share on other sites More sharing options...
Back Posted October 23, 2015 Share Posted October 23, 2015 Я так понял ета для версие 3.4.x если да Можна зделать такое Админ Панель-Внешний вид-Ваш стиль- ipb_styles.css В самый низ добавляем table.ipb_table ol.subforums1 { margin-top: 3px; float: left; width: 33%; } table.ipb_table ol.subforums1 li{ background: url('http://ваш форум/public/style_images/название стиля/subforum_nonew.png') no-repeat 0 50%; padding: 0 15px 0 15px; margin: 0; float: left; } table.ipb_table .subforums1 li.unread { font-weight: bold; background-image: url('http://ваш форум/public/style_images/название стиля/subforum_new.png'); } table.ipb_table ol.subforums2 { width: 33%; overflow: hidden; } table.ipb_table ol.subforums2 li { background: url('http:/ваш форум/public/style_images/название стиля/subforum_nonew.png') no-repeat 0 50%; padding: 0 15px 0 15px; margin: 0; float: center; } table.ipb_table .subforums2 li.unread { font-weight: bold; background-image: url('http://ваш форум/public/style_images/название стиля/subforum_new.png'); } table.ipb_table ol.subforums3 { width: 33%; overflow: hidden; } table.ipb_table ol.subforums3 li { background: url('http://ваш форум/public/style_images/название стиля/subforum_nonew.png') no-repeat 0 50%; padding: 0 15px 0 15px; margin: 0; float: right; } table.ipb_table .subforums3 li.unread { font-weight: bold; background-image: url('http://ваш форум/public/style_images/название стиля/subforum_new.png'); } Админ Панель-Внешний вид-Ваш стиль-Список форумов-boardIndexTemplate найти: <ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'> <foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"> <if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if> <a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a> </li> </foreach> </ol> Заменить на: <ol class='ipsList_inline ipsType_small subforums2' id='subforums_{$forum_data['id']}'> <foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"> </ol> <ol class='ipsList_inline ipsType_small subforums3' id='subforums_{$forum_data['id']}'> <if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if> </foreach> </ol> <ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'> <foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"> </ol> <ol class='ipsList_inline ipsType_small subforums1' id='subforums_{$forum_data['id']}'> <if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if> <a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a></li> </foreach> </ol> Найти: <td class='col_c_stats ipsType_small'> <ul> <li>{$forum_data['topics']} {$this->lang->words['topics']}</li> <li>{$forum_data['posts']} {$this->lang->words['replies']}</li> </ul> </td> Заменить на: <!-- <td class='col_c_stats ipsType_small'> <ul> <li>{$forum_data['topics']} {$this->lang->words['topics']}</li> <li>{$forum_data['posts']} {$this->lang->words['replies']}</li> </ul> </td> --> Добавляем картинки через ФТП /public/style_images/ВАШ СТИЛЬ/ subforum_images.zip Quote Link to comment Share on other sites More sharing options...
arkelogen Posted October 25, 2015 Author Share Posted October 25, 2015 ап Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.