Keyword

modulo k2 content creare due colonne affiancate

  • Roberto
  • Roberto's Avatar Topic Author
  • Offline
  • New Member
More
3 months 3 weeks ago #175400 by Roberto
Buonasera, vorrei personalizzare il modulo k2 content affiancando due colonne di visualizzazione è possibile? ho impostato il modulo in modo che si veda solo l'immagine e il titolo e ho quindi spazio. vorrei creare una visualizzazione a due colonne, possibilmente con il css perchè poi sullo smartphone deve diventare ad una colonna. Qualcuno ha idea di come farlo? grazie.

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 months 2 weeks ago #175417 by Fotis
a) Add a module class prefix (e.g. 2colgrid) in your module settings, change the above

b) Then add this in your template:
. k2ItemsBlock.2colgrid ul {display:grid;grid-template-columns:1fr 1fr;grid-gap:4px;}
. k2ItemsBlock.2colgrid ul li.clearList {display:none;}

CSS Grid is very powerful for laying out your content. Have a look here for more info: developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Roberto
  • Roberto's Avatar Topic Author
  • Offline
  • New Member
More
3 months 1 week ago - 3 months 1 week ago #175511 by Roberto
don't work....i correct it (small write error)....

. k2ItemsBlock.2colgrid ul {display:grid;grid-template-columns:1fr;grid-gap:4px;}
. k2ItemsBlock.2colgrid ul li.clearList {display:none;}

but don't work. i put also the module class prefix.... 2colgrid
Last edit: 3 months 1 week ago by Roberto.

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 months 1 week ago #175529 by Fotis
A URL to the actual site would help...

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum