How to Add Button to WordPress Header Menu (No plugin needed!)

  Рет қаралды 53,149

TwP - Helping Creators with Tech

TwP - Helping Creators with Tech

Күн бұрын

Пікірлер: 188
@donaldmeckanzy
@donaldmeckanzy 7 ай бұрын
Thanks for sharing this. It's super helpful
@tipswithpunch
@tipswithpunch 7 ай бұрын
Glad it was helpful!
@juliociamarra
@juliociamarra 2 жыл бұрын
Thank you for this guide, it's AMAZING and very easy to follow.
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Glad it helped Julio!
@darlhouse
@darlhouse 3 жыл бұрын
Thank yo so much!!! I can't tell you how long I have been trying to do this with no luck...very much appreciate you!!
@tipswithpunch
@tipswithpunch 3 жыл бұрын
Glad I could help Darlene!
@DavidLeBlanc
@DavidLeBlanc 3 жыл бұрын
So obvious, which probably explains why I never thought of it. Thanks, Robert, very useful little tip!
@tipswithpunch
@tipswithpunch 3 жыл бұрын
no problemo David. I had to do this on my website recently. And indeed super simple when you know that you can add some custom CSS classes to the menu!
@khurramsoomro1218
@khurramsoomro1218 Жыл бұрын
Fun and easy to implement. thanks chmap!
@tipswithpunch
@tipswithpunch Жыл бұрын
You're welcome!
@SAPrivateSchools
@SAPrivateSchools 2 жыл бұрын
Best type of video! Perfectly executed. I was in and out with exactly what I wanted within 2 minutes. Gets a like and subscribe from me, thanks my man!
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Glad you liked it Darren!
@SAPrivateSchools
@SAPrivateSchools 2 жыл бұрын
@@tipswithpunch Looking a bit strange on mobile though. Do I need different CSS for that or is there perhaps conflicting code somewhere else in the site?
@tipswithpunch
@tipswithpunch 2 жыл бұрын
you probably just need a bit of CSS to fix it :)
@meditaconmarina
@meditaconmarina Жыл бұрын
Amazing video, thank you!!
@tipswithpunch
@tipswithpunch Жыл бұрын
Glad you liked it Marina!
@ce1017
@ce1017 2 жыл бұрын
You are incredible! Easy to understand and worked perfectly!
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Wow, thanks!
@gabriellagasz9008
@gabriellagasz9008 25 күн бұрын
Super awesome! Thank You!
@tipswithpunch
@tipswithpunch 24 күн бұрын
Glad you like it!
@Mr_Web
@Mr_Web 3 жыл бұрын
Hi Rob, which screen recorder do you use? I'm using OBS but I really like the zoom in effect there at 1:14. Is that done in post-production or directly from your screen recording software? Thanks 👍
@tipswithpunch
@tipswithpunch 3 жыл бұрын
I'm also use OBS for screen capture, but I add the zoom during editing. I use Davinci Resolve to edit my videos.
@drewmichaels
@drewmichaels 2 жыл бұрын
Thank you so much!! Helped me do something I didn't know how to 🤣
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Glad I could help!
@iivanadevic
@iivanadevic 3 жыл бұрын
Thank you so much. You helped me a lot and you explained it so well and simple.
@tipswithpunch
@tipswithpunch 3 жыл бұрын
Glad to hear that!😀
@sherion80
@sherion80 2 жыл бұрын
Thank you Robert! Very helpful as always!
@tipswithpunch
@tipswithpunch 2 жыл бұрын
awesome 🙌
@hannahbanana2224
@hannahbanana2224 2 жыл бұрын
Fantastic tutorial, THANK YOU SO MUCH!!!
@tipswithpunch
@tipswithpunch 2 жыл бұрын
You're very welcome!
@NatoyaAmmon
@NatoyaAmmon 3 жыл бұрын
Just what i needed. Thank you!
@tipswithpunch
@tipswithpunch 3 жыл бұрын
You're so welcome Natoya!
@zoom7472
@zoom7472 3 жыл бұрын
Extremely helpful. Thank you so much!
@tipswithpunch
@tipswithpunch 3 жыл бұрын
Glad it was helpful!
@rajasamsam7211
@rajasamsam7211 Жыл бұрын
Your videos calm me down. Great Brother. Also, I was thinking if in responsive mode I can show that button with hamburger icon.
@tipswithpunch
@tipswithpunch Жыл бұрын
Thjanks Raja, yes should be possible on mobile too. But you might need to adjust the code for your mobile menu.
@romains.6190
@romains.6190 2 жыл бұрын
super helpful ! thanks Robert
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Happy to help Romain!
@StephanieKerwin
@StephanieKerwin Жыл бұрын
Thank you so much for this video! It was so helpful :)
@tipswithpunch
@tipswithpunch Жыл бұрын
I'm so glad!
@pedrofilipe8288
@pedrofilipe8288 2 жыл бұрын
Worked perfecly! Thanks man!!
@tipswithpunch
@tipswithpunch 2 жыл бұрын
You're welcome Pedro!
@sergio_grez
@sergio_grez 3 жыл бұрын
amazing! didn't know this could be done!!!
@tipswithpunch
@tipswithpunch 3 жыл бұрын
yeah it's pretty easy with a bit of CSS 😇
@dorian-o6s
@dorian-o6s Жыл бұрын
For everyone who wants to change the color of the text, but can't: this is what you need to do: add !important. So it looks like this: color: #ffffff!important
@tipswithpunch
@tipswithpunch Жыл бұрын
thanks for the tip Dorian!
@juliociamarra
@juliociamarra 2 жыл бұрын
Thank you putting this together. I just noticed that it works as expected, however, the "Red Heart" emoji shows up on Firefox, but not on Google or Bing. Am I missing a step? Thanks again for sharing this guide.
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Hi Julio, does the emoji show at all on Chrome?
@juliociamarra
@juliociamarra 2 жыл бұрын
@@tipswithpunch yes, but not Red. I get the same experience in Bing. The strange thing is that if I use Chrome on my iPhone XS Max, I see the Red Heart...weird. Any ideas?
@tipswithpunch
@tipswithpunch 2 жыл бұрын
ahh, every browser shows those emoji slightly differently, this article has some examples of what I mean: www.lambdatest.com/blog/emoji-compatibility-with-browsers/ But basically some browsers show red heart, and others might show yellow or blue or something. No idea why would they do this.
@tipswithpunch
@tipswithpunch 2 жыл бұрын
But despite these differences, I like to use these emojis because they are native to browsers and there is no need to load an image or svg. So if you need a red heart, then you need to use and image.
@juliociamarra
@juliociamarra 2 жыл бұрын
@@tipswithpunch thank you for your response and the resource. Always learning something new. Thanks again for putting this guide together.
@blackbirdme
@blackbirdme 3 жыл бұрын
Thanks mate, it was very simple and clear.
@tipswithpunch
@tipswithpunch 3 жыл бұрын
Glad it helped
@blackbirdme
@blackbirdme 3 жыл бұрын
@@tipswithpunch i did button and all work well but on Mobile view it show white on white ... How i can change color on mobile version :)
@UncleBillsKitchen
@UncleBillsKitchen 2 жыл бұрын
Thank you Robert. Great content.
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Glad you enjoyed it
@user-ho8ql6ke8n
@user-ho8ql6ke8n 9 ай бұрын
Really Helpful. Simply Amazing. Icon isn't getting displayed, what have I to do?
@tipswithpunch
@tipswithpunch 9 ай бұрын
glad this helped. I'm not sure why it doesn't show up. I can't tell without seeing it.
@soul.rebel1986
@soul.rebel1986 2 жыл бұрын
So awesome! Thank you 🙏🏽
@tipswithpunch
@tipswithpunch 2 жыл бұрын
You're so welcome!
@yssabel25m
@yssabel25m 2 жыл бұрын
Thanks for this
@tipswithpunch
@tipswithpunch 2 жыл бұрын
My pleasure!
@Muse96-nd8rp
@Muse96-nd8rp Жыл бұрын
Hi Rob, great tutorial! Thank you for sharing and it was really helpful. I wonder if there is a way to create 2 different styles of custom buttons on the headers using this method?
@tipswithpunch
@tipswithpunch Жыл бұрын
You could but you need to adjust the code for it to work
@userexperienceconsulting6725
@userexperienceconsulting6725 Жыл бұрын
Brilliant👍
@tipswithpunch
@tipswithpunch Жыл бұрын
thanks!
@evanrees1288
@evanrees1288 Жыл бұрын
This worked very well, thanks! Do you have a tutorial on how you created the moving dust like particles in the background of your website? Thanks!
@tipswithpunch
@tipswithpunch Жыл бұрын
Glad it worked. And yes I do have particles tutorial: kzfaq.info/get/bejne/e5ycaLhlsbDMZ40.html
@MikeBurnsArrangedAccidents
@MikeBurnsArrangedAccidents 2 жыл бұрын
Thanks man!
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Happy to help!
@samanthalundhillmer8860
@samanthalundhillmer8860 Жыл бұрын
Loved this! Your video was so easy to understand. I have my button on my menu and it links perfectly. I am having an issue with the background color. It's there, briefly, when I load the website but disappears after the site loads. Very strange. I'm not sure what is happening. Any ideas? I can link to the website if needed.
@tipswithpunch
@tipswithpunch Жыл бұрын
Glad you liked, sure put the link, and I can check. But sounds like something is overwriting the code.
@samanthalundhillmer8860
@samanthalundhillmer8860 Жыл бұрын
@@tipswithpunch That was my assumption, but I had no idea how to fix it. And the client decided she didn't like it and had me remove it. I'm not too happy about that...
@cindyrecile4923
@cindyrecile4923 2 жыл бұрын
thank you so much!
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Glad it helped!
@yueabreu3414
@yueabreu3414 3 жыл бұрын
copy your code but still the button is not seen, I did place the span as you said but it still does not work, is there any way you can help me?
@tipswithpunch
@tipswithpunch 3 жыл бұрын
sure, what's your website? I can take a look at the structture
@davidfitcher2953
@davidfitcher2953 2 жыл бұрын
Thanks man
@tipswithpunch
@tipswithpunch 2 жыл бұрын
You're welcome!
@mattmitchell7122
@mattmitchell7122 2 жыл бұрын
This is an awesome video - and I have a question! This creates a great new button at the top of my website. But I want to point the button to a Mailchimp signup form. Right now the button just clicks back to my website home page. Do I perhaps create a new page with the signup form and somehow point the button there? Again, awesome and helpful video!🙂
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Hi Matt, thanks for kind words. You could do what you suggest, it's probably the easiest way. It will work perfectly. I have something similar on my website. If you want to make it a bit harder on yourself, you could trigger a Mailchimp popup form when some on clicks on the button. :)
@JuanitaBrazziel
@JuanitaBrazziel 2 жыл бұрын
Thanks!
@tipswithpunch
@tipswithpunch 2 жыл бұрын
my pleasure Juanita, thanks for the tip! :)
@nellietiessen4648
@nellietiessen4648 2 жыл бұрын
@tipswithpunch thank you for the tutorial! Is there a way to put in more buttons in different colours in the menu? thank u :)
@tipswithpunch
@tipswithpunch 2 жыл бұрын
My pleasure, yes there is with a bit of CSS. But I don't advice it as the best practice is to have one call to action button in navbar. The more you put different colors, the more the effect gets diluted.
@nellietiessen4648
@nellietiessen4648 2 жыл бұрын
@@tipswithpunch I´m trying to create a menu with different background-colours for each point in the menu. So the button would not be used as a call to action button, but simply for the background-colour. What do you think? thanks again :)
@aureliojmnz2959
@aureliojmnz2959 3 жыл бұрын
Sweeet..FYI for those working with themes: My theme has several menu options, so I just had to make sure I choose the theme menu and not create a new menu & voila
@tipswithpunch
@tipswithpunch 3 жыл бұрын
Glad to hear you go it done Aurelio!
@filmcrafterscanada
@filmcrafterscanada 2 жыл бұрын
Great guide, thank you so much! The color for the text is not changing, even when I change the hex code; but the color change for the button (fixed & hover) did work. Any ideas what might be preventing the button text color from changing?
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Some code is overwriting it... it's hard to say what without seeing the code.
@filmcrafterscanada
@filmcrafterscanada 2 жыл бұрын
@@tipswithpunch thanks for the response! I will try and figure it out... eventually haha.
@dorian-o6s
@dorian-o6s Жыл бұрын
@@filmcrafterscanada did you figure it out?
@awakinmenshealth4347
@awakinmenshealth4347 Жыл бұрын
great video. however on my mobile version the button is not aligned correctly with the text. it is higher
@tipswithpunch
@tipswithpunch Жыл бұрын
ahaa that can be, the mobile setup depends a bit on your theme. With a bit of CSS you can adjust it, do you have a link where I can see the button?
@nicoladuru1591
@nicoladuru1591 2 жыл бұрын
wooow worked
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Great to hear that Nicola!
@adarshgoyat501
@adarshgoyat501 3 жыл бұрын
Hey Robert, I have applied the codes as you told and its perfect, thank you so much for this tutorial. Actually I'm facing an issue. I want that a new window opens after clicking on the button. Please, Can you help me in this. Please bro!
@tipswithpunch
@tipswithpunch 3 жыл бұрын
Hi Adarsh, here is how: docs.presscustomizr.com/article/314-how-to-open-external-menu-links-in-a-new-tab-with-wordpress
@davebouffard22
@davebouffard22 2 жыл бұрын
This is great! Thanks! One question, the button and colors I changed look fine in the Additional CSS window, but in Elementor, the text color of the button is still my default color from the rest of the menu (blue) but I want the button text to be white, like it is in the Additional CSS window. Any idea why it's not changing in Elementor?
@tipswithpunch
@tipswithpunch 2 жыл бұрын
maybe elementor preview overwrites it somehow... or it could be simply cache... So if you clear the cache and enter elementor preview again it might go away
@alecbolingbroke7516
@alecbolingbroke7516 Жыл бұрын
@@tipswithpunch try adding !important to your CSS. It will override Elementor's settings
@darlhouse
@darlhouse 3 жыл бұрын
Can you do a tutorial on how to add text to the header on mobile? That is another thing I am trying to accomplish and am unable to find a way. I am self taught and do not know enough css to figure it out and some of the tutorials I have tried are not working for me. Thanks for all you do!!
@tipswithpunch
@tipswithpunch 3 жыл бұрын
I think without any coding, this is the closest you can get: www.organizedthemes.com/add-text-to-navigation-menus/ There might a plugin for something like this, maybe I'm just not aware
@userexperienceconsulting6725
@userexperienceconsulting6725 Жыл бұрын
I niticed though that it has the tendancy to place the button from top downwards. Hiw did you detach/ create a space between the top of the header and button?
@tipswithpunch
@tipswithpunch Жыл бұрын
you can add this to the button CSS: margin:20px 20px; this will add 20 pixels of margin, you can change the values to what you like.
@emmanuelanu-oluwatomiwa9071
@emmanuelanu-oluwatomiwa9071 Жыл бұрын
Hi Rob! Thank you for the video. I am currently using Phlox theme, and I found it already has some codes in the additional code section. What can I do?
@tipswithpunch
@tipswithpunch Жыл бұрын
Hi Emmanuel, You can just add the code from this video at the bottom of the editor & keep the other code there.
@emmanuelanu-oluwatomiwa9071
@emmanuelanu-oluwatomiwa9071 Жыл бұрын
Thank you. It worked!! T
@alinep5948
@alinep5948 2 жыл бұрын
Hello, first off thank you for your help, much appreciated. I'm wanting to use this button with a drop down menu item...is it possible as I'm not having luck. The drop down doesn't stay dropped in order to select an item in the drop down...if that makes any sense!
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Hi Aline, from personal experience, buttons are usually not used in combination with drop downs. But again, that's just the common way. To your issue, it sounds like either the code from this video conflicts with the hover effect or then there is an error in the javascript. But it's hard to tell without seeing it
@alinep5948
@alinep5948 2 жыл бұрын
@@tipswithpunch alright, I will look at those areas..thanks for the tip! I'm most impressed at your quick reply. Enjoy your day...
@colbyforyou5809
@colbyforyou5809 Жыл бұрын
the text within my button is indented so far down it lies outside of the button itself. I can't seem to figure out why that would be the case. Any suggestions on what to look into? It seems padding on the sides isn't working at all either
@tipswithpunch
@tipswithpunch Жыл бұрын
do you have it somewhere I can see it? I can check the CSS
@colbyforyou5809
@colbyforyou5809 Жыл бұрын
@@tipswithpunch I ended up deleting site and will retry again. TY for replying
@damienpramaggiore6978
@damienpramaggiore6978 2 жыл бұрын
Thanks for the help! I tried it in my website but there is something weird: the button is displayed (shape, color etc.) but the text is outside the button. I tried to change the width to see if it was because of the word length but it changed nothing. Do you know how I can fix it?
@tipswithpunch
@tipswithpunch 2 жыл бұрын
oh, that's intersting... You can fix it by adding this to the button Just Use Following if you want to wrap the text inside the button white-space:normal !important; word-wrap:break-word; so the new code: .custom-menu-button a{ color: #ffffff; /* Text color */ background-color: #38b6ff; /* Btn bg color */ padding: 10px 10px; /* Space around text */ border-radius: 3px; /* higher number = rounded corners */ border: solid #000000 0px; /* Border color & thickness */ max-height: 40px; /* Max height of button */ white-space:normal !important; word-wrap:break-word; } ... rest of the code
@damienpramaggiore6978
@damienpramaggiore6978 2 жыл бұрын
@@tipswithpunch Thanks a lot!
@xavierc2454
@xavierc2454 2 жыл бұрын
Hi, I am managing a new website and there is a button in the header of one page but I cannot find the code for it and I need to relink it.
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Sorry Xavier, hard to say where it comes without seeing it.
@tihnsorfjw
@tihnsorfjw 2 жыл бұрын
one issue I run into, is whatever the color is of my other header text is, will be the same color of the button text, and I havent been able to override it with code. any suggestions?
@tipswithpunch
@tipswithpunch 2 жыл бұрын
you just need a bit more CSS that targets that specific button. You can just try to add !important at end of the color in the code I provide. so in CSS: color: #FFF!important; Notice the !, it's there on purpose.
@ballymeredov6891
@ballymeredov6891 2 жыл бұрын
Thats worked, thanks for the tip. But my buttons heigh is stretched along the menus hegh. How to fix this?
@tipswithpunch
@tipswithpunch 2 жыл бұрын
hmm strange the code I provide should restict the max-height to 40px
@sapphire.villafana
@sapphire.villafana 2 жыл бұрын
mine too. did you ever find a fix?
@luziasousa436
@luziasousa436 2 жыл бұрын
Hi, help. the button is fitting perfect on desketop, but on mobile it's looking weird. Is there a way to set different width for mobile and desktop? i am from Brazil. 😍
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Hi Luzia, yes it's possible but you need a bit of custom CSS code.
@Creathrod
@Creathrod 3 жыл бұрын
👍
@tipswithpunch
@tipswithpunch 3 жыл бұрын
🙌
@Creathrod
@Creathrod 3 жыл бұрын
@@tipswithpunch 👊
@camillathompson5702
@camillathompson5702 3 жыл бұрын
Hi, I Have changed the colour of the button but cant change the colour of the text?
@tipswithpunch
@tipswithpunch 3 жыл бұрын
wow that's not good. Did you change the value of "color", if you did and it didn't work then your theme is somehow overwriting it. In that case you can add !important to the end. So something like color: #ffffff!important;
@sybaritesofverona1548
@sybaritesofverona1548 2 жыл бұрын
Hi! Thanks for the video- very useful and the button is up and running - buuut- I'm now stuck. I want to link the button to an actual sign up form!! I have mailchimp integrated but for some reason, it doesn't work with this when I put in the shortcode. In any case, I'm completely clueless and perhaps doing it all incorrectly anyway. I'm trying to grow my followers but if no sign-up button ?? Sigh
@tipswithpunch
@tipswithpunch 2 жыл бұрын
maybe this is helpful: kzfaq.info/get/bejne/nr99lLSevse3pmQ.html You need away to trigger the popup
@fashdoc5636
@fashdoc5636 2 жыл бұрын
Thanks for responding. I have integrated a pop-up which is active when the user scrolls down the home page. I will try and link another to the signup button in the header and keep you posted . Thanks for your help
@Martinkka1488
@Martinkka1488 2 жыл бұрын
It worked great! But now I changed the theme of my website, the button is still there, however, the text color won't change. It's white (as the color of the text of the website) and I need it black. Can you help?
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Hi Marina, I show how to update the colors in the video: kzfaq.info/get/bejne/oJyKntyEm93WmZs.html Or do you mean it doesn't updated even after you changed the hex color code? if so then do this: background-color: #38b6ff!important; So you need to add "!important" to the end of HEX code, and don't for get the ";" at the end I hope this helps
@Martinkka1488
@Martinkka1488 2 жыл бұрын
@@tipswithpunch It doesn't change the color even after I change the hex code. 🤷‍♀️ It worked before, but after I changed the theme the text color remains the same. 🤷‍♀️
@tipswithpunch
@tipswithpunch 2 жыл бұрын
I can check it, if you send your website url here or to robert(at)punchsalad.com
@Martinkka1488
@Martinkka1488 2 жыл бұрын
It's okay. I changed the theme back and it works. 😊 Besides, I haven't launched the website yet. 😊 Thank you for your help. 😊
@tipswithpunch
@tipswithpunch 2 жыл бұрын
🙌
@jpthinks
@jpthinks 2 жыл бұрын
I got it mostly there but my text wont turn white. I did use the hex code any idea?
@tipswithpunch
@tipswithpunch 2 жыл бұрын
maybe something is over writing it in your theme. do you have a link to your website? I can take a quick look
@kinggonzales2067
@kinggonzales2067 2 жыл бұрын
Can I change the location of the button like upper of my menu bars?
@tipswithpunch
@tipswithpunch 2 жыл бұрын
nah, this code is specifically for the WP menu
@nitishsharma2079
@nitishsharma2079 3 жыл бұрын
Hello, I would like to add a full custom menu header on my website, I already have a menu on the website, I would like to create a custom one over it do you have any code for that?
@tipswithpunch
@tipswithpunch 3 жыл бұрын
I'm sure there is, but you would need to know some PHP to modify it to your liking...
@htrbd
@htrbd Жыл бұрын
pleas help the button is invisble in tab and mobile
@tipswithpunch
@tipswithpunch Жыл бұрын
maybe it's in the menu? So when you open the menu does it appear there?
@SkymaxVisuals
@SkymaxVisuals 9 ай бұрын
How do I change the height of the button on Mobile? On PC, it's good, but on mobile, it's clipped.
@tipswithpunch
@tipswithpunch 9 ай бұрын
sorry late reply, you can add below to the code. ANd just adjust the 40px to whatever you need. @media only screen and (max-width: 768px) { .custom-menu-button a{ height: 40px; } }
@SkymaxVisuals
@SkymaxVisuals 9 ай бұрын
@@tipswithpunch thank you!
@cars12h72
@cars12h72 2 жыл бұрын
thanks a lot but how to adjust it for tablet or mobile devices all at the samt time
@tipswithpunch
@tipswithpunch 2 жыл бұрын
you would need a bit of custom CSS to adjust it
@cars12h72
@cars12h72 2 жыл бұрын
@@tipswithpunch Yeah already did.
@juliemarechal5826
@juliemarechal5826 2 жыл бұрын
Hi Rob, I Have changed the color of the button but I cannot change the color of the text? The CSS on WP is the following one : /* Adjust button */ .custom-menu-button a{ color: #ffffff; /* Text color */ background-color: #2EA3F2; /* Btn bg color */ padding: 10px 9px; /* Space around text */ border-radius: 15px; /* higher number = rounded corners */ border: solid #2EA3F2 2px; /* Border color & thickness */ max-height: 30px; /* Max height of button */ } /* Adjust icon */ .custom-menu-button a:before{ content: ''; /* Change icon here */ margin-right:5px; /* space between icon & text on right */ } /* Adjust button on hover or remove the whole thing */ .custom-menu-button a:hover{ color: #ffffff; /* Hover color */ background-color: #E9E9E9; /* Btn hover bg color */ border: solid #000 0px; /* Hover border color & thickness */ } /* Remove default hover on links*/ .custom-menu-button:hover{ text-decoration: none; color:#fff!important; } Thanks a lot for your help!
@tipswithpunch
@tipswithpunch 2 жыл бұрын
Try to change the CSS of text to: color: #ffffff!important; The !important, should overwrite everything else. Just change the #ffffff to the color you want
@heshamahmed9781
@heshamahmed9781 3 жыл бұрын
How can I change the location from right to left please?
@tipswithpunch
@tipswithpunch 3 жыл бұрын
Just place the button link as first in WordPress menu
@sportsbettingbinarysystems5502
@sportsbettingbinarysystems5502 2 жыл бұрын
Mine has a weird # error in front of the button label.
@tipswithpunch
@tipswithpunch 2 жыл бұрын
sorry to hear that. So you see some text in your button or what?
@sportsbettingbinarysystems5502
@sportsbettingbinarysystems5502 2 жыл бұрын
@@tipswithpunch Yes. I found a different tutorial on Google search but I see you've helped many people so that's still awesome.
@HOLBAG
@HOLBAG 2 жыл бұрын
hi, how to move menu header location for exampel from top to middle of the page? Thanks
@tipswithpunch
@tipswithpunch 2 жыл бұрын
your theme needs to support that, or you can try with some header builder. Another thing is, you can create a "fake" navbar, so just create an element in your page builder and place it on pages you need it. (for example in Elementor pro, you can just reuse same element on any page)
@HOLBAG
@HOLBAG 2 жыл бұрын
@@tipswithpunch i built with astra and mountain did support this?
@HOLBAG
@HOLBAG 2 жыл бұрын
@@tipswithpunch I built with Astra and Mountain theme did support this?
@tipswithpunch
@tipswithpunch 2 жыл бұрын
As far I know Astra doesn't support, mountain theme I haven't used. The "fake" navbar can work with any page.
@d-documentarios2058
@d-documentarios2058 3 жыл бұрын
Hi friend, I would like to know how can I add css code for my fibosearch bar on my oceanwp mobile menu, do you know how to code this?
@tipswithpunch
@tipswithpunch 3 жыл бұрын
yeah probably it's possible. But for the code you would need to reach out to CSS developer freelancer, for example on fiverr.
@d-documentarios2058
@d-documentarios2058 3 жыл бұрын
@@tipswithpunch nice, thanks for your time!
@lifechangingwords7466
@lifechangingwords7466 Жыл бұрын
Hi Robert, great video. I want to add a Whatsapp button there. How would I link to it?
@tipswithpunch
@tipswithpunch Жыл бұрын
You would need to get the whatsapp logo & their green color and then add a link whatsapp... e.g. api.whatsapp.com/send phone=12345678&text=This%20is%20a%20test See this article for explanation: www.wati.io/blog/whatsapp-chat-button-on-website/
@sh4r3cat94
@sh4r3cat94 Жыл бұрын
still not see my button
@tipswithpunch
@tipswithpunch Жыл бұрын
Sorry to hear that, maybe you have a caching plugin? IF you do just clear the cache, and it should appear.
@markj2297
@markj2297 Жыл бұрын
How does it look on mobile
@tipswithpunch
@tipswithpunch Жыл бұрын
it depends on your setup, should be just a button inside the menu
@earthgraduate726
@earthgraduate726 3 жыл бұрын
It's A button , how can you put two or more ? By the way , you didn't show how to change its place to right or left .
@tipswithpunch
@tipswithpunch 3 жыл бұрын
From right to left, you just move the link to the first position inside the menu section. I don't advise putting more than 1 button, because you don't want to have many competing CTAs. But to have multiple buttons, you just need to add the CSS class to the links in the menu structure... that should work. If you need to style the buttons differently, then you need to change the class name of the code & the part you put in the CSS class in the menu structure.
@earthgraduate726
@earthgraduate726 3 жыл бұрын
@@tipswithpunch is there any page builder or plugin so we won't need to write codes ? Too much hassle for a button ! The same thing for adding a widget in header !
@tipswithpunch
@tipswithpunch 2 жыл бұрын
You can check any header builder. Elementor has one, but I believe it's only in the paid version.
@mohdasgharnaqvi5955
@mohdasgharnaqvi5955 Жыл бұрын
u lovely
@tipswithpunch
@tipswithpunch Жыл бұрын
thanks!
@athenaarmani8359
@athenaarmani8359 3 жыл бұрын
you are soooooooooooo cute :)thx a lot
@tipswithpunch
@tipswithpunch 3 жыл бұрын
😇 thanks!
@torahstruthsobiblicalbayan419
@torahstruthsobiblicalbayan419 3 жыл бұрын
molecular structure not the same not a universal law
@tipswithpunch
@tipswithpunch 3 жыл бұрын
🤔
How to Easily Add Buttons to the Nav Menu in WordPress (no plugins)
15:51
Build That Website
Рет қаралды 9 М.
Add Button to WordPress Header Navigation Menu
6:54
Greg Narayan
Рет қаралды 50 М.
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 39 МЛН
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 11 МЛН
Кадр сыртындағы қызықтар | Келінжан
00:16
How to Build Headers and Footers Using Elementor for FREE
23:07
Riad Mahmud
Рет қаралды 71 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 941 М.
Master SEO Content with ChatGPT: Learn Best Hacks in 10 minutes
11:40
Website Learners
Рет қаралды 591 М.
13 Things To Remove From Your Website Immediately
12:33
Orbit Media Studios
Рет қаралды 307 М.
Elementor Header Tutorial: 100% FREE Method
19:48
Wes McDowell
Рет қаралды 173 М.
Web Scraping Made EASY With Power Automate Desktop - For FREE & ZERO Coding
13:11
How to Deliver a Wordpress Website to a Client in 8 steps
21:10
Rino de Boer
Рет қаралды 387 М.
How to create a CSS navigation bar in 6 minutes! 🧭
6:28
Bro Code
Рет қаралды 274 М.
路飞偏心小路飞#路飞 #海贼王
0:39
路飞与唐舞桐
Рет қаралды 6 МЛН
Опасная Зубная Паста! 😱
0:27
ШОК
Рет қаралды 1,4 МЛН
Hulk Beautiful Female Bodybuilder Motivation #motivation #shorts
0:19
WORLD FITNESS GIRL
Рет қаралды 43 МЛН
Hulk Beautiful Female Bodybuilder Motivation #motivation #shorts
0:19
WORLD FITNESS GIRL
Рет қаралды 43 МЛН