+ Reply to Thread
Results 1 to 4 of 4

Thread: How can i make two columns for field bound box datas in mobile view?

  1. #1
    Senior Member
    Join Date
    May 2014
    Posts
    182

    How can i make two columns for field bound box datas in mobile view?

    Hello, I have list of locations (Districts) using field bound boxes plugin.

    In mobile view it has one column, but there's lots of empty space in right side.

    How can i make it in two column for mobile view

    two-columns.jpg

    My site URL: https://bit.ly/30bnprr

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello,

    Go to plugins > fieldBoundBoxes > field-bound_box.tpl

    find:
    Code:
    Only registered members can view the code.
    replace with:
    Code:
    Only registered members can view the code.

  3. #3
    Senior Member
    Join Date
    May 2014
    Posts
    182
    Hello Rudi, Above code works when when i set the position to "top or bottom"

    What if we have these blocks in either middle left or middle right?

    //Mobile View//

    So, i made minor changes in css classes to make it two columns per row in mobile layout

    plugins > fieldBoundBoxes > field-bound_box.tpl

    #46

    From

    PHP Code:
    Only registered members can view the code
    To

    PHP Code:
    Only registered members can view the code
    ---

    One more similar issue, I enabled categories to show on "Middle Right" position two columns per row in mobile layout

    templates/general_nova/tpl/blocks/categories_block.tpl

    #31

    From

    PHP Code:
    Only registered members can view the code
    To

    PHP Code:
    Only registered members can view the code

    -----------

    Please correct me, if I'm wrong!
    Last edited by Pricky; April 28, 2022 at 07:35 AM.

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello,

    I need to see some examples of how it looks now to tell you something exactly

+ Reply to Thread