https://all4metin.ro/index.php this is my forum and this is the another one http://www.metin2zone.ro/
and..? how can i change this on theme?
Code: Select all
<!-- IF not forumrow.S_IS_CAT -->
<!-- EVENT forumlist_body_forum_row_before -->
<li class="row">
<!-- EVENT forumlist_body_forum_row_prepend -->
<dl title="{forumrow.FORUM_FOLDER_IMG_ALT}">
<dt class="icon {forumrow.FORUM_IMG_STYLE}"></dt>
<dd>
<!-- IF forumrow.S_UNREAD_FORUM --><a href="{forumrow.U_VIEWFORUM}" class="icon-link"></a><!-- ENDIF -->
<div class="list-inner">
<!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF -->
<!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF -->
<a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a>
<!-- IF forumrow.FORUM_DESC --><br />{forumrow.FORUM_DESC}<!-- ENDIF -->
<!-- IF forumrow.MODERATORS -->
<br /><strong>{forumrow.L_MODERATOR_STR}{L_COLON}</strong> {forumrow.MODERATORS}
<!-- ENDIF -->
With this :Seol wrote: ↑Tue Jan 22, 2019 9:08 pm
this is my forumlistCode: Select all
<!-- IF not forumrow.S_IS_CAT --> <!-- EVENT forumlist_body_forum_row_before --> <li class="row"> <!-- EVENT forumlist_body_forum_row_prepend --> <dl title="{forumrow.FORUM_FOLDER_IMG_ALT}"> <dt class="icon {forumrow.FORUM_IMG_STYLE}"></dt> <dd> <!-- IF forumrow.S_UNREAD_FORUM --><a href="{forumrow.U_VIEWFORUM}" class="icon-link"></a><!-- ENDIF --> <div class="list-inner"> <!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF --> <!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF --> <a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a> <!-- IF forumrow.FORUM_DESC --><br />{forumrow.FORUM_DESC}<!-- ENDIF --> <!-- IF forumrow.MODERATORS --> <br /><strong>{forumrow.L_MODERATOR_STR}{L_COLON}</strong> {forumrow.MODERATORS} <!-- ENDIF -->
Code: Select all
<!-- IF not forumrow.S_IS_CAT -->
<!-- EVENT forumlist_body_forum_row_before -->
<li class="row">
<!-- EVENT forumlist_body_forum_row_prepend -->
<dl title="{forumrow.FORUM_FOLDER_IMG_ALT}">
<dt class="icon <!-- IF not forumrow.FORUM_IMAGE --> {forumrow.FORUM_IMG_STYLE} <!-- ENDIF -->"> <!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF --> </dt>
<dd>
<!-- IF forumrow.S_UNREAD_FORUM --><a href="{forumrow.U_VIEWFORUM}" class="icon-link"></a><!-- ENDIF -->
<div class="list-inner">
<!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF -->
<a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a>
<!-- IF forumrow.FORUM_DESC --><br />{forumrow.FORUM_DESC}<!-- ENDIF -->
<!-- IF forumrow.MODERATORS -->
<br /><strong>{forumrow.L_MODERATOR_STR}{L_COLON}</strong> {forumrow.MODERATORS}
<!-- ENDIF -->
look like this... https://i.imgur.com/T4dYKii.pngMannix_ wrote: ↑Wed Jan 23, 2019 8:59 am Try replacing this :With this :Seol wrote: ↑Tue Jan 22, 2019 9:08 pm
this is my forumlistCode: Select all
<!-- IF not forumrow.S_IS_CAT --> <!-- EVENT forumlist_body_forum_row_before --> <li class="row"> <!-- EVENT forumlist_body_forum_row_prepend --> <dl title="{forumrow.FORUM_FOLDER_IMG_ALT}"> <dt class="icon {forumrow.FORUM_IMG_STYLE}"></dt> <dd> <!-- IF forumrow.S_UNREAD_FORUM --><a href="{forumrow.U_VIEWFORUM}" class="icon-link"></a><!-- ENDIF --> <div class="list-inner"> <!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF --> <!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF --> <a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a> <!-- IF forumrow.FORUM_DESC --><br />{forumrow.FORUM_DESC}<!-- ENDIF --> <!-- IF forumrow.MODERATORS --> <br /><strong>{forumrow.L_MODERATOR_STR}{L_COLON}</strong> {forumrow.MODERATORS} <!-- ENDIF -->
Code: Select all
<!-- IF not forumrow.S_IS_CAT --> <!-- EVENT forumlist_body_forum_row_before --> <li class="row"> <!-- EVENT forumlist_body_forum_row_prepend --> <dl title="{forumrow.FORUM_FOLDER_IMG_ALT}"> <dt class="icon <!-- IF not forumrow.FORUM_IMAGE --> {forumrow.FORUM_IMG_STYLE} <!-- ENDIF -->"> <!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF --> </dt> <dd> <!-- IF forumrow.S_UNREAD_FORUM --><a href="{forumrow.U_VIEWFORUM}" class="icon-link"></a><!-- ENDIF --> <div class="list-inner"> <!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF --> <a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a> <!-- IF forumrow.FORUM_DESC --><br />{forumrow.FORUM_DESC}<!-- ENDIF --> <!-- IF forumrow.MODERATORS --> <br /><strong>{forumrow.L_MODERATOR_STR}{L_COLON}</strong> {forumrow.MODERATORS} <!-- ENDIF -->
Code: Select all
.forum-image img {
width: 100%;
}
Code: Select all
ul.topiclist.forums li.row dt {
width: 95px;
}
now all the topics look like this https://i.imgur.com/hVOKagF.pngMannix_ wrote: ↑Wed Jan 23, 2019 12:31 pm You have to option 1st - make the image smaller to fit or 2nd make more space for it
For 1st you need to add this to a css fileFor the 2nd add this to a css fileCode: Select all
.forum-image img { width: 100%; }
Code: Select all
ul.topiclist.forums li.row dt { width: 95px; }
Code: Select all
<!-- IF not forumrow.FORUM_IMAGE --> {forumrow.FORUM_IMG_STYLE} <!-- ENDIF -->">
Code: Select all
<!-- IF not forumrow.FORUM_IMAGE -->
Code: Select all
no-forum-image
Code: Select all
<!-- IF not forumrow.FORUM_IMAGE --> no-forum-image {forumrow.FORUM_IMG_STYLE} <!-- ENDIF -->">
Code: Select all
ul.topiclist.forums li.row dt.no-forum-image {
width: 55px;
}
not workingMannix_ wrote: ↑Wed Jan 23, 2019 2:07 pm In the forumlist file findand afterCode: Select all
<!-- IF not forumrow.FORUM_IMAGE --> {forumrow.FORUM_IMG_STYLE} <!-- ENDIF -->">
addCode: Select all
<!-- IF not forumrow.FORUM_IMAGE -->
End resault :Code: Select all
no-forum-image
and then to css file addCode: Select all
<!-- IF not forumrow.FORUM_IMAGE --> no-forum-image {forumrow.FORUM_IMG_STYLE} <!-- ENDIF -->">
Code: Select all
ul.topiclist.forums li.row dt.no-forum-image { width: 55px; }