- Posts: 2
COMMUNITY FORUM
modulo k2 content creare due colonne affiancate
- Roberto
- Topic Author
- Offline
- New Member
Less
More
4 years 7 months ago #175400
by Roberto
modulo k2 content creare due colonne affiancate was created 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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 7 months ago #175417
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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:
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
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
4 years 6 months ago - 4 years 6 months ago #175511
by Roberto
Replied by Roberto on topic modulo k2 content creare due colonne affiancate
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
. 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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 6 months ago #175529
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.