|
Descriptions on index
|
|
05-06-2012, 09:57 PM
Post: #1
|
|||
|
|||
|
Hi!
I would like know how you have did the descriptions on index, when you hover with mouse on a title, appears also description. Thank you! noiredeb, proud to be a member of LeeFish since May 2012.
|
|||
|
05-06-2012, 10:13 PM
Post: #2
|
|||
|
|||
|
Aha - you noticed that
![]() It is in fact css and is not so hard to do. It is just the forum description hidden. In the forumbit_depth2_forum you need to have a code similar to the below: [html] <tr> <td class="trow2" align="center" valign="top" width="1"> <img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /> </td> <td class="trow2" valign="top" width="75%"> <div class="big"> <strong><a href="{$forum_url}">{$forum['name']}</a></strong> {$subforums}{$forum_viewers_text}</div> <div class="x"> {$forum['description']} </div> </td> <td class="trow2" valign="middle" align="left" style="white-space: nowrap">{$lastpost} </td> </tr> [/html] You will see there is div class big and div class x. Paste the below in your global css Code: .x {and you can have a similar effect The site don't jive? PRESS F5
![]() |
|||
|
05-06-2012, 11:04 PM
Post: #3
|
|||
|
|||
|
I don't have div class x in "forumbit_depth2_forum":
Code: <tr>noiredeb, proud to be a member of LeeFish since May 2012.
|
|||
|
05-06-2012, 11:14 PM
Post: #4
|
|||
|
|||
|
Maybe try this:
[html] <tr> <td class="customhover" align="center" valign="top" width="1"><img src="{$mybb->settings['bburl']}/sezioni/{$forum['fid']}.png" /></td></td> <td class="customhover" valign="top"> <img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /> <div class="big"><a href="{$forum_url}"><strong>{$forum['name']}</strong></a>{$forum_viewers_text}</div><div class="x">{$forum['description']}{$modlist}{$subforums}</div> </td> <td class="customhover" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td> <td class="customhover" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td> <td class="customhover" valign="top" align="left" style="white-space: nowrap">{$lastpost}</td> </tr> [/html] The site don't jive? PRESS F5
![]() |
|||
|
05-06-2012, 11:37 PM
Post: #5
|
|||
|
|||
|
If you have several sub-forums on index this fix might help:
Replace the forumbit_subforums with the below [html] <span style="font-size:0.8em;">{$lang->subforums} {$sub_forums}</span> [/html] The site don't jive? PRESS F5
![]() |
|||
|
05-06-2012, 11:41 PM
Post: #6
|
|||
|
|||
|
In forumbit_subforums I have:
Code: <style>And I have also subforum in column plugin noiredeb, proud to be a member of LeeFish since May 2012.
|
|||
|
05-06-2012, 11:43 PM
Post: #7
|
|||
|
|||
|
ah. Well , we could do a template conditional, as that way you can EXCLUDE the forums with subforums.
The site don't jive? PRESS F5
![]() |
|||
|
17-06-2012, 03:33 PM
Post: #8
|
|||
|
|||
|
Lee I have fixed! This is my code:
Code: <div class="big"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" />But now how can I delete threads and posts column? ({$threads}{$unapproved['unapproved_threads']} and {$posts}{$unapproved['unapproved_posts']} ) noiredeb, proud to be a member of LeeFish since May 2012.
|
|||
|
17-06-2012, 03:44 PM
Post: #9
|
|||
|
|||
|
yay - looks great. If you want to get rid of the threads and posts you need to change several templates.
In the forumbit_depth1_cat remove: [html] <td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td> <td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td> [/html] and in the forumbit_depth2_forum remove [html] <td class="{$bgcolor}"class="trow2" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td> <td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td> [/html] The site don't jive? PRESS F5
![]() |
|||
|
17-06-2012, 04:00 PM
Post: #10
|
|||
|
|||
|
Thank you, I did it
I have delete also in forumdisplay_subforumsNow it seems more spacious noiredeb, proud to be a member of LeeFish since May 2012.
|
|||
Page:
1
»
User(s) browsing this topic: 1 Guest(s)



