make k2 tag cloud module look like the wordpress version?

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
Sun Jan 05, 2014 3:13 pm
Reply with quote
Report this post
hi there,
I'm using both, magazine for jooma and magazine for wordpress. the look of the tag cloud widget as it appears with default settings in wordpress
magazine_wordpress_tags.jpg

looks ways better (in my opinion) than the joomla K2 tag cloud with it's yellow/orange background and the same seize for all tags.
magazine_joomla_tags.jpg

How to change the joomla K2 tag cloud module layout to look the same as the wordpress one? Is there a module class to apply?
thanks,
C.F.
User avatar
Junior Boarder

GK User
Sun Jan 05, 2014 7:00 pm
Reply with quote
Report this post
Hi,
no there is none any class to redesign it.
But you can customize it by your own.

First check all styles here:
templates/gk_magazine/css/style1.css
starting from line 298
there you will find all answers.

And now you have two options:
1) Delete this style for tags
2) Override it using your own code

This is your web page - your job - do as you think.
User avatar
Platinum Boarder

GK User
Sun Jan 05, 2014 7:06 pm
Reply with quote
Report this post
thanks Pawel F, will do so. Just wanted to make shure I didn't overlook any switch or class options.
cheers
C.F.
User avatar
Junior Boarder

GK User
Sun Jan 05, 2014 7:09 pm
Reply with quote
Report this post
of course there is 3 path (solution).

1) Rename or delete only this file: templates/gk_magazine/html/mod_k2_tools/tags.php
2) Add this CSS :

Code: Select all
.k2TagCloudBlock a {
    background:  #FFFFFF;
    border: 0px;
    color: #555555;
    margin: 0;
    padding: 3px; }


here:
http://www.gavick.com/documentation/joo ... -template/

You will get similar view.
User avatar
Platinum Boarder

GK User
Sun Jan 05, 2014 7:33 pm
Reply with quote
Report this post
thanks Pawel F for the 3rd solution :)

I changed the css and the look is similar, but all tags have the same size. then I replaced /templates/gk_magazine/html/mod_k2_tools/tags.php with the original tags.php from /modules/mod_k2_tools/tmpl/tags.php to get the different text seizes like the wordpress one has.
see screenshot. the responsive layout is broken.
magazine_joomla_tags_1.jpg

I have to figure that out tonight. Or do you have a quick fix for this? Url is www.2r8.de
User avatar
Junior Boarder

GK User
Sun Jan 05, 2014 11:02 pm
Reply with quote
Report this post
This module have settings for it !
Please check Tags tab, there you will find Min and MAx font size option, this should help.
User avatar
Platinum Boarder

GK User
Sun Jan 05, 2014 11:33 pm
Reply with quote
Report this post
thanks for pointing me right to the point, I totally forgot about the K2 tags module options. Argh...!

really appreciate your support, thanks again
User avatar
Junior Boarder


cron