Reinta Logo

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13619
    Oliver Hasse
    Member

    Hi,
    i would like to have a retina logo in my site.

    The Theme Options don´t provide this possibility. Is this something I can do with css? I have seem a couple of topics concerning this in other themes of yours.

    regards

    #13717
    Raghavendra
    Moderator

    Sorry that functionality was removed from the later themes since it caused more confusion to the users than really helped them. If you want to replicate the same, you can modify the function mo_site_logo() in framework/functions/header-title-area.php line number 6. Output a custom retina logo img element there at the end of the function –

    
    $output .= '<img class="retina-logo" src="http://yourretinalogo.png" width="120" height="240" alt="Retina Logo"/>';
    

    and then use custom CSS –

    #site-logo a img.retina-logo { display: none; }
    @media only screen and (-webkit-min-device-pixel-ratio: 2) {
    
        #site-logo a img.retina-logo { display: block; }
        #site-logo a img.standard-logo { display: none; }
    }
    

    You can also refer to some help on the net.

    #13758
    Oliver Hasse
    Member

    thanks! your code did the job 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Reinta Logo’ is closed to new replies.