-
AuthorPosts
-
May 5, 2015 at 5:13 pm #266454
Hi,
I installed the “amr shortcode any widget” plugin so that I can embed the default Tag Cloud widget onto my homepage using a shortcode. It worked out perfectly, and is stylized exactly the same, which is great. The only thing I can’t seem to figure out how to do is center the tags. I think this may be something to do with the default widget or the X Theme, and not the plugin.
Would you be able to tell me how to center them?
Thank you.
May 5, 2015 at 5:13 pm #266456This reply has been marked as private.May 5, 2015 at 9:31 pm #266606Hello There,
Thanks for giving us your site URL. To center tag clouds, please add the following code in your Customizer via Appearance > Customize > Custom > CSS:
.tagcloud{ text-align:center; } .widget_tag_cloud .tagcloud a, .widget_product_tag_cloud .tagcloud a{ float:none; }
Hope this helps.
Thanks.May 5, 2015 at 10:12 pm #266638That is PERFECT for the homepage. Is it possible to center them for that space but keep them aligned left in the footer widget? If it is too complicated then don’t worry about it, since it isn’t a big issue for me at all.
Thank you!!!
May 6, 2015 at 1:37 am #266752Hi there,
Use the following CSS rule instead.
.entry-wrap .x-container .tagcloud { text-align: center; }
Hope that helps.
-
AuthorPosts