Posted in: Newspaper
Sep 23, 2014 at 2:21 pm
What should I do to show the category in block like this?
http://prntscr.com/4pildn
Sep 24, 2014 at 11:37 am
Hi,
Replace the content of the td_module_9.php file: http://screencast.com/t/EQ5cxoQO1x with this code: http://pastebin.com/uUYdaNL6
Should look like this: http://screencast.com/t/JpxysdaFfa
Thanks
Sep 29, 2014 at 2:47 pm
Oct 21, 2014 at 1:11 pm
Hi,
You can use the code for the module 8 file that I gave you and use css to hide the others categories, leaving just the first, like this:
ex: http://screencast.com/t/MZ6RVToy
result: http://screencast.com/t/q53qS8jpvB
Use this css:
.td_mod8 .meta-info .td-category li:nth-child(2) a, .td_mod8 .meta-info .td-category li:nth-child(3) a, .td_mod8 .meta-info .td-category li:nth-child(4) a, .td_mod8 .meta-info .td-category li:nth-child(5) a, .td_mod8 .meta-info .td-category li:nth-child(6) a, .td_mod8 .meta-info .td-category li:nth-child(7) a {
display: none;
}
Thanks
-
This reply was modified 11 years by
Lucian.
Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.
