This discussion is archived
2 Replies Latest reply: Oct 25, 2013 1:52 PM by KalaPatti RSS

commandLink, outputText shortDesc font styles

KalaPatti Newbie
Currently Being Moderated


JDev version 11.1.1.6

Would like to apply font-styles to shortDesc of commandLinks.Tried with AFNoteWindowShortDesc, but it didn't help.

.AFNoteWindowShortDesc{

  font-size:20px;

  font-family: Verdana, Arial, Helvetica, sans-serif;

}

 

Thanks

  • 1. Re: commandLink, outputText shortDesc font styles
    Frank Nimphius Employee ACE
    Currently Being Moderated

    Hi,

     

    I am not surprised this doesn't work because the Alias is for note windows. Unfortunately I could not spot another selector for this. You can however set the default font

     

    .AFDefaultFont:aliasSpecifies the default font for the skin. This style defines both the default font family (as specified by the AFDefaultFontFamily named style), the default font size, and default font weight.
    .AFDefaultFontFamily:aliasSpecifies the default font family list ("font-family" property) for the skin.

     

    Note that setting the tooltip font to 20px does not enlarge the tooltip box and you probably end up with copped fonts. One option for you is to read up on skin debugging and to use Firebug in Firefox to identify a selector used with tooltips. For this, disable CSS compression in web.xml using the parameter explained here

     

    ADF Faces Configuration - 11g Release 1 (11.1.1.6.0)

     

    Frank

  • 2. Re: commandLink, outputText shortDesc font styles
    KalaPatti Newbie
    Currently Being Moderated

    Thanks Frank for your reply.

     

    Tried defult font, it didn't work. Debugged using Firebug, not seen any selectors used for tooltips. From html, can see <SPAN title="" .../>.

    After some research came to know that we can use JQuery tooltip plugin.

     

    thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points