Forums

Little problem with checkbox layout

chico_ 28 Sep, 2014
I've a little problem with the single checkbox layout: when I check the checkbox another checkbox appears near the title. If I uncheck the checkbox the second checkbox disappears (see image)
[attachment=0]checkbox.jpg[/attachment]
The configuration of the checkbox is the default one.

What's wrong? I've tested it with Safari on Mac, Chrome on Mac, Chrome on Win Xp and the problem remains.

Thanks in advance

Chico_
GreyHead 28 Sep, 2014
Hi Chico,

Is this a RocketTheme template? If so please try turning off Input Formatting on the template Advanced tab.

Bob
chico_ 29 Sep, 2014
Thanks, GreyHead.
Is not a Rocket tempalte, I'm working on Beez3 standard template.

Chico_
GreyHead 29 Sep, 2014
Hi Chico_,

It looks like there are two quite different styles of checkbox showing up :-(

Please post a link to the form so I can take a quick look.

Bob
chico_ 29 Sep, 2014
I've sended you the link via PM.

Thanks
GreyHead 29 Sep, 2014
Answer
Hi Chico.,

There's a 'checkbox icon' being inserted by this CSS from line 359 of layout.css in your template
input[type="checkbox"]:checked+label:before {
	content: "\2714";
	text-indent: 0;
	background: -moz-linear-gradient(-45deg, #fefefe, #0b70cd);
	background: -webkit-linear-gradient(-45deg, #fefefe, #0b70cd);
	background: -o-linear-gradient(-45deg, #fefefe, #0b70cd);
	background: -ms-linear-gradient(-45deg, #fefefe, #0b70cd);
	background: linear-gradient(-45deg, #fefefe, #0b70cd);
	border: 1px solid #0B70CD;
}

Bob
chico_ 29 Sep, 2014
How deep the rabbit hole goes.....🤣 🤣

Thanks a lot, GreyHead, I did not think to check also a default Joomla template.

Chico_
This topic is locked and no more replies can be posted.