SethClydesdale / forumactif-edge

A free modern and responsive forum theme for Forumotion forums.
https://sethclydesdale.github.io/forumactif-edge/
GNU General Public License v3.0
10 stars 17 forks source link

Wrap sub-forum links with a classified div #23

Closed SethClydesdale closed 7 years ago

SethClydesdale commented 7 years ago

Topic on the forum : http://fmdesign.forumotion.com/t1134-div-for-the-sub-forum#27101

Description : Wrapping the sub-forum links with a div that has a class name will enable the Administrators the ability to style the sub-forum links as they please, and even give us and members an opportunity for new plugins.

SethClydesdale commented 7 years ago

I've gone ahead and made the necessary modifications to the index_box template. However, I've also wrapped the forum description and moderators with a classified div as well. This was especially needed for the forum description, because the floated forum images would misalign other information such as the forum moderators and sub-forum links.

When v1.2.0 is sent live the layout of .forum-info will change from this :

<div class="forum-info">
  <h3 class="hierarchy">...</h3>
  {description}...{moderators}...{sub-forums}
</div>

to this :

<div class="forum-info">
  <h3 class="hierarchy">...</h3>
  <div class="forum-description">...</div>
  <div class="forum-moderators">...</div>
  <div class="sub-forum-links">...</div>
</div>

This change should make it easier to style the contents of .forum-info, as well as fix the forum images from floating to the side of contents other than the forum description.