Flow Tags Into 3 Columns and Add Bullet
-
Alan,
You have given so much and ask for so little that maybe this bit of code you can play with and maybe add to this great plugin.
I have way to many posts to try and show all of the tags in one page so I show them by the Alphabet, but with the current setup it would only appear in one big long list.
What I wanted was to flow the content into 2, 3 or 4 columns so that anyone looking for a tag or title will be able to look through them easier.
After looking and experimenting for days I finally found some code that works on my site.
Here is a link to my site showing Alan’s plugin in with the additions I wanted in the page.
https://www.ethingstodo.com/tag-index/?mctm-page=A
For the code I just went into the CSS for Alan’s Plugin and added this at the bottom.
#mcTagMap ul {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
}#mcTagMap li::before {
content: “\2022”; /* Add content: \2022 is the CSS Code/unicode for a bullet */
color: black; /* Change the color */
font-weight: bold; /* If you want it to be bold */
display: inline-block; /* Needed to add space between the bullet and the text */
width: 1em; /* Also needed for space (tweak if needed) */
margin-left: -1em; /* Also needed for space (tweak if needed) */
}Alan, I am not a programmer so if any of this is bad coding and can hurt a site please let me know.
If it is ok, it is yours to use with your plugin as you please.
Thanks for everything,
David
The page I need help with: [log in to see the link]
- The topic ‘Flow Tags Into 3 Columns and Add Bullet’ is closed to new replies.