a bug with logo alt text
Post count: 94dmitri1999March 18, 2015 at 5:52 am #10063
How can I fix the bug I found that the theme outputs as alt text
Basically it takes Website Title text then adds a tagline text and puts it all together in the logo’s alt text, ignoring Yoast or Media given settings.
Then since there are 2 logos(mobile and desktop) it repeats the same text twice. Looks pretty spammy and may be dangerous for SEO
How can it be fixed?Post count: 9174AdekMarch 19, 2015 at 6:51 am #10112
Actually it isn’t a bug, but this is default option on these theme. It will take the site title and description for logo alt text .
Thank youPost count: 94dmitri1999March 20, 2015 at 7:07 pm #10175
Is there a way to control what text goes in the logo(s)?Post count: 9174AdekMarch 24, 2015 at 1:20 am #10211
You can edit this file below :
jkreativ-themes/template/navigation-side.phpjump into line 26.
jkreativ-themes/template/navigation-top.phpjump into line 47.
jkreativ-themes/template/responsiveheader.phpjump into line 32.
Thank youPost count: 94dmitri1999March 24, 2015 at 2:14 am #10227
Thank you!Post count: 78VladimirBobFebruary 9, 2017 at 12:57 am #23006
Hello, it is really dangerous for SEO because creates duplicates!
I knew where to fix, but do not know how?
Side Navigation jkreativ-themes/template/navigation-side.php jump into line 26.
Top Navigation jkreativ-themes/template/navigation-top.php jump into line 47.
Mobile Navigation jkreativ-themes/template/responsiveheader.php jump into line 32.
<div class=”logo” style=”padding-left: <?php echo get_theme_mod(‘jeg_top_nav_left_position’, 20); ?>px;”>
What exactly do I need to do to insert my own alt or remove the existing???
Thanks!Post count: 9174AdekFebruary 9, 2017 at 2:11 am #23014
You just need to find
imghtml tag on those line code section. Then you need to find
altattribute and replace the content with your own need.
Let us know if you have further question.
Thank youPost count: 78VladimirBobFebruary 9, 2017 at 2:19 am #23015
Did. Thanks.Post count: 9174AdekFebruary 9, 2017 at 2:23 am #23016
You’re welcome VladimirBob
You must be logged in to reply to this topic.