PDA

View Full Version : remove collapse thead icons


Nas.er
10-30-2017, 12:53 AM
Hello
is there any way to remove or hide collapse thead from forumhome?:erm:

Thanks

MarkFL
10-30-2017, 02:25 AM
Go to the "Main CSS" page for your style(s) and add the following CSS at the very bottom in the "Additional CSS Definitions" block in the bottom text area:

.tcat > a {
display: none;
}

Nas.er
10-30-2017, 04:35 AM
Go to the "Main CSS" page for your style(s) and add the following CSS at the very bottom in the "Additional CSS Definitions" block in the bottom text area:

.tcat > a {
display: none;
}

hey MarkFL . thanks for the code

but names of category are gone after i placed the code

PinkMilk
10-30-2017, 10:17 AM
In forumhome_forumbit_level1_nopost template find and remove:

<if condition="$childforumbits">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
</if>


Update:
To remove from WGO section in [I]FORUMHOME template find and remove:
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>

Nas.er
10-30-2017, 10:51 AM
In forumhome_forumbit_level1_nopost template find and remove:

<if condition="$childforumbits">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
</if>

its works. many thanks :)

--------------- Added 1509365281 at 1509365281 ---------------

In forumhome_forumbit_level1_nopost template find and remove:

<if condition="$childforumbits">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
</if>


Update:
To remove from WGO section in [I]FORUMHOME template find and remove:
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>

Wow . i was going to ask about that!!! thanks for the update :up:

MarkFL
10-30-2017, 12:54 PM
Sorry for the issue...I was trying to find a way to do it without hacking templates. But, glad you got it done. :)

Nas.er
10-30-2017, 07:56 PM
Sorry for the issue...I was trying to find a way to do it without hacking templates. But, glad you got it done. :)

you are awesome. just learned new code from you. again, thank you very much