-
AuthorPosts
-
April 21, 2015 at 3:47 pm #432076
http://patel-lab.org/sample-page/
i want the logo to be full-width and to appear above the menu
furthermore, I would like a different, larger version of the logo on the home page to appear above the menu
Thanks, Nancy
April 21, 2015 at 3:51 pm #432080Hey Nancy!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.html_header_top.html_logo_center .logo { left: 0; -webkit-transform: none; -ms-transform: none; transform: none; } #header_main>.container { margin: 0; }
then go to Enfold theme options > Header and change header height to 267px
Best regards,
YigitApril 21, 2015 at 4:05 pm #432094much better. Thank you for your quick reply.
But … logo image is left-aligned and there is too much space between the logo and the menu. Can you suggest CSS to fix that?
Also, what function do I overload to put in the
if ( is_front_page() ) {
logic so I can show a different logo on the home page?
April 21, 2015 at 4:47 pm #432124Hi!
Please add following code to Quick CSS as well
#header_main>.container { max-width: 100%!important; width: 100%!important; }
and add following code to Functions.php file in Appearance > Editor
add_filter('avf_logo','av_change_logo'); function av_change_logo($logo) { if(is_home() ) { $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png"; } return $logo; }
Regards,
YigitApril 21, 2015 at 4:56 pm #432133Dear Yigit,
Thank you!
Still a bit more help is needed. There is too much space below the interior banner, and the homepage banner is not filling the width.
Nancy
April 21, 2015 at 5:00 pm #432136Hi!
Do you mind creating a temporary admin login and posting it here privately? You are going to need to use a higher header on your home page to display your banner in fullwidth.
Cheers!
YigitApril 21, 2015 at 5:55 pm #432206This reply has been marked as private.April 23, 2015 at 3:46 pm #433534Hey!
Please review your website now. If you do not want to display your homepage logo in fullwidth, please go to Enfold theme options > General Styling and remove following code from bottom of Quick CSS field
.home #header_main>.container { height: 420px!important; } .home #main { padding-top: 457px!important; }
Cheers!
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.