Tagged: , ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #185559

    When I inspect the logo, I get this html code:
    <h1 class=”logo cufon_headings”></h1>

    I want to know what file do I need to edit in order to introduce an alt text for the logo. Also, what will happen if I write something inside the H1? Will a text appear on top of the logo? Why is the logo inside a h1? Where can I edit that from?

    #186275

    Hi hchagm!

    That is handled by the avia_logo function located here: /framework/php/function-set-avia-frontend.php (418-441).

    Cheers!
    Josue

    #186801

    Thanks, Josue, but it seems like the image title and alt are set up by some PHP variables and I don’t know PHP:
    if(is_object($attachment))
    {
    $image_description = $attachment->post_excerpt == “” ? $attachment->post_content : $attachment->post_excerpt;
    $image_description = trim(strip_tags($image_description));
    $image_title = trim(strip_tags($attachment->post_title));

    return “".$image_description."“;

    What do I need to do in order for an image title and alt to appear? Right now they are empty. Do i need to edit a file, or to alter the code?
    The logo’s attachment page is this one: http://hyperthermia-centre-hannover.com/?attachment_id=2469 and it is fully configured, with title, description, alt and everything.

    #187508

    Hey!

    As Josue said, please go to corona/framework/php folder and open function-set-avia-frontend.php and search

    if($logo = avia_get_option('logo'))

    And introduce alt text for logo here http://i.imgur.com/l0uM3pm.jpg

    Cheers!
    Yigit

    #192903

    Thank you, Josue and Yigit, problem solved!

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘where to change the text and alt on the logo’ is closed to new replies.