Jump to content
  • 0

Cum mut descrierea deasupra subforumurilor in IPB 4?


playsmap

Question

6 answers to this question

Recommended Posts

  • 0

ACP -> Customization -> Themes -> forums -> front -> index -> forumRow -> cauti si decupezi:

{{if $forum->description}}
    <div class="ipsDataItem_meta ipsType_richText">{$forum->description|raw}</div>
   {{endif}}

si il muti sub:

   <h4 class="ipsDataItem_title ipsType_large">
    {{if $forum->password && !$forum->loggedInMemberHasPasswordAccess()}}
     <a href="{$forum->url()->setQueryString( 'passForm', '1' )}" data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="forum_requires_password"}'>{$forum->_title}</a>
    {{else}}
     <a href="{$forum->url()}">{$forum->_title}</a>
    {{endif}}
    {{if $forum->redirect_on}}
     &nbsp;&nbsp;<span class='ipsType_light ipsType_medium'>({lang="redirect_hits" pluralize="$forum->redirect_hits"})</span>
    {{endif}}
   </h4>
  • Like 2
  • Upvote 2

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Link to comment
Share on other sites

  • 0

@olle pune codul asta in custom.css

 

Spoiler

/* Subforum columns - start */
.ipsDataItem_subList{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

    .ipsDataItem_subList li{
        width: calc((99% / 1));
        line-height: 26px;
        flex: 0 0 auto;
        position: relative;
    }
    
    .ipsDataItem_subList > li,
    html[dir="rtl"] .ipsDataItem_subList > li {
        margin-right: 0 !important;
        margin-left: 0;
    }

        
        
        html[dir='rtl'] .ipsDataItem_subList a{
            left: 5px;
            right: 15px;
        }
        
        html[dir='ltr'] .ipsDataItem_subList .ipsDataItem_unread a{
            left: 12px;
        }
        
        html[dir='rtl'] .ipsDataItem_subList .ipsDataItem_unread a{
            right: 12px;
        }
        
        .ipsDataItem_subList:before,
        .ipsDataItem_subList li a::after{
            display: none;
        }

@media screen and (min-width: 650px){
    
    /* Increase to 2 columns when appropriate */
    .ipsDataItem_subList li{
        width: calc((96% / 2));
    }
        
}

@media screen and (min-width: 1300px){
    
    /* Increase to 3 columns on large screens */
    .ipsDataItem_subList li{
        width: calc((99% / 3));
    }
        
}
/* Subforum columns - end */

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.