Home › Forums › Theone WordPress Theme › How to have separate logos for the loading page and the menu bar
- This topic has 5 replies, 2 voices, and was last updated 10 years, 11 months ago by
SeaTheme.
-
AuthorPosts
-
February 5, 2015 at 1:14 am #6161
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.
February 12, 2015 at 12:55 pm #6239barrycraig
ParticipantHi 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?
February 13, 2015 at 8:58 am #6245Hi,
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
June 23, 2015 at 1:54 pm #7641barrycraig
ParticipantSorry 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.
June 23, 2015 at 2:42 pm #7643barrycraig
ParticipantI’ve just realised the URLs are the same for each logo, but I have now corrected this any still no change.
June 24, 2015 at 2:16 am #7649Please make sure right quote is right, not " :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 -
AuthorPosts
- You must be logged in to reply to this topic.
