Skip to content

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

@Welsh44

Description

@Welsh44

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions