Home Forums WoodMart support forum Wont work in Woodmart v8.2.2, ok in Woodmart Theme v7.5.1. (col-md-6)

Wont work in Woodmart v8.2.2, ok in Woodmart Theme v7.5.1. (col-md-6)

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #668861

    nopper
    Participant

    Wont work in Woodmart V8.2.2, ok in Woodmart Theme v7.5.1. (col-md-6)

    It is entered in a textbox as code.

    This was expected to be 3 lines in 2 col. Real reult in v8.2.2 is 6 lines in 1 col.

    I enabled my old theme and all ok.

    <div class="row">
    <ul class="col-md-6">
     	<li>Col1 Line1</li>
     	<li>Col1 Line2</li>
     	<li>Col1 Line3</li>
    </ul>
    <ul class="col-md-6">
     	<li>Col2 Line1</li>
     	<li>Col2 Line2</li>
     	<li>Col2 Line3</li>
    </ul>
    </div>
    #668862

    nopper
    Participant

    When inspecting in ex firefox then i see the old Themes generate the code in a .flex-container
    In the new Themes this is missing?

    #669004

    nopper
    Participant

    Feedback from xtemos please.

    #669040

    Luke Nielsen
    Keymaster

    Hello,

    Those CSS classes are related to Bootstrap. Starting from the 8.0 version, the theme does not use that library by default. We do not use Bootstrap in the newest versions in order to improve the performance, as this library is heavy. Currently, we use our custom grid.

    Add the code below to the functions.php file in your child theme to enable Bootstrap.

    add_filter('woodmart_enqueue_bootstrap_style', '__return_true');

    Kind Regards

    #669067

    nopper
    Participant

    Thanks for reply.

    You wrote, "Currently, we use our custom grid." Is that another way to do the same. or what do you mean?

    If i use my own way i need the code you posted, is there another simple way to do the same?

    #669083

    Luke Nielsen
    Keymaster

    Just use the code in the functions.php file in your child theme so your old structure will work as it was in the 7 version.

    Kind Regards

    #669143

    nopper
    Participant

    ok I test it in the weekend.

    #669149

    Luke Nielsen
    Keymaster

    Okay, let me know the result.

    Have a good day!

    Kind Regards

    #669219

    nopper
    Participant

    It is working.
    May i suggest you made a toggle sw or other solution in: Theme settings->Other->Bootstrap: On/Off

    #669290

    Luke Nielsen
    Keymaster

    Hello,

    I will send your suggestion to the team. Thank you for your time.

    Have a good day!

    Kind Regards

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Wont work in Woodmart v8.2.2, ok in Woodmart Theme v7.5.1. (col-md-6)’ is closed to new replies.