Keyword

modulo k2 content creare due colonne affiancate

  • Roberto
  • Roberto's Avatar Topic Author
  • Offline
  • New Member
More
4 years 7 months 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.

More
4 years 7 months ago #175417 by JoomlaWorks
Replied by JoomlaWorks on topic modulo k2 content creare due colonne affiancate
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

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Roberto
  • Roberto's Avatar Topic Author
  • Offline
  • New Member
More
4 years 6 months ago - 4 years 6 months 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: 4 years 6 months ago by Roberto.

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

More
4 years 6 months ago #175529 by JoomlaWorks
Replied by JoomlaWorks on topic modulo k2 content creare due colonne affiancate
A URL to the actual site would help...

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum