• mywphome

    (@mywphome)


    I want the tag cloud to have different font size depending on the post count per tag. I most prefer the style of the tag cloud in the wordpress theme twenty fourteen. It looks very “alive – breathing” when the words have a different size depending on their number of counts.

    I already tried overwriting the style.css with a child theme. Nothing successful.

    This is an old issue, but I could not find someone has the solution.

    Kind regards to all helping

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you show us your page with the tag count?

    Thread Starter mywphome

    (@mywphome)

    sorry I can’t – not published yet. But it is easy to see on any installation from twentyseventeen. The tages don’t “grow” in their font size, depending of numbers of count. This was the case in twentyfourteen. Was nice and was looking good. I would love to change to the former feature. Thanks and kind regards

    • This reply was modified 7 years ago by mywphome.
    skyspec

    (@skyspec)

    I had this same issue and found that this css had been added to the twenty seventeen style sheet:
    .widget .tagcloud a {
    font-size: 14px !important; /* !important to overwrite inline styles */
    font-size: 0.875rem !important;
    As it says, it removed the inline styles which would set font size according to tag count. The only way I found I could change it was to comment out the two lines on my PARENT style sheet and upload that.

    Until 4.9
    Now the inline style is font-size: 1em for all tags, regardless of tag count.
    Why has this feature been removed?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @skyspec, please continue this on your own thread. It doesn’t help to have the same conversation in 2 places. It might be useful to use the “Subscribe” link in the sidebar of this thread.

    @mywphome, I’m happy to try to help but I really do need to see the website. As this is not possible, can you instead try emulating the page with the tagcloud using a tool like CSSDesk? https://www.cssdesk.com/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Tag Cloud Font Size variable’ is closed to new replies.