Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #481555

    Hi, can’t find an answer in your forum. How can I totally close up the gap (vertical space) between a color section and text box? Please see link below an scroll toward the bottom. I want the red and black to meet together so that there is no white gap. Thank you.

    #481968

    Hi cidcreative!

    Please try the following in Quick CSS under Enfold–>General Styling:

    .page-id-3407 #after_section_2 .container {
        display: none !important;
        border-color: #A81010 !important;
    }

    Best regards,
    Rikard

    #482205

    Great! Thanks, Rikard. That worked perfectly!

    I do have another questions. I read your documentation about changing the logo in the header on specific pages, but want to keep the same logo on the home page now and change the header logo on one or more interior pages. How do I do that?

    #482695

    Hi,

    I’m guessing you read this, http://kriesi.at/documentation/enfold/change-the-logo-url-on-some-pages/, correct?

    You can still use that code, if you only want a different logo on the front page, you could change it to this:

    add_filter('avf_logo','av_change_logo_url');
    
    function av_change_logo_url($url)
    {
        if( is_front_page() )
        {
            $url = "http://link.to/img.png";
        }
    	else
        {
            $url = "http://link.to/img2.png";
        }
    
        return $url; 
    
    }

    The first URL being the logo you want on the front page.

    Cheers!
    Rikard

    #482725

    Thank you! Yes, that was the documentation I looked at.

    So, using another scenario, if I want the home page logo to also appear on one interior page, what would I do in that case?

    #483122

    Hi,

    You can use the original code then, replace Contact with the Page ID, Page Title or Page Slug: https://codex.wordpress.org/Function_Reference/is_page

    Regards,
    Rikard

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