Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #298638

    Hi, how do I get the text site name instead of logo?
    sorry for english

    thanks

    #298728
    #298783

    Hi Yigit, thanks for reply but I think there are some problems::
    1 bad formatting text logo and description
    2 right menu disappears
    3 when scroll page and sticky header, logo not shrinking

    thanks

    • This reply was modified 10 years, 4 months ago by czar.
    #298788

    Hey!

    Can you post the link to your website please?

    Best regards,
    Yigit

    #298822
    This reply has been marked as private.
    #298825

    Now I put it hack, I leave it for a short time

    #298978

    Hi!

    I believe there is a typo in the code you are using, try with this one:

    add_filter('avf_logo_final_output', 'avf_text_logo_final_output');
    
    function avf_text_logo_final_output($logo) {
    	$link 	  = apply_filters('avf_logo_link', home_url('/'));
    	$logotext = "THIS IS MY LOGO";
    	$subtext  = "THIS IS THE SUBTEXT";
    	$subtext  = "<span class='subtext'>$subtext</span>";
            $logo     = "<h1 class='logo bg-logo'><a href='".$link."'>".$logotext."$subtext</a></h1>";
    	 
    	return $logo;
    }

    Cheers!
    Josue

    #299110

    Now the menu is visible. Thank you very much Josue

    #299168

    Now add this code to the Quick CSS:

    .logo{
        display: table;
    }
    .logo a {
        display: table-cell;
        vertical-align: middle;
    }
    
    #299217

    Thanks Josue, works great. You can have scaling effect when scroll page?

    #299222

    Add this too:

    .header-scrolled .logo a{
        font-size: 14px;
    }

    Cheers!
    Josue

    #299265

    Thanks Josue

    #299267

    You are welcome, always glad to help :)

    Regards,
    Josue

    #300039

    Hi, last help: how do I get “subtext” (without link) under “LOGO”? like:
    ————————————————
    THIS IS MY LOGO
    subtext
    ————————————————
    thanks
    Cesare

    • This reply was modified 10 years, 4 months ago by czar.
    #300056

    Hi Cesare!

    Please set the subtext you want in the $subtext variable.

    Best regards,
    Josue

    #300065

    Yes, I have already done this but the result is:

    THIS IS MY LOGOTHIS IS THE SUBTEXT

    and I can not format it:

    THIS IS MY LOGO
    this is the subtext

    thanks

    #300076

    Hey!

    After setting the subtext, add this to the Quick CSS:

    span.subtext {
        display: block;
        font-size: 14px;
    }
    
    .header-scrolled .subtext{
        font-size: 11px;
        line-height: 5px;
    }

    Best regards,
    Josue

    #300084

    Perfect, thanks Josue

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘site name instead of logo’ is closed to new replies.