![]() |
how to hide the button "collapse" on forum category in the main page?
how to hide the button "collapse" on forum category in the main page?
i have vbulletin 4.1.7 |
Perhaps...
HTML Code:
a.collapse {display: hidden;} |
a.collapse didn't found on the homepage
|
Huh?
|
i don't understand, i'm noobie, what should i do? where to go? i have no clue.
|
That's just some CSS. You can put it into the additional.css template.
|
i try to search it on the edit style-forum home templates-forum home, didn't found it , as far as i know it's supposed to be there.
|
To eliminate it only on the forum home page go to forumhome.css and put in
a.collapse {visibility:hidden;} at the top. I think that will do it. |
strange thing, quate from my forumhome style:
"{vb:cssfile forumbits.css,forumhome.css,widgets.css,sidebar.cs s,options.css,tagcloud.css}" when i looking for the file "forumhome.css" on my website folder, the search can't find the file. |
AdimCP > Styles & Templates > Style Manager > Edit Templates > [<<>>](expand button) > forumhome.css
|
Quote:
|
All the css templates are in a group, so you won't find forumhome.css right after FORUMHOME. Scroll about 25% down the list.
If modifying forumhome.css doesn't change anything try forumbits.css and forumbits-ie.css |
not working , never mind, i a second thought it's better that way. thanks.
|
You could look in the forumhome_forumbit_level1_nopost template and look for
Quote:
Quote:
|
i don't familier with that program language, but i think you lil bit confuse with:
<vb:else /> --><vb:else> </vb:else>--></if> |
You're right, i don't have vb4, but all you need to do is change the IFs and ELSEs to the right format for vb4 and all will be good :)
|
i try it, didn't work.
|
You tried what? Post *exactly* what you did and what the result was or we cannot help.
|
i don't familier with that langauge, i try everything, the tag if / else, i switch position to all of them, didn't work, it's just show nothing, and 1 time, i don't know wich time cause i try a lot,
it work except that "$childforumbits" was where the name of the category was, i thought it may be cause i didn't change the id, which i don't know how to do that, i didn't even thing about guessing, guessing it's not for me, i want my forum to be perfect, not some guessing which will make me lot's of problems. if you don't know i prefer to leave that as it is. thanks. |
That code i provided (without the vb: added) worked perfect for me when i added it to my vb3.8 forum, the forum id i chose was collapsed by default!
|
i don't think i should put id, if i will not put id it will effect all the forums.
|
Quote:
|
<li class="forumbit_nopost {vb:raw forum.statusicon} L1" id="cat{vb:raw forum.forumid}">
<div class="forumhead foruminfo L1 collapse"> <h2> <span class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></span> <span class="forumlastpost">{vb:rawphrase last_post}</span> <vb:if condition="!$show['collapsable_forums']"> <a class="collapse" id="collapse_c_cat{vb:raw forum.forumid}" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b.png" alt="" title="{vb:rawphrase collapse_this_category}" /></a> </vb:if> </h2> <vb:if condition="$show['forumdescription'] OR $show['subforums']"> <div class="forumrowdata"> <vb:if condition="$show['forumdescription']"><p class="subforumdescription">{vb:raw forum.description}</p></vb:if> <vb:if condition="$show['subforums']"> <div class="subforums"> <h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4> <ol class="subforumlist commalist"> {vb:raw forum.subforums} </ol> </div> </vb:if> </div> </vb:if> </div> <vb:if condition="$childforumbits"> <ol id="c_cat{vb:raw forum.forumid}" class="childforum"> {vb:raw childforumbits} </ol> </vb:if> </li> |
All times are GMT. The time now is 08:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|