Hello,
Please add this extra CSS code in Customizer -> General Settings -> Additional CSS :
.archive.category .hero-title {
font-size: 0;
}
.archive.category .hero-title span {
font-size: 3rem;
}
Thread Starter
Sungur
(@sungur)
Unfortunately nothing has changed.
Hello,
You can also achieve what you want, using this plugin:
https://wordpress.org/plugins/remove-category-word-from-title/
Also you can add the following code in functions.php :
add_filter( ‘get_the_archive_title’, ‘remove_category_word_from_title’, 10);
function remove_category_word_from_title($category_name) {
if ( is_category() ) {
$category_name = single_cat_title( ”, false );
}
return $category_name;
}
This will remove the word Category from the title of your category pages.
Thread Starter
Sungur
(@sungur)
Hello.
The code didn’t work. I added it to the function.php files of both EmpowerWP and Mesmerize themes, but nothing changed. I installed the plugin, the site crashed. I had to reinstall. I published the site. You can have a look if you want. http://www.cekmekoytrabzonlulardernegi.org
-
This reply was modified 3 years, 4 months ago by
Sungur.
Hello,
Can you specify the link of a category page?
Thread Starter
Sungur
(@sungur)
Hello,
IT seems the CSS code should work.
This seems to be a cache-related issue.
Can you re-add the CSS code and clear both your website cache and browser cache?
Also, please open your website in an incognito page and let us know if the problem still persists there.
Thread Starter
Sungur
(@sungur)
Yes, CSS code is working. Thanks. There is another unrelated issue. Should I ask here or open a new topic?
Thread Starter
Sungur
(@sungur)
I’m opening a new topic. Maybe other people have the same problem.