VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: X-Bumble on March 23, 2016, 17:28:34 PM

Title: How to change the color of the cursor in forms
Post by: X-Bumble on March 23, 2016, 17:28:34 PM
Hi there,

Hope somsone can help me.

I need to change the colour of the cursor on the 'edit address' form. I have changed the colour of the input forms and the cursor hides when it hovers over due to a colour clash.

Can anyone please tell me what CSS rule I need for  me to change the colour?

Any help is greatly appreciated!
Title: Re: How to change the color of the cursor in forms
Post by: X-Bumble on March 24, 2016, 15:43:22 PM
Anyone have any idea please?
Title: Re: How to change the color of the cursor in forms
Post by: jenkinhill on March 24, 2016, 15:54:22 PM
It is unlikely that anyone can help without seeing the issue. But you posted no URL.   
Title: Re: How to change the color of the cursor in forms
Post by: GJC Web Design on March 24, 2016, 21:41:10 PM
well a 1 min google shows me not to bother attempting and change your field colour back to something sensible.. ;)

http://stackoverflow.com/questions/26796336/how-to-change-input-box-cursor-color
Title: Re: How to change the color of the cursor in forms
Post by: jenkinhill on March 24, 2016, 23:56:08 PM
I find it daft that people try to meddle with cursors and upset their site users.  BUT for those who do, the old way with js/css is not necessary. It is simple just to change the caret to an image on mouseover a container.
eg:
div.thisone {
    cursor:url(suitable image), auto;
}
Title: Re: How to change the color of the cursor in forms
Post by: X-Bumble on April 07, 2016, 15:05:47 PM
Actually, I didn't mess around with the cursor. Turned out it was something else.