Displaying items by tag

Professional eCommerce VirtueMart Joomla template with responsive design discussion forum.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Mar 04, 2014 10:52 am
Reply with quote
Report this post
Hi,

How can I display items that were selected by tag just like the items are displayed in a category? I want the selection by tag displayed in three columns i.e. Now they show up as a leading item, that means 1 column.
User avatar
Senior Boarder

GK User
Thu Mar 06, 2014 7:28 am
Reply with quote
Report this post
Hello,

K2 doesn't support columns in the tag view, so you have to implement the 3-column layout by yourself. The good starting point will be adding this code at the end of css/k2.css:

Code: Select all
.genericView .itemView {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
clear: none;
float: left;
padding: 24px;
width: 33.333333%;
}
.genericView .itemView:nth-child(3n+1) {
clear: both;
}
User avatar
Administrator

GK User
Sun Mar 08, 2015 6:13 pm
Reply with quote
Report this post
Hi,

I've seen this topic, and was wandering if it's possible to have also 3 columns in "items by user" view (/itemlist/user/) ?

Thanks

Joomla 3.4
K2 2.6.9
Storebox template
User avatar
Fresh Boarder

GK User
Mon Mar 09, 2015 10:40 am
Reply with quote
Report this post
it should be possible - please provide an URL to your website - then I will provide you a proper CSS code.
User avatar
Administrator

GK User
Mon Mar 09, 2015 12:27 pm
Reply with quote
Report this post
Hi and thank you for your fast response.

Here is the site : http://www.marchebiron.com

PS : in the tag view, i put the code below in the override.css of the template, but there is a problem with the first object of the list. How can i get rid of this (image below) ?
User avatar
Fresh Boarder

GK User
Tue Mar 10, 2015 8:44 pm
Reply with quote
Report this post
Sorry but where can I access some user page on your website?
User avatar
Administrator

GK User
Wed Mar 11, 2015 11:52 am
Reply with quote
Report this post
You can access by clicking on "les antiquaires" menu on the top and then click on a name in the right or left column
For example this page : http://www.marchebiron.com/les-antiquai ... onnetmarie
User avatar
Fresh Boarder

GK User
Thu Mar 12, 2015 11:43 pm
Reply with quote
Report this post
Please try to use the following code:

Code: Select all
.userView .itemView {
  clear: none;
  float:left;
  margin: 0 1%;
  width:31.333333%;
}

.userView .itemView:nth-child(3n+1) {
  clear: both;
}
User avatar
Administrator

GK User
Fri Mar 13, 2015 2:23 am
Reply with quote
Report this post
It's working like a charm !
Many thanks for your help
User avatar
Fresh Boarder


cron