Home › Forums › Pro Themes › Biography Pro › custom link in menu looks always like current active
- This topic has 20 replies, 2 voices, and was last updated 6 years, 9 months ago by
wensolutions.
-
AuthorPosts
-
April 27, 2018 at 5:10 pm #70854
Christoph Müller
Participantif you add a custom link to your menu, this link will be always displayed as currentr active (colored line above the link).
do anyone knows how to fix this?
any help would be appreciated.April 30, 2018 at 12:37 am #70940wensolutions
KeymasterHello @muellerc,
Can you post your site URL so that we could look into the issue and provide the precise fix?
Thank you.
Best Regards!!
April 30, 2018 at 6:48 pm #70997Christoph Müller
Participanthi, it is http://www.holz-gentsch.de thanks
April 30, 2018 at 11:59 pm #71026wensolutions
KeymasterHello @muellerc,
When we inspected your site URL we were unable to find the issue that you have mentioned as you can see in below given screenshots:
If we are missing something then please let us know so that we can help you further.
Thank you.
Best Regards!!
May 1, 2018 at 5:03 am #71037Christoph Müller
Participantwhy you dont see the background picture: http://prntscr.com/jcade6
there you can see. the first button is ok, no line above. but the other links always have the line above, I would like to have it only on mouse over.h
May 1, 2018 at 6:47 am #71040wensolutions
KeymasterHello @muellerc,
To remove the border line above the menu items use below given CSS.
For this go to Admin Panel > Appearance > Customize > Additional CSS and paste below given CSS.
ul#primary-menu li a:after { content: none !important; }
Hope this helps.
Best Regards!!
May 1, 2018 at 7:28 am #71042Christoph Müller
Participantthank you very much.
now the background picture has gone also on my view. could you please check or should I open new thread?May 1, 2018 at 8:17 am #71058wensolutions
KeymasterHello @muellerc,
When we inspected your site URL we were unable to find the image in the header section.
So please make sure to upload the proper image by going to Admin Panel > Appearance > Customize > Header Image and publish the settings.
Hope this helps.
Kindly let us know if the issue still exist.
Thank you.
Best Regards!!
May 1, 2018 at 3:26 pm #71074Christoph Müller
ParticipantThis is what I’ve done before. now suddenly it appeared again. strange.
just now I can see the navigation menu to check if the css works, but unfortunatey there is now no mouse over effect.
May 1, 2018 at 3:42 pm #71075Christoph Müller
Participantregarding background: in sourcecode you can see that there is the path to my local installation (where it was originally installed). I tried to change it in Header section but the path doesnt update. what can I do?
(suddenly appeared = I started xampp :D)May 1, 2018 at 4:51 pm #71077Christoph Müller
Participantok, banner image is fixed, I’ve corrected it in database.
so now only 2 questions left:
1. bring back the mouseover effect in navigation
2. (the very last question): how can I display the masterhead on a normal content site like: http://www.holz-gentsch.de/restauration/ . There I would really like to have the head of home-site.
I really appreciate your help.
May 2, 2018 at 12:33 am #71090wensolutions
KeymasterHello @muellerc,
Nice to know that your issue related to the banner image is resolved.
Now to add the hover effect over the menu item use below given CSS by going to Admin Panel > Appearance > Customize > Additional CSS.
#site-navigation #primary-menu li a:before { content: '' !important; background: rgba(0, 150, 136, 0) none repeat scroll 0 0; top: 0; display: inline-block; height: 1px; left: 0; margin: auto; position: absolute; right: 0; width: 50px; } #site-navigation #primary-menu li a:hover:before { background-color: #ffdb46; }
Now to have the header like in the front page in other pages as well, you have to add below given code in your child theme functions.php.
You can create the child theme manually or simply create the child theme using the plugin given below:
https://wordpress.org/plugins/wp-child-theme-generator/
After activating the child theme in your child theme’s functions.php file add below given code:
https://gist.github.com/Steeru/f39c02b7b2e0651086e159501d8d7f9c
Hope this helps.
Best Regards!!
May 2, 2018 at 5:05 am #71099Christoph Müller
Participantnavigation is working. thanks!
I created child theme with suggested plugin and added your code to the functions.php of the child theme. but it didnt changed anything.
do I have to activate the child theme? If I do, almost all of my customizations are gone and the standard demo content will be loaded…
May 2, 2018 at 5:54 am #71100wensolutions
KeymasterHello @muellerc,
Yes, you do have to activate the child theme.
Now to import all the customizer setting to the child theme add below given code in your child theme functions.php file.
https://gist.github.com/Steeru/5616aca7baa0493f78ceb5fa081bdc1e
Hope this helps.
Best Regards!!
May 2, 2018 at 6:33 am #71101Christoph Müller
ParticipantExcellent!
sorry, but now a new thing appeared: on navigation mouseover the links are underlined.
thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.