Possible BUG in Option Checkbox as Button

Tagged: 

ThemeBurn SupportForumsOpenCart ThemesBurnEnginePossible BUG in Option Checkbox as Button

This topic has been marked as resolved.

I cannot confirm 100% because the other demos for BurnEngine do not have these options built out, but in BE v1.1.5:

BurnEngine > Control Panel > Theme Settings > Store > Product Page > Option Styles

When setting a checkbox to be displayed as a button, it does not appear to be working correctly. No button is displayed, only a miniature box is shown with no label.

I think this may be caused by the following CSS:
.options .tb_style_2 .checkbox > label span, .options .tb_style_2 .radio > label span, .options .tb_style_2 .checkbox.image > label div, .options .tb_style_2 .checkbox > label input[type=checkbox], .options .tb_style_2 .radio > label input[type=radio] {display:none;}

When it should be:

.options .tb_style_2 .checkbox > label span, .options .tb_style_2 .radio > label span {display: inline;}

.options .tb_style_2 .checkbox.image > label div, .options .tb_style_2 .checkbox > label input[type=checkbox], .options .tb_style_2 .radio > label input[type=radio] {display:none;}

Not a huge deal as this can be fixed by adding custom CSS, but worth pointing out because it doesn’t seem that the custom settings dimensions are working either.

November 27, 2016 at 9:39 pm #53702

Hi,

The fix would be to change:

.options .tb_style_2 .checkbox > label span,
.options .tb_style_2 .radio > label span,

to:

.options .tb_style_2 .checkbox > label img ~ span,
.options .tb_style_2 .radio > label img ~ span,

Thanks for reporting this issue!

BR,
ThemeBurn team

November 30, 2016 at 11:54 pm #53864

@TB Support

Happy to see that you have found the fix. I assume that we will see this along with the dimension settings fixed in the next release.

Thanks again!

December 1, 2016 at 12:55 am #53867

Thanks again for reporting this issue.

BR,
ThemeBurn team

December 6, 2016 at 9:18 pm #54045

where to find this code ?

Hi,

The fix would be to change:

.options .tb_style_2 .checkbox > label span,
.options .tb_style_2 .radio > label span,
to:

.options .tb_style_2 .checkbox > label img ~ span,
.options .tb_style_2 .radio > label img ~ span,
Thanks for reporting this issue!

BR,
ThemeBurn team

December 16, 2016 at 9:33 am #54404

Hi,

The file is:

catalog/view/theme/BurnEngine/template/tb/css/opencart-2.0.css.tpl

BR,
ThemeBurn team

December 16, 2016 at 9:47 am #54411
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.