It looks like you're new here. If you want to get involved, click one of these buttons!
After initial set-up of the default Vanilla theme, the dashboard enables a category and description for that category to be created but only the category is displayed live.
I have searched, read, and tried in vain to have my categories show the description underneath.
So far, I created and applied my new theme from the default (got there). Did the "create a custom.css" thing. Followed instructions from old postings to alter the php file under discussions etc but these posts "solutions" have different code to what I'm seeing now in the php and just confuse the heck out of me.
Bottom line is this newbie is stuck. I quite like the default style just would like this one change.
Can anyone hold my hand please? :)
forum\applications\vanilla\views\modules\categories.php
row 36
replace echo command to
echo Wrap(Anchor(($Category->Depth > 1 ? '↳ ' : '').Gdn_Format::Text($Category->Name),
'/categories/'.rawurlencode($Category->UrlCode)), 'strong').
'<br><span style="float:left; font-size: 10px; color:gray">'.$Category->Description.'</span>'.
'<span class="Count">'.number_format($Category->CountAllDiscussions).'</span>';
Answers
Thank you soooo much! I really appreciate you helping me out - my neck was getting sore sittign here for hours trying to figure it out :) Cheers
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Ok, understood, thanks.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •