Home Forums Theone WordPress Theme How to have separate logos for the loading page and the menu bar

This topic contains 5 replies, has 2 voices, and was last updated by  BWSM 2 years, 12 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6161

    BWSM
    Keymaster

    Hey there, Love the theme! Just wanted to ask what the simplest way to have separate logos for the loading page and the menu bar?

    Please find the:
    ../functions/interface/interface-functions.php
    Find :

    //Function Logo
    function ux_interface_logo($key = ''){
    ...
    switch($key){
     case 'loading':
    ...
    case 'footer':  
    ...
    default: 
    ...
    

    Please change the loading section and default section, the default section is for logo on header bar.

    #6239

    barrycraig
    Participant

    Hi there, this only changes the page to page loading logo, not the logo which shows as the site initially loads. How do I change that logo?

    #6245

    BWSM
    Keymaster

    Hi,

    When you change the default section :

    ...
    default:   
    $output .= '<div id="logo">
    ...

    Don’t change the id name “logo”, put your new wrap into <div id="logo">...</div>.

    If it doesn’t work, please leave your page url as private reply

    Best

    #7641

    barrycraig
    Participant

    Sorry for the extraordinarily late reply, but this still doesn’t work, here is my code:

    	switch($key){
    		case 'loading':
    			$output .= '<div class="site-loading-logo centered-ux">';
    			$output .= '<img src="http://www.montfordplace.com/wp-content/uploads/2015/06/MonfordHeaderLogo.png" alt="' . get_bloginfo('name') . '" />';
    			$output .= '</div>';
    		break;
    
    		case 'footer':  
    			$output .= '<div id="logo-footer"><a href="' . $home_url . '" title="' . get_bloginfo('name') . '">';
    			$output .= $enable_text_logo ? $text_logo : '<img class="logo-image-footer" src="' . $foot_custom_logo . '" alt="' . get_bloginfo('name') . '" />';
    			$output .= '</a></div>';
    		break;
    		
    		default:       
    			$output .= '<div id="logo"><a href="' . $home_url . '" title="Montford place Studio">';
    			$output .= '<img class="logo-image" src="http://www.montfordplace.com/wp-content/uploads/2015/06/MonfordHeaderLogo.png" alt="' . get_bloginfo('name') . '" />';
    			$output .= '</a></div><!--End logo-->';
    		break;
    	}

    The “Default” Logo is shown on the loading page still.

    #7643

    barrycraig
    Participant

    I’ve just realised the URLs are the same for each logo, but I have now corrected this any still no change.

    #7649

    BWSM
    Keymaster

    Please make sure right quote is right, not &quot :https://www.dropbox.com/s/fxpfj77wpgzqq7o/QQ20150624-2.jpg?dl=0
    FW: It will works for all pages except front-page. If it does’t work, plz paste your file, I’ll help you to change it.

    If you want to change front-page loading logo:
    Please replace this file(download attached file) : js/jquery.queryloader2.min.js
    FW: channge the logo url here: https://www.dropbox.com/s/aq8y9dp2o1nmckq/QQ20150624-1.jpg?dl=0

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

You must be logged in to reply to this topic.