Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #488491

    Hello
    I want to replace the Enfold logo in the header with my company name in text only. Also increase the top padding so the name is inline with the menu items.
    I had to reinstall wordpress and lost all the code.
    I tried to use the code from previous postsm but nothing seems to work.
    Thank you
    Marianne
    Yigit did it for me last time (Thanks Yigit). If you tell me the code I am happy to do it myself.
    Thanks again

    • This topic was modified 9 years, 4 months ago by HiMarianne.
    #488642

    Hey Marianne!

    Hey!

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

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
        $sub .= "Company Name";
        return $sub;
    }

    and then add following code to Quick CSS

    
    .text-sep-cat, .blog-author {
        display: none!important;
    }

    Let me know if that worked as should

    Cheers!
    Basilis

    #489072

    I am locked out of my site. This happened once before. As soon as I entered this code:

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
    $sub .= "Company Name";
    return $sub;
    }

    I can’t log in and get the message below. The last time I thought i’d made a mistake but this time I was really careful. Last time the ISP couldn’t help.
    I had to reinstall WP. Any ideas?
    Thank you
    Marianne

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    #489182

    Hello
    The second of these two codes locked me out. I am gun shy now. Will the first one work?

    add_filter(‘avf_logo_subtext’, ‘kriesi_logo_addition’);
    function kriesi_logo_addition($sub) {
    $sub .= “Well Now…Fancy That”;
    return $sub;
    }

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
    $sub .= "Company Name";
    return $sub;
    }

    I’m confused the one in your email had this: 'avf_logo_subtext', 'kriesi_logo_addition&#039 in it which disappeared
    when I entered it above.

    • This reply was modified 9 years, 4 months ago by HiMarianne.
    #489220

    Hello
    I reinstalled WP and used this code previously provided by Yigit,
    .responsive #top .logo img {
    display: none!important;
    }
    which successfully got rid of the Enfold Logo.
    Do you have a code to put my site title in text that will not lock me out of my site.
    Thank you
    Marianne

    #489647

    Hello
    Can someone help me please.
    Am I the only one having this problem?
    Thanks
    Marianne

    #490013

    Hi!

    I have added the code to functions.php file of your child theme and it is working fine. Please review your website now.

    Best regards,
    Yigit

    #490315

    Thanks Yigit I appreciate it.
    I copied and pasted that same code in twice before and twice it locked me out.
    Have you any idea what could have happened. Is there any common mistakes or errors I may have made that would have caused that.
    I really dont want to touch the functions.php box again.

    Also, could you tell me how to match the font and color to be the same as the menu items?
    Thank you again.
    Marianne

    #491160

    Hi,

    Not sure what mistake you made, it’s difficult to say without seeing what you did. For the styling please try the following in Quick CSS:

    #headertextlogo {
        float: left;
        margin-top: 45px;
        font-size: 14px;
        color: #2ea3f2;
        font-family: 'Open Sans';
        font-weight: normal;
    }

    Regards,
    Rikard

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