Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #496010

    Hi, I can’t figure out how to override the header logo and substitute it with another in a specific category only.
    Any ideas?
    Appreciate your help!!

    #496252

    Hi susie1111,

    On what page you do want to replace the logo?

    Regards,
    Rikard

    #496391

    Hello Rikard,
    Posts on 2 separate categories need 2 different heather-logos: “linea gourmet” and “recetas”…

    What would be the easiest way to handle this?
    Thank you!!!!!

    #496639

    Hi!

    Please add following code to Functions.php file in Appearance > Editor

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(is_category( 'recetas','linea gourmet' ) )
        {
        $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
        }
        return $logo;
    }

    It will change logo on category archives. If you would like to change it on single posts as well or change logo links, please let us know!

    Regards,
    Yigit

    #496700

    Hi Yigit, Thanks for your quick reply.
    The site is not meant as a blog but as a regular web, posts are fixed, more like pages really.
    Do these posts count as “category archives”?
    Thanks!!!

    #496711

    Hey!

    Have you added the code to functions.php file? If you have, did it make the changes you would like? If not, can you please post the link to your page where you would like to display a different logo? :)

    Regards,
    Yigit

    #496749

    Have to admit a php close-to-panic (from previous php serious traumas)
    Would this be right? (i mean the joining of both images)

    add_filter(‘avf_logo’,’av_change_logo’);
    function av_change_logo($logo)
    {
    if(is_category( ‘linea gourmet’ ) )
    {
    $logo = “/wp-content/uploads/2015/09/header-linea-gourmet3.png”;
    }
    return $logo;
    if(is_category( ‘recetas’ ) )
    {
    $logo = “/wp-content/uploads/2015/09/header-recetas2.png”;
    }
    return $logo;
    }

    #496772

    Hey!

    NO it is not right,
    Please copy the code from forum and not from email, as the ‘ gets stripped out.
    Else the code seems to be right!

    Best regards,
    Basilis

    #502179

    Hi, could you please help to change the input font-color on the contact form?

    added this to the custom css but it didn’t work…

    #top .main_color .input-text,
    #top .main_color input [type=“text”],
    #top .main_color input [type=“input”],
    #top .main_color input [type=“email”],
    #top .main_color input [type=“number”],
    #top .main_color input [type=“tel”],
    #top .main_color textarea,
    {
    color: #888888;
    }

    THANKS SO MUCH!!!

    ps. still waiting to muster-up courage to tackle the php header change (i’ve done mayor damage in the past) its coming…

    #502437

    Hi!

    You can try this css code:

    #top .main_color .input-text, #top .main_color input[type='text'], #top .main_color input[type='input'], #top .main_color input[type='password'], #top .main_color input[type='email'], #top .main_color input[type='number'], #top .main_color input[type='url'], #top .main_color input[type='tel'], #top .main_color input[type='search'], #top .main_color textarea, #top .main_color select {
        color: #888888 !important;
    }

    Regards,
    Ismael

    #503067

    Thank you Ismael, it worked perfect.
    Another lil thing: the form “addition” will not allow input, why would this be?
    Thanks in advance, best regards

    #503343

    Hi!

    Can you please elaborate? I checked your website and was able to insert text into textarea field – http://i.imgur.com/a4O8YXa.png

    Regards,
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.