-
AuthorPosts
-
December 1, 2016 at 7:14 pm #719371
Hi
On some pages I use the transparency header but for the alternate logo the alt-tag is missing. How can I fix that?December 5, 2016 at 8:44 pm #720672Hey filz51,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.av_header_transparency .logo a > img { opacity: 0; }
Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field.
And remove your transparent logo from Enfold theme options > Header > Transparency Options and instead, add following code to Functions.php file in Appearance > Editor
add_filter('avf_logo_subtext', 'kriesi_logo_addition'); function kriesi_logo_addition($sub) { $sub .= '<img src="https://kriesi.at/wp-content/themes/kriesi/images/logo.png" class="alternate" alt="AltText"/>'; return $sub; }
Best regards,
YigitDecember 7, 2016 at 11:23 am #721423Hi Yigit
Maybe I still have this conversion issue with > sign. How can make sure or solve that?
Executing your code makes following changes: The transparent logo doen’t show up, only the non transparent logo. So there’s no transition to the non-transparent logo-version. In the source I have alt-text from the transparent logo but not from the non-transparent logo.Best regards,
filz51December 7, 2016 at 4:21 pm #721560Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
YigitDecember 7, 2016 at 11:07 pm #721736Hi Yigit
Thanks for having a look
Best regards, filz51December 8, 2016 at 4:07 pm #722038Hi,
Both style.css and functions.php file seems empty in Editor. Can you please post FTP logins here privately as well? I would not like to accidentally crash your site :)
Best regards,
YigitDecember 8, 2016 at 4:40 pm #722059Hi Yigit
Yes, both files look empty when accessing via appearance from wp-admin-panel. But they aren’t when you access via FTP. You find the credentials in the private content
Best, filz51
December 8, 2016 at 4:52 pm #722069Hi!
FTP credentials did not work for me. I also tried logging in on the site in private content field, that did not work either :/
Cheers!
YigitDecember 8, 2016 at 5:34 pm #722094Hi Yigit
Probably you didn’t see the special character in the PW?
Try again, it works for me.
Best, filz51
December 9, 2016 at 3:29 pm #722460Hi,
I tried with and without the dot first time and again now but still cannot connect “Server closed connection.”
Logins are not working on login page as well. Could you maybe create another FTP account?Best regards,
YigitDecember 10, 2016 at 1:00 am #722639Ok, I made a new FTP-account
Thanks and a nice weekend
filz51December 13, 2016 at 4:21 pm #723780Hi,
It is just not working for me, i am really not sure why.
Can you please post the content of your functions.php file here using http://pastebin.com/? So we can edit it and send you link so you can replace the content.Best regards,
YigitDecember 14, 2016 at 1:03 pm #724238Let’s try: http://pastebin.com/2H0shpfA
Thanks and best regards
filz51December 19, 2016 at 7:27 am #725959Hi!
Instead of adding the code in the functions.php file, please edit the includes > helper-main-menu.php file then look for this code around line 119:
$addition = "<img src='".$headerS['header_replacement_logo']."' class='alternate' alt='' title='' />";
Add a value to the alt and title attribute.
Best regards,
IsmaelDecember 19, 2016 at 10:26 am #725972Hi Ismael
This worked 100%. Thank you. Last question: Will this helper-main-menu.php-file be overwritten with every enfold update?
Best regards, filz51December 22, 2016 at 4:17 am #727370Hi,
Yes, it’s going to be overwritten on update. Please create a child theme then create a duplicate of the “includes” directory and the file.
// http://kriesi.at/documentation/enfold/using-a-child-theme/
Best regards,
IsmaelFebruary 22, 2017 at 4:01 pm #750531Hey Ismael, just wanted to let you know, that you saved me about 1 hour!!! Thanks a lot!
February 22, 2017 at 6:15 pm #750575 -
AuthorPosts
- The topic ‘alt-attribute for transparency header logo’ is closed to new replies.