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.

Problem with tooltip and forum title

3 posters

Page 2 of 2 Previous  1, 2

Go down

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

http://schiggysboard.com

Back to top Go down


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

http://schiggysboard.com

Back to top Go down

Solved Re: Problem with tooltip and forum title

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

bump
avatar
darki
Forumember

Posts : 254
Reputation : 10
Language : German, english

http://schiggysboard.com

Back to top Go down

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 }
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

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
avatar
darki
Forumember

Posts : 254
Reputation : 10
Language : German, english

http://schiggysboard.com

Back to top Go down

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;
}
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

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.
avatar
darki
Forumember

Posts : 254
Reputation : 10
Language : German, english

http://schiggysboard.com

Back to top Go down

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. ^^
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum