Osclass Support Forums

Osclass theme support => Beta Osclass Theme => Topic started by: Cephas on May 16, 2021, 10:35:40 PM

Title: How to change number of category boxes/per row.
Post by: Cephas 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?
Title: Re: How to change number of category boxes/per row.
Post by: MB Themes on May 17, 2021, 03:35:43 PM
@Cephas
Try to edit width in this row of style.css:
Code: [Select]
#home-cat a
Title: Re: How to change number of category boxes/per row.
Post by: Cephas on May 19, 2021, 12:55:16 AM
Thank you. I will try that.
Title: Re: How to change number of category boxes/per row.
Post by: Cephas 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.
Title: Re: How to change number of category boxes/per row.
Post by: MB Themes 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;}
Title: Re: How to change number of category boxes/per row.
Post by: Cephas 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.
Title: Re: How to change number of category boxes/per row.
Post by: MB Themes on May 20, 2021, 07:34:29 PM
 ;)