Support » Plugin: Media Library Assistant » Tag cloud and gallery : fixed font-size ?

  • Resolved gavy1


    Thanks for this awesome plugin.
    Thanks to it i've found how to upload my photographs, have them automatically  assigned att_categories and att_tags and this piece of code given in the documentation to allow users to choose the photograph to display using the att_categories list is working almost perfectly for me :
    [mla_tag_cloud taxonomy=attachment_category number=0 mla_link_href="{+page_url+}?term_slug={+slug+}"]
    [mla_gallery attachment_category="{+template:({+request:term_slug+}|a-bad-term)+}"  link="lightbox" mla_nolink_text="Cliquez sur une catégorie pour afficher les photos."]
    Of course, if i write here that means there are still something bothering me :
    - Is this possible to display the att_categories (first shortcode) with always the same font-size ? (presently, if my first category has 32 pictures and my second has only 2, then the first category name is bigger).
    Thanks in advance for your answer !
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Lingren


    Thanks for your kind words and for your question. Thanks as well for including the full text of your shortcodes; very helpful.

    You can fix the size of your tag cloud links by adding parameters to the [mla_tag_cloud] shortcode as described in the “Tag Cloud Item Parameters” section on the Settings/Media Library Assistant Documentation tab. There you will find:

    • smallest – The text size (default 8) of the tag with the smallest count value (units given by unit parameter).
    • largest – The text size (default 22) of the tag with the highest count value (units given by the unit parameter).

    Try adding something like smallest=12 largest=12 to the shortcode and adjust it to suit your needs.

    I am marking this topic resolved but please update it if you have any problems or further questions regarding the above suggestions. Thanks for your interest in the plugin.

    Thread Starter gavy1


    Hi !

    That’s perfect ! Thanks a lot !

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.