*

Xefiron

  • ***
  • 22 posts
¿How i can remove the underline in checkbox?
« on: April 02, 2019, 03:43:09 PM »
Hello, I have some people who were confused with the appearance of the checkbox because when you mouse over it, an underline is drawn as if it were a link. Could you tell me in which CSS line can I change that? Thank you.

*

Xefiron

  • ***
  • 22 posts
Re: ¿How i can remove the underline in checkbox?
« Reply #1 on: April 02, 2019, 10:40:46 PM »
Now I know how to do it, here is the code in case someone wants to try it.

Inside the route Osclass\oc-content\themes\veronika\css\style.css on line 105, you can find the following style:

Code: [Select]
.input-box-check label:hover {text-decoration:underline;}
This means that when you pass the mouse over the label of the checkbox it is highlighted like this:

[ ] Show email on listing page

So, if you want to try to see how it is without the underline just change the 'underline' to 'none! Important', as follows:

Code: [Select]
.input-box-check label:hover {text-decoration:none !important;}
And this is everything. Now your checkbox will always look like this (Unless you change it again, of course):

[ ] Show email on listing page

That's it, I say goodbye and I hope it's useful for someone. Greetings.  :P
« Last Edit: April 02, 2019, 10:44:23 PM by Xefiron »