Same size in links of Tag Cloud
Writer, blogging theme for writers and authors | Support forum.
- GK User
- Fri Mar 27, 2015 3:55 pm
Hi!
I'm using Tag Cloud to display the Tags on the Blog. The links appear with different size according to the number of entries that contain.
How I can make all links have the same size? Just as in the Theme John for example.
Thanks!
I'm using Tag Cloud to display the Tags on the Blog. The links appear with different size according to the number of entries that contain.
How I can make all links have the same size? Just as in the Theme John for example.
Thanks!
-
- Expert Boarder
- GK User
- Fri Mar 27, 2015 9:27 pm
Hi,
Add the following code into the theme’s css/override.css file or use custom CSS plugin:
Add the following code into the theme’s css/override.css file or use custom CSS plugin:
- Code: Select all
.tagcloud a {
font-size: 15px!important;
}
-
- Moderator
- GK User
- Mon Mar 30, 2015 11:49 am
Hi!
Equally to inspect the item I see are writing styles inline.
How could I avoid that?
Thanks
Equally to inspect the item I see are writing styles inline.
How could I avoid that?
Thanks
-
- Expert Boarder
- GK User
- Tue Mar 31, 2015 8:27 am
There are inline styles generated by WordPress. (another font-size depends on the tag popularity).
That's why you have to add !important after your font-size value to override the inline styles. (if you want to have the same sizes)
That's why you have to add !important after your font-size value to override the inline styles. (if you want to have the same sizes)
-
- Moderator
- GK User
- Tue Mar 31, 2015 8:46 am
Hi!
Yes, I know that !Important overwritten.
But style inline is still there, and that's not the most optimal
Thanks!
Yes, I know that !Important overwritten.
But style inline is still there, and that's not the most optimal
Thanks!
-
- Expert Boarder
- GK User
- Tue Mar 31, 2015 8:51 am
Hi,
But it's generated by WordPress, not theme files. (in some cases it's not possible to avoid inline styles) Probably this filter should change it:
http://stackoverflow.com/questions/6138 ... -font-size
But it's generated by WordPress, not theme files. (in some cases it's not possible to avoid inline styles) Probably this filter should change it:
http://stackoverflow.com/questions/6138 ... -font-size
-
- Moderator
- GK User
- Tue Mar 31, 2015 6:11 pm
Uou!
I'll watch this and I tell you something
Thanks again!
I'll watch this and I tell you something
Thanks again!
-
- Expert Boarder
7 posts
• Page 1 of 1