-
Author
-
February 24, 2016 at 14:54 #106221jazzbuzzParticipant
Hi there,
how can I make the search icon only visible to logged in users?
Thank you.
February 25, 2016 at 04:11 #106510LauraModeratorHello, you will need to use a php code with some css at your header.php, i can share the code with you, first copy your header.php at the child theme
Let me know if you want to do it this way 🙂Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
February 26, 2016 at 17:33 #106874LauraModeratorHello, add this to header.php of child theme, let me know if it works
<?php if ( is_user_logged_in() ) { } else { ?>
<style type=”text/css” media=”screen”>
li#nav-menu-item-search {
display: none;
}
</style>
<?php } ?>Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
February 28, 2016 at 18:59 #107237LauraModeratorYay 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
You must be logged in to reply to this topic.