• While creating requests or asking for support in the existing XenForo threads please maintain XenForo support policy strictly.

  • You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

[Guide] Making Grid Layout Forum/Node Without Add-ons

HIdden.be

Active member
Apr 22, 2020
267
179
43
Unknown
www.google.com
[Guide] Making Grid Layout Forum/Node Without Add-ons
Working For All Style
Screenshot 2020-11-21 211749.png

Now Start:
  1. Log In Admin Panel
  2. Go to Appearances/Templates
  3. Screenshot 2020-11-21 212301.png
  4. Filter/Search extra.less
  5. Screenshot 2020-11-21 212608.png
  6. Then open it.
  7. Screenshot 2020-11-21 212808.png
  8. Then Paste this css code
For Dark Theme
CSS:
.block--category{
@media (min-width: 1200px){
@supports(display: grid){
.block-body{display:grid; grid-template-columns:50% 50%;}
.block-container{background-color: #ffffff00;border:none;}
.node-body{
  display:flex;
  flex-wrap: wrap;
  border-right: 1px solid #dedede;
  position:relative;
  height: 90%;
  padding:5px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border-width: 1px;
  border-style: solid;
  background-color: #464646;
  border-top-color: #dfdfdf;
  border-right-color: #d8d8d8;
  border-bottom-color: #cbcbcb;
  border-left-color: #d8d8d8;
}
.node{margin: 2px 1px 5px 1px;}
.node-icon{width:12%; padding-top:1px;}
.node-main{width:65%;} .node-stats{width:110px;}
.node-extra{
  position:absolute;
  right:0px;
  bottom:0px;
  padding: 5px 10px 13px 0px;
}
}}
}

For Light Theme
Code:
.block--category{
@media (min-width: 1200px){
@supports(display: grid){
.block-body{display:grid; grid-template-columns:50% 50%;}
.block-container{background-color: #ffffff00;border:none;}
.node-body{
  display:flex;
  flex-wrap: wrap;
  border-right: 1px solid #dedede;
  position:relative;
  height: 90%;
  padding:5px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border-width: 1px;
  border-style: solid;
  background-color: #ffffff;
  border-top-color: #dfdfdf;
  border-right-color: #d8d8d8;
  border-bottom-color: #cbcbcb;
  border-left-color: #d8d8d8;
}
.node{margin: 2px 1px 5px 1px;}
.node-icon{width:12%; padding-top:1px;}
.node-main{width:65%;} .node-stats{width:110px;}
.node-extra{
  position:absolute;
  right:0px;
  bottom:0px;
  padding: 5px 10px 13px 0px;
}
}}
}

  • Go to Style Properties
  • Then Select your Style
  • Adjust this
    CSS:
    @media (min-width: 1200px){
    css with Maximum page width
  • Screenshot 2020-11-21 213444.png
  • All Done
Credit: hemant_bhardwaj(Xenbros)
Modified
ALiveVam
 
Last edited:
  • Like
Reactions: DarKMaSk and jereve
Can u plz do something like adding a header menu like [cxf] top navigation ? it'd be much helpful!
 
[Guide] Making Grid Layout Forum/Node Without Add-ons
Working For All Style
Screenshot 2020-11-21 211749.png

Now Start:
  1. Log In Admin Panel
  2. Go to Appearances/Templates
  3. Screenshot 2020-11-21 212301.png
  4. Filter/Search extra.less
  5. Screenshot 2020-11-21 212608.png
  6. Then open it.
  7. Screenshot 2020-11-21 212808.png
  8. Then Paste this css code
For Dark Theme
CSS:
.block--category{
@media (min-width: 1200px){
@supports(display: grid){
.block-body{display:grid; grid-template-columns:50% 50%;}
.block-container{background-color: #ffffff00;border:none;}
.node-body{
  display:flex;
  flex-wrap: wrap;
  border-right: 1px solid #dedede;
  position:relative;
  height: 90%;
  padding:5px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border-width: 1px;
  border-style: solid;
  background-color: #464646;
  border-top-color: #dfdfdf;
  border-right-color: #d8d8d8;
  border-bottom-color: #cbcbcb;
  border-left-color: #d8d8d8;
}
.node{margin: 2px 1px 5px 1px;}
.node-icon{width:12%; padding-top:1px;}
.node-main{width:65%;} .node-stats{width:110px;}
.node-extra{
  position:absolute;
  right:0px;
  bottom:0px;
  padding: 5px 10px 13px 0px;
}
}}
}

For Light Theme
Code:
.block--category{
@media (min-width: 1200px){
@supports(display: grid){
.block-body{display:grid; grid-template-columns:50% 50%;}
.block-container{background-color: #ffffff00;border:none;}
.node-body{
  display:flex;
  flex-wrap: wrap;
  border-right: 1px solid #dedede;
  position:relative;
  height: 90%;
  padding:5px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border-width: 1px;
  border-style: solid;
  background-color: #ffffff;
  border-top-color: #dfdfdf;
  border-right-color: #d8d8d8;
  border-bottom-color: #cbcbcb;
  border-left-color: #d8d8d8;
}
.node{margin: 2px 1px 5px 1px;}
.node-icon{width:12%; padding-top:1px;}
.node-main{width:65%;} .node-stats{width:110px;}
.node-extra{
  position:absolute;
  right:0px;
  bottom:0px;
  padding: 5px 10px 13px 0px;
}
}}
}

  • Go to Style Properties
  • Then Select your Style
  • Adjust this
    CSS:
    @media (min-width: 1200px){
    css with Maximum page width
  • Screenshot 2020-11-21 213444.png
  • All Done
Credit: hemant_bhardwaj(Xenbros)
Modified
ALiveVam
This is a very good guide. However, what happens to the file after updating? Should we create a child theme to protect this code?
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock