Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

How to make some of my ZT2 changes work on ALL pages

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Paul,

You have helped me target to specific modules and also specific pages. I am wondering how I might be able to just open up certain changes to all the Zentools2 modules. Here are three examples where I was writing the same css over and over for different itemid's and figured there must be an easier way.

How could I do this to all instances of the ZT2 modules instead of targeting to specific pages or specific modules. Here are my examples.

/*-- Reduce margins below home ZT2 images --*/
.itemid-490 .zt-image img {margin-bottom:0;}

/*-- line height of H3 title in ZT2 modules --*/
.itemid-490 h3 {line-height: 1em;}

/*-- margins below title and introtext ZT2 modules --*/
.itemid-490 .zt-block {
margin: 1px;
}

/*-- line height of introtext on ZT2 modules --*/
.itemid-490 ul li {
line-height: 1.3em;
margin-bottom: 2px;
}
  • scarney's Avatar
  • scarney
  • LIfetime Developer - Big Bamboo
  • 896 posts
  • 11 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hi Sean,

You would use one of the zentools classes used - one of the layout classes

It would depend on how else you used the module in the site

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers