Hello Summer Sale!
Exclusive season-opening discount on TheGem theme.
Limited time offer.

Okay
  Public Ticket #1071109
White logo and menu
Closed

Comments

  •  2
    Felipe started the conversation

    My homepage has the menu and the logo on the slider, how do I only make them white on this page?

  •  444
    Sergio replied

    HI!

    pls. share the wp-admin access and your white logo, we'll check.

    If you’re happy with our theme, please rate us with 5 stars on Themeforest. It keeps us motivated!  (How to rate).

    Regards Sergio Codex.

  •   Felipe replied privately
  •  444
    Sergio replied

    Hi,

    1) "white menu",  your problem has been fixed , pls. check your page.

    2) "white logo" , you need to add a file functions.php logo filters check code where:

    array(4706) - your page id 

    'path-to-logo.png' - the full path to the white logo

    function scalia_custom_logo($value) {
      if(in_array(get_the_ID(), array(4706))) {
        return  'path-to-logo.png';
      }
      return $value;
    }
    add_filter('scalia_option_logo', 'scalia_custom_logo');
    function scalia_custom_small_logo($value) {
      if(in_array(get_the_ID(), array(4706))) {
        return  'path-to-logo.png';
      }
      return $value;
    }
    add_filter('scalia_option_small_logo', 'scalia_custom_small_logo');
    function scalia_custom_logo_2x($value) {
      if(in_array(get_the_ID(), array(4706))) {
        return  'path-to-logo.png';
      }
      return $value;
    }
    add_filter('scalia_option_logo_2x', 'scalia_custom_logo_2x');
    function scalia_custom_small_logo_2x($value) {
      if(in_array(get_the_ID(), array(4706))) {
        return  'path-to-logo.png';
      }
      return $value;
    }
    add_filter('scalia_option_small_logo_2x', 'scalia_custom_small_logo_2x');
    function scalia_custom_logo_3($value) {
      if(in_array(get_the_ID(), array(4706))) {
        return  'path-to-logo.png';
      }
      return $value;
    }
    add_filter('scalia_option_logo_3x', 'scalia_custom_logo_3x');
    function scalia_custom_small_logo_3x($value) {
      if(in_array(get_the_ID(), array(4706))) {
        return  'path-to-logo.png';
      }
      return $value;
    }
    add_filter('scalia_option_small_logo_3x', 'scalia_custom_small_logo_3x');
    

    If you’re happy with our theme, please rate us with 5 stars on Themeforest. It keeps us motivated!  (How to rate).

    Regards Sergio Codex.

  •  2
    Felipe replied

    Problems solved, thanks. :)