Forum Replies Created
-
AuthorPosts
-
paularensonMember
Well, I found the solution after sending someone my functions.php file. It seems I had the wrong encoding (?) for the apostrophe(s) in the code. I am not sure how that happened. Used text wrangler. But it could have been I was in Japanese at the time and didn't realize it.
Thank you for your help, Victor.
paularensonMemberThank you.
So let me just clarify what I did based on the advice.
1) I went in and changed the fount size for the largest and smallest.
2) I noticed the small was getting smaller, but my problem was not being solved.
3) I then realized that all I had to do was get rid of the problem tag, which was too long.
4) Then I tried to make a larger size font, but it would not go back.
This literally happened over a few hours.
Bizarre. I am asking in the genesis WP forum as well as there are people there who gave me the original advice.
If I have to hire a developer for a few hours, where do I look ( I want to choose reliable ones) and any estimate on the costs. for such work? Thank you for your help.
paularensonMemberThank you again for the quick reponse. Ok, now I understand what commenting out means. I will try that tomorrow when I am fully awake.
About it not being a Studio Press or genesis issue, yes, I was told that by Rainmaker. But before I changed the size in the functions.php file, it looked normal. I have not added a plugin during that time.
You said you can see the CSS is changing the font size to points. I used the inspection element facility (thank you for the article link) and indeed I did see 8pt.
Now this is the confusing part. Because in experimenting, at one point I remember making that line in the above function.php
$args[‘largest’] = 16; //largest tag
$args[‘smallest’] = 8; //smallest tagIn other words, I was experimenting to see how small 8 would be.
If so, my previous editing of the file was working, so the question is why, when making it
$args[‘largest’] = 20; //largest tag
$args[‘smallest’] = 16; //smallest tagit still shows the 8 pt.
paularensonMemberThank you. I am a little confused because:
1) As you noted, the top one is a category cloud. But I only see code for tag cloud: //*Customise tag widget
function custom_tag_cloud_widget($args) {
$args[‘largest’] = 20; //largest tag
$args[‘smallest’] = 16; //smallest tag
$args[‘unit’] = ‘px’; //tag font unit
return $args;
}
add_filter( ‘widget_tag_cloud_args’, ‘custom_tag_cloud_widget’ );Does the category cloud use it even though it doesn't say "category cloud"?
2) You said that it is based on how frequently the tag is applied. But looking at the two clouds, the smallest size looks much smaller than the smallest size of 16, doesn't it?
3) In your suggestion, you wrote," If you want to restore the font sizes to the system defaults, comment out this line: add_filter( ‘widget_tag_cloud_args’, ‘custom_tag_cloud_widget’ );, clear your caches, and refresh the page in the browser while holding down the shift key."
COMMENT OUT MEANS ERASE?
So the end of the file should look like this?
//*Customise tag widget
function custom_tag_cloud_widget($args) {
$args[‘largest’] = 20; //largest tag
$args[‘smallest’] = 16; //smallest tag
$args[‘unit’] = ‘px’; //tag font unit
return $args;
}Thank you again.
-
AuthorPosts