cm-tooltip-text

I must be missing something - trying to find the css that control the popup tooltip layout

I dont see any call in the styles.tpl and nothing in the base styles.css or styles.base.css for this value - anyone know where this is hidden?



thanks



this is from tooltip.tpl - but again I can’t find the css that defines it





Hidden I can find.



Finally i know the js for it is js/jquery.simpletip-1.3.1.js



This is frustrating - I see in the styles.base.css there is a tooltip css entry



.tooltip {

position: absolute;

top: 0;

left: 0;

z-index: 3;

display: none;

}

and then according to the jquery tooltip info - this should make it work - my tooltip is showing up a mile below the element with the tip - core.js also has some settings, but I am just guessing at the position # to resolve - seems odd for sure

[quote name='DELTA9000' timestamp='1295619658' post='101270']

my tooltip is showing up a mile below the element with the tip - core.js also has some settings, but I am just guessing at the position # to resolve - seems odd for sure

[/quote]

I'm know this is an old thread, but I had the same issue just now and solved it, i thought i would post the answer for others to benefit.



The answer lies in 'core.js' around line 1371 (cs-cart 2.2.4)


initTooltip: function(elms, params)
{
if (elms && elms.length == 0) {
return false;
}
var default_params = {
events: {
def: "mouseover, mouseout",
input: "focus, blur"
},
position: "bottom right",
offset: [-2, -8],
layout: '

'
};


I simply changed 'bottom' to 'center' saved and cleared the cache.



Now my tooltips vertically align to the center of the (?) instead of the bottom.

Remember this file gets replaced when you apply updates to your cart so make a note like you would with any other changes you've made.

I have added the tooltip using

<span class="cm-tooltip ty-icon-doc-text" title="tooltip text"> span>

its working on the pc but tooltip text is not visible in mobile..

Please correct me where i m wrong??

Isn't there anyone in this forum who can help me to sort it out?

Isn't there anyone in this forum who can help me to sort it out?

Since there is no hover action on mobile devices, tooltips do not work there

But if we check admin panel in mobile there we can see tooltip. Then how is it possible??

But if we check admin panel in mobile there we can see tooltip. Then how is it possible??

My mistake, sorry. It works on click

But its not working. Have you seen any tooltip in UI??

Is there any other way to create tooltip for UI??

But its not working. Have you seen any tooltip in UI??

No, I do not. Looks like a bug. Post this issue to the bug tracker