*

cautsofer

  • *
  • 3 posts
center category div on desktop view
« on: July 29, 2022, 12:43:06 AM »
hello team, how can i center the categories on desktop view? i just attached a picture to be clear and understand me.
i tried to put text:align center in category div in css but nothing change..

tinypic.host/i/center-div.j9tNd

*

MB Themes

Re: center category div on desktop view
« Reply #1 on: August 01, 2022, 12:19:06 PM »
Try this:
Code: [Select]
body #home-cat2 .wrap .line {margin:0 auto;text-align:center;}
body #home-cat2 a {float:none;display:inline-block;}
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots