Problem with tooltip and forum title - Page 2 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.
3 posters

    Problem with tooltip and forum title

    avatar
    darki
    Forumember


    Posts : 254
    Reputation : 10
    Language : German, english

    Solved Problem with tooltip and forum title

    Post by darki July 25th 2015, 10:14 am

    First topic message reminder :

    Hi,

    I use tooltip in my forum, here the codes:
    Spoiler:
    Spoiler:
    CSS:

    My problem in forums, where I use e.g. the following as name/title of forum (so that tooltip appears)

    <a class="forumtitle" href="/f33-" title="OFF-Topic-Bereich des Schiggysboards">OFF-Topic</a>

    is that:
    Problem with tooltip and forum title - Page 2 KiOeilm

    Does anyone has an idea how to change the title/name, so that the problem in picture above won't appear?

    Thanks in advance!


    Last edited by darki on September 6th 2015, 12:45 pm; edited 3 times in total
    avatar
    darki
    Forumember


    Posts : 254
    Reputation : 10
    Language : German, english

    Solved Re: Problem with tooltip and forum title

    Post by darki August 26th 2015, 7:34 pm

    bump
    Anyone an idea?
    avatar
    darki
    Forumember


    Posts : 254
    Reputation : 10
    Language : German, english

    Solved Re: Problem with tooltip and forum title

    Post by darki September 5th 2015, 7:10 pm

    bump
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Problem with tooltip and forum title

    Post by Ange Tuteur September 6th 2015, 11:55 am

    Hi @darki,

    I apologize for the delay. Anyway, when you post this code as the title :
    Code:
    <a class="forumtitle" href="/f33-" title="OFF-Topic-Bereich des Schiggysboards">OFF-Topic</a>

    It creates a second block correct ? This is because you're creating a link inside a link, browsers are picky about that so it gives you the result of two links in the page-title. In short; it's not a problem caused by tipsy tooltips.

    Since you're using a class name in your link you should use the following CSS based on what you're attempting.

    If you're doing this for all page titles use these rules :
    Code:
    h1.page-title a { display:none }
    h1.page-title a.forumtitle { display:block }

    otherwise use this rule instead which simply hides the empty links.
    Code:
    h1.page-title a:empty { display:none }
    avatar
    darki
    Forumember


    Posts : 254
    Reputation : 10
    Language : German, english

    Solved Re: Problem with tooltip and forum title

    Post by darki September 6th 2015, 12:05 pm

    Thank you, @Ange Tuteur, you are a genius! It works great! Love

    Now I have a last small problem (which is not so important Very Happy). In "Who is online?" page will the forums with the code for the title you quoted appear in bold.
    How to solve that? :s
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Problem with tooltip and forum title

    Post by Ange Tuteur September 6th 2015, 12:36 pm

    You want any forums that appear here to have a bold font-weight, correct ? If so, this should work :
    Code:
    .forumbg .table1 a[href^="/f"] {
      font-weight:bold;
    }
    avatar
    darki
    Forumember


    Posts : 254
    Reputation : 10
    Language : German, english

    Solved Re: Problem with tooltip and forum title

    Post by darki September 6th 2015, 12:44 pm

    Nearly. Very Happy Forums which have this title
    Code:
    <a class="forumtitle" href="/f33-" title="OFF-Topic-Bereich des Schiggysboards">OFF-Topic</a>
    appear here with a bold font-weight. So I don't want that, because it's unnormally.

    But your piece of CSS is what I need. I only changed the font-weight to 'normal'.
    Thank you, Ange. Smile Problem solved.
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Problem with tooltip and forum title

    Post by Ange Tuteur September 6th 2015, 12:50 pm

    Oooh, I misread. Mr. Green

    You're welcome, and sorry again for the long wait.

    Topic archived

    Have a good day. ^^