Hello all
My website : http://www.lenainbraillard.fr
How can modify the meta widget to show only “inscription/connexion” link ?
How can add a widget in secondary (or top) menu ?
Thanks a lot for your help.
Hi Dominique!
Add this to your custom CSS.
.widget_meta > ul > li:nth-child(1), .widget_meta > ul > li:nth-child(2) {
display: block;
}
.widget_meta > ul > li { display: none; }
Best regards,
Elliott
Thanks for your help.
My meta is reduced. PErfect.
How can I add a widget in the secondary menu ?
Or can create a icon/link in the secondary menu only for Inscription/Connexion link ?
Hey!
Add this to your custom CSS.
.widget_meta > ul > li:nth-child(2) a::before {
background: url("URL to your icon");
color: red;
content: "A";
display: inline-block;
height: 20px;
left: 0;
margin-right: 10px;
position: relative;
top: 0;
width: 20px;
}
And then change “URL to your icon” with the image URL you want to use.
Best regards,
Elliott
Hello
I come back to work on my website.
Thanks for your help.
But your last CSS code doesn’t help me.
I will try to be much clear in my wish.
I want to disable the sidebar, and I know how to do it.
But before, I need to add a login link (or icon or widget) in the secondary menu (that appears on the page top)
I know to do appear the secondary menu but I don’t know how add this login link (or icon or widget) in this secondary menu.
Could you help me, please, to satisfy a funny wish ? ^^
Hey!
Please refer to this post – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
Best regards,
Yigit
Sorry, I’ve not a lot of time to try changings.
I tried to add a widget area to the header with the code in functions.php, but a “fatal error ” message appears immediately.
Have you an idea why ?
I used another solution:
https://kriesi.at/support/topic/connexion-icon-with-others-social-icons/
Thanks for all your helps.
Problem resolved. Thanks to all.