Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery, qTip: tooltips font-size: always the same

I'm using qTip jquery-plugin for my tooltips.

I cannot change the font-size of the tooltips. This is the code.. any number 2..4..8 produces the same results.

$('.option img[title]').qtip({  
    style: { name: 'light', border: {width: 0}, title: { 'font-size': 2 } },        
        position: {
            corner: {
                target: 'topMiddle',
                tooltip: 'bottomMiddle'
                }
        }             
    });

thanks

like image 529
aneuryzm Avatar asked Feb 27 '23 02:02

aneuryzm


1 Answers

I solved with CSS:

.qtip-content {
    font-size:12px;
}
like image 133
aneuryzm Avatar answered Mar 06 '23 15:03

aneuryzm