Tagged: vertical space
-
AuthorPosts
-
July 31, 2015 at 8:33 pm #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.
August 3, 2015 at 9:34 am #481968Hi 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,
RikardAugust 3, 2015 at 4:17 pm #482205Great! 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?
August 4, 2015 at 2:34 pm #482695Hi,
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!
RikardAugust 4, 2015 at 3:05 pm #482725Thank 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?
August 5, 2015 at 8:13 am #483122Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.
