• How Tos
  • Show category slider as grid in homepage

.secondary-slider-wrapper {
/* padding: 0 !important; /
display: grid;
grid-template-columns: repeat(4, 4fr); /
modified here*/
gap: 8px;
width: 93%;
margin: 0 auto;
border-radius: 5px;
background-color: #ffffff;
}

this will do the job

    not working even i also did the changes in the file and uploaded , then refreshed the site no changes found
    any more changes we have to make please advise

      JithuP go to setting >cache setting>> double click on both option

      Force Clear Cache

      Force New Settings

        4 months later

        Dear All,

        Can anyone help us to have category as GRID VIEW like below image, i checked most of the threads are not working properly as like 3 row X 3 Column. Thanks in advance!

          alabtechnosoft .secondary-slider-wrapper {
          display: inline-grid;
          grid-template-columns: repeat(4,2fr);
          gap: 10px 5px;
          width: 100%;
          margin: 0 2px ;
          margin-top: 5px;
          margin-bottom: 3px;
          border-radius: 5px;
          justify-content:center;
          background-color: white;
          }

            Write a Reply...