Limit the number of title to display Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
4 posters

    Limit the number of title to display

    blitzkrieg
    blitzkrieg
    Forumember


    Male Posts : 179
    Reputation : 0
    Language : English

    Solved Limit the number of title to display

    Post by blitzkrieg September 25th 2014, 5:11 am

    I just want to ask for support if how do I limit topic title display on the post.

    Take a look at the screenshot: This on my forum:

    Limit the number of title to display Emo10

    This is how I want it to be: Forumotion Title display..

    Limit the number of title to display Shorte10

    If I have a long title it almost occupy the space. I just want to shorten like here in forumotion.


    Last edited by blitzkrieg on September 29th 2014, 2:49 am; edited 1 time in total
    avatar
    Guest
    Guest


    Solved Re: Limit the number of title to display

    Post by Guest September 25th 2014, 8:39 pm

    Hello blitzkrieg,
    Here is something you can try to do this.

    1. Go to ACP
    2. Click on General
    3. Find Messages & E-Mail
    4. Click Configuration
    5. Scroll down to "Topics"
    6. Find "Topic Title Length"
    7. Change the length limit to what you want.
    8. Click Save!

    This should be what allows you to change the topic length appropriately to what you want! If it doesn't work, please let me know so I can help you further! Hope this helps!

    -Jad
    Ramdaman
    Ramdaman
    Active Poster


    Male Posts : 1590
    Reputation : 99
    Language : English, Albanian, Macedonian, Russian | HTML, CSS
    Location : New York City

    Solved Re: Limit the number of title to display

    Post by Ramdaman September 25th 2014, 8:41 pm

    Jadster wrote:Hello blitzkrieg,
    Here is something you can try to do this.

    1. Go to ACP
    2. Click on General
    3. Find Messages & E-Mail
    4. Click Configuration
    5. Scroll down to "Topics"
    6. Find "Topic Title Length"
    7. Change the length limit to what you want.
    8. Click Save!

    This should be what allows you to change the topic length appropriately to what you want! If it doesn't work, please let me know so I can help you further! Hope this helps!

    -Jad

    He wants something that'll have the topic title with a line break as shown in his pictures.
    blitzkrieg
    blitzkrieg
    Forumember


    Male Posts : 179
    Reputation : 0
    Language : English

    Solved Re: Limit the number of title to display

    Post by blitzkrieg September 26th 2014, 5:29 am

    Ramdaman wrote:
    He wants something that'll have the topic title with a line break as shown in his pictures.

    Ramdaman is correct. I don't really want to limit the number of post title. All I want is to make the post title in straight line but if it is too long, a dot would appear. See preview above...

    Anyone has the idea?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Limit the number of title to display

    Post by SLGray September 26th 2014, 6:26 am

    Please post a link to topic which has a long title on your forum that guests can see.



    Limit the number of title to display Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    blitzkrieg
    blitzkrieg
    Forumember


    Male Posts : 179
    Reputation : 0
    Language : English

    Solved Re: Limit the number of title to display

    Post by blitzkrieg September 26th 2014, 9:38 am

    SLGray wrote:Please post a link to topic which has a long title on your forum that guests can see.

    If you try to see the title as a guest then definitely there is no problem on it because you cannot see the qoute, multi-qoute and edit button, but if you're a regular member, you can see the title if too long it will go on the next line same on the preview on the first post.

    Anyway here is the sample link: Here
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Limit the number of title to display

    Post by SLGray September 26th 2014, 7:45 pm

    Then it is an issue with the width of that area.  If it was longer, the title would be on one line.



    Limit the number of title to display Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    blitzkrieg
    blitzkrieg
    Forumember


    Male Posts : 179
    Reputation : 0
    Language : English

    Solved Re: Limit the number of title to display

    Post by blitzkrieg September 27th 2014, 3:48 am

    SLGray wrote:Then it is an issue with the width of that area.  If it was longer, the title would be on one line.

    So how will I fix it? Instead that it will go on next line it will just shorten the display text and dot will appear next the same as here in forumotion (see screenshot on the first post).
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Limit the number of title to display

    Post by Ape September 27th 2014, 7:26 pm

    put this in your CSS files at the top and see if that works;)


    Code:
    .postbody h2.topic-title a {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    APE Neutral



    Limit the number of title to display Left1212Limit the number of title to display Center11Limit the number of title to display Right112
    Limit the number of title to display Ape_b110
    Limit the number of title to display Ape1010
    blitzkrieg
    blitzkrieg
    Forumember


    Male Posts : 179
    Reputation : 0
    Language : English

    Solved Re: Limit the number of title to display

    Post by blitzkrieg September 29th 2014, 2:48 am

    APE wrote:put this in your CSS files at the top and see if that works;)


    Code:
    .postbody h2.topic-title a {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    APE Neutral

    Your such a savior Sir Ape.. Thanks.. Marked this one as solved...
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Limit the number of title to display

    Post by SLGray September 29th 2014, 10:12 am

    Topic solved and archived




    Limit the number of title to display Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.