Keyword

Tag items view - 3 columns

  • Andrea
  • Andrea's Avatar Topic Author
  • Offline
  • Senior Member
More
5 years 5 months ago #169819 by Andrea
Tag items view - 3 columns was created by Andrea
Hello, i'm trying to achieve the following:

i want to change the way that items that belong to a certain tag get displayed.

Currently (see here: verticalife.it/it/blog/tag/mondo), i have a 1 column view, but i would like to have a 3 column wiew with 3 items for each row (like here: verticalife.it/it/blog).

How can i achieve that? I would like to replicate the same exact appearance of the second link.

Thank you very much, best regards

Andrea

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

More
5 years 5 months ago #169820 by JoomlaWorks
Replied by JoomlaWorks on topic Tag items view - 3 columns
You can do this in many ways. The easiest though is to create a template override and adjust specifically for that tag.

Read this first: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

Then create a menu item pointing to the tag you want and make sure you select your new sub-template. Now header over to the sub-template files and change the layout however you want.

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

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

  • Andrea
  • Andrea's Avatar Topic Author
  • Offline
  • Senior Member
More
5 years 5 months ago #169822 by Andrea
Replied by Andrea on topic Tag items view - 3 columns
Hi,

before reading your answer, i managed to achieve sort of the display i wanted adding some CSS and changing basic php on tags.php file (see here: verticalife.it/it/blog/tag/report)

But as you can see, pagination placement is messed up and i don't know how to make it stay BELOW all the shown articles for that pages... Any hints?

Thx

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

More
5 years 5 months ago #169826 by JoomlaWorks
Replied by JoomlaWorks on topic Tag items view - 3 columns
Add a <div class="clr"></div> right before the pagination output to force it to display AFTER the grid.

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

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

  • Andrea
  • Andrea's Avatar Topic Author
  • Offline
  • Senior Member
More
5 years 5 months ago #169833 by Andrea
Replied by Andrea on topic Tag items view - 3 columns
Hi Fotis,

thank you for your reply! That did the trick!

Just one more thing... i would like to have a cleaner pagination on mobile, in one row if that's possible... Now it's kind of messy on 2 rows, as you can see here: verticalife.it/it/blog/tag/nepal?limitstart=0

It's not that important, just thought that it might get better!

Thx a lot

Andrea

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

More
5 years 5 months ago #169846 by JoomlaWorks
Replied by JoomlaWorks on topic Tag items view - 3 columns
All these questions are CSS related really and it's out of the scope of the support we provide here.

Have a look here:
www.htmldog.com/guides/css/beginner/
&
css-tricks.com/guides/beginner/

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