Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #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?

    #720672

    Hey 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,
    Yigit

    #721423

    Hi 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,
    filz51

    #721560

    Hi,

    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,
    Yigit

    #721736

    Hi Yigit
    Thanks for having a look
    Best regards, filz51

    #722038

    Hi,

    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,
    Yigit

    #722059

    Hi 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

    #722069

    Hi!

    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!
    Yigit

    #722094

    Hi Yigit

    Probably you didn’t see the special character in the PW?

    Try again, it works for me.

    Best, filz51

    #722460

    Hi,

    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,
    Yigit

    #722639

    Ok, I made a new FTP-account
    Thanks and a nice weekend
    filz51

    #723780

    Hi,

    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,
    Yigit

    #724238

    Let’s try: http://pastebin.com/2H0shpfA
    Thanks and best regards
    filz51

    #725959

    Hi!

    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,
    Ismael

    #725972

    Hi Ismael
    This worked 100%. Thank you. Last question: Will this helper-main-menu.php-file be overwritten with every enfold update?
    Best regards, filz51

    #727370

    Hi,

    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,
    Ismael

    #750531

    Hey Ismael, just wanted to let you know, that you saved me about 1 hour!!! Thanks a lot!

    #750575

    Hi,

    Glad it worked!
    Let us know if you have any other questions :)

    Best regards,
    Yigit

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘alt-attribute for transparency header logo’ is closed to new replies.