Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to style tagcloud ? -> Have to modify the code. #11

Open
Welsh44 opened this issue Dec 21, 2018 · 0 comments
Open

How to style tagcloud ? -> Have to modify the code. #11

Welsh44 opened this issue Dec 21, 2018 · 0 comments

Comments

@Welsh44
Copy link

Welsh44 commented Dec 21, 2018

Hello

I don't have a development environnement. So I can't make a pull request.
My problem is to style tagcloud.
My organisation made some templates on RevalJS.
When i add th plugin I can't style as I want to because of "!important" in the CSS files...that I can't change.

So in the plugin code just change
// Replace the inner html of the slide with the formatted tags
cloud.innerHTML = formatTags(cloud.innerHTML) ;
by
// Replace the inner html of the slide with the formatted tags
cloud.innerHTML = "<tagcloud>" + formatTags(cloud.innerHTML) + "</tagcloud>";

Now you can style tagcloud as you can style section in a CSS file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant