• Resolved KittyFlynn

    (@macwillard)


    My question involves this line:

    <span itemscope itemtype="https://schema.org/Book" class="mbdb_float_grid" style="height: variablepx; width: variablepx;">

    wherein the two spots with the word ‘variable’ dictate by inline the width and height of the individual grid boxes. Due to the most common screen size of my visitors I would like to manually adjust the width/height via the mbdb_float_grid class, but obviously I can’t just use the entire class because of different cover sizes. Is there a way to use the ID for the grids for the CSS?

    • This topic was modified 6 years, 9 months ago by KittyFlynn.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mooberrydreams

    (@mooberrydreams)

    The source of your website doesn’t actually say “variable” does it?

    There are a few ways to change the height of the books depending on what kind of grid you are talking about.

    On a grid that you have created, you can set the height of the books in the grid settings. Each grid could have books set to a different height if you wanted.

    Alternatively, you can set your grid to use the default height setting. Then all grids that use the default height setting will have books of the same height and can be changed in one place.

    You can change the default height for book grids on the MBM Settings -> Book Grid screen.

    For Taxonomy Grids, (auto generated grids based on series, tag, genre, etc.) they always use the default height setting mentioned above.

    The width used is always 50px more than the height.

    If none of that helps you do what you want, then I am not sure what you are asking.

    Thread Starter KittyFlynn

    (@macwillard)

    Sorry for the messy post. The word ‘variable’ is in place of the variable numbers I was see in the pages. I wanted to change the width for each grid in the mbdb_float_grid class, but I’ve solved that through using the !important property to override the default width setting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customize Grid Margins’ is closed to new replies.