*

Cephas

  • ***
  • 54 posts
How to change number of category boxes/per row.
« on: May 16, 2021, 10:35:40 PM »
Currently, my beta theme displays four categories boxes per row on the home page. How can I change that to a different number of boxes per row?

Marked as best answer by frosticek on May 19, 2021, 02:37:09 PM
*

MB Themes

Re: How to change number of category boxes/per row.
« Reply #1 on: May 17, 2021, 03:35:43 PM »
@Cephas
Try to edit width in this row of style.css:
Code: [Select]
#home-cat a
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Cephas

  • ***
  • 54 posts
Re: How to change number of category boxes/per row.
« Reply #2 on: May 19, 2021, 12:55:16 AM »
Thank you. I will try that.

*

Cephas

  • ***
  • 54 posts
Re: How to change number of category boxes/per row.
« Reply #3 on: May 19, 2021, 06:10:02 PM »
I tried that. It did change the number of category boxes, but the max per row was 5 and I wanted 8 because there is so much space around each row. If there is any other suggestion, I will appreciate it. If not, I can work with the current setting.

*

MB Themes

Re: How to change number of category boxes/per row.
« Reply #4 on: May 20, 2021, 09:25:31 AM »
@Cephas
Not sure what you've tried, just do i.e
Code: [Select]
body #home-cat a {width:100px;margin-left:1px;margin-right:1px;}
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Cephas

  • ***
  • 54 posts
Re: How to change number of category boxes/per row.
« Reply #5 on: May 20, 2021, 02:44:02 PM »
Thank you very much. Your first suggestion worked. I did a mistake when I tried it the first time. Now I have all 8 categories on the same row and everything looks good. I appreciate your help.

*

MB Themes

Re: How to change number of category boxes/per row.
« Reply #6 on: May 20, 2021, 07:34:29 PM »
 ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots