-
AuthorPosts
-
November 9, 2017 at 6:00 pm #874799
I’d like to make there logo on the home page 3 times bigger but only when the menu is transparent and only on the homepage – could you please advise?
November 9, 2017 at 7:42 pm #874815please do adopt this to your homepage url and alternate logo url –
and do this into functions.php file of your child-theme:function custom_logo_home(){ if( is_home() ) { ?> <script> jQuery(".subtext img.alternate").attr("src", "https://url_to_your_site/wp-content/uploads/3times.png"); </script> <?php } } add_action('wp_footer', 'custom_logo_home');to have it bigger it will be nice to see it live to give the right css rules to you .
Espacialy there have to be some overflow:visible settings.
You can see a testingpage (not home but a page on my server) : https://webers-testseite.de/elegant/different-logo-on-transparent-case/the img.alternate is the logo which is shown if transparency header is seen.
But i don’t know if there is such a class (img.alternate) if you haven’t put in something to the enfold options dialog of transparency header.
So please do an alternative logo to that field even if you don’t have any other transparent page)-
This reply was modified 7 years, 11 months ago by
Guenni007.
November 11, 2017 at 7:27 pm #875568Hi danswebservices,
Is Guenni007’s solution working for you?
Best regards,
VictoriaNovember 11, 2017 at 8:22 pm #875580there has to be made css adjustments. But – as said above – without a live view not possible.
November 13, 2017 at 5:54 am #875955November 29, 2017 at 6:45 pm #883132This reply has been marked as private.December 4, 2017 at 5:50 am #884523Hi,
Please add this css code in the Quick CSS field.
.home .av_header_transparency.av_alternate_logo_active .logo a .subtext img { max-height: 500px !important; }Adjust the value as needed.
Best regards,
IsmaelDecember 13, 2017 at 9:45 pm #888562This reply has been marked as private.December 14, 2017 at 2:41 am #888703 -
This reply was modified 7 years, 11 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
