Trying to change the formatting of the category boxes (x2 instead of x3)
BeantwortetI'm not sure on how the coding would go or if it would mess with our themes but our Guide has four categories and I wanted to place them in a 2x2 format. Right now it is set for 3x? format which has it set up with three categories on top and one long one on the bottom.
Is there a way to change this?
-
Hey Arlene,
Great question! You may want to take a look at our Help Center Theme Marketplace to see if there's a theme available that will accomplish what you're looking for. I've also added this to our weekly digest so help provide visibility to other users who may be able to offer up some coding tips.
Cheers!
-
Hey Arlene O'Connor,
One thing to note is that the category display uses a responsive design to show one category wide on smaller screens and narrower windows, and up to 3 categories on bigger screens and wider windows. Depending on the # of categories, there may be rows of 1, 2, or 3 categories.
You can tweak the flex display in the CSS for blocks-list and blocks-item. For example, if you set the flex for .blocks-item
as
flex: 1 0 389px;then you won't see three columns in a wide window, but you'll see one on a narrow window.
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
2 Kommentare