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

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ธ.ค. 2024

ความคิดเห็น • 191

  • @JuanitaBrazziel
    @JuanitaBrazziel 2 ปีที่แล้ว

    Thanks!

    • @tipswithpunch
      @tipswithpunch  2 ปีที่แล้ว

      my pleasure Juanita, thanks for the tip! :)

  • @donaldmeckanzy
    @donaldmeckanzy 11 หลายเดือนก่อน +1

    Thanks for sharing this. It's super helpful

    • @tipswithpunch
      @tipswithpunch  11 หลายเดือนก่อน +1

      Glad it was helpful!

  • @juliociamarra
    @juliociamarra 3 ปีที่แล้ว +1

    Thank you for this guide, it's AMAZING and very easy to follow.

  • @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!!

  • @snovels
    @snovels 2 หลายเดือนก่อน

    You're the man, Robert! THANK YOU!! :)

  • @DavidLeBlanc
    @DavidLeBlanc 3 ปีที่แล้ว

    So obvious, which probably explains why I never thought of it. Thanks, Robert, very useful little tip!

    • @tipswithpunch
      @tipswithpunch  3 ปีที่แล้ว +1

      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!

  • @ce1017
    @ce1017 2 ปีที่แล้ว

    You are incredible! Easy to understand and worked perfectly!

  • @khurramsoomro1218
    @khurramsoomro1218 2 ปีที่แล้ว +1

    Fun and easy to implement. thanks chmap!

  • @SAPrivateSchools
    @SAPrivateSchools 2 ปีที่แล้ว +3

    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 :)

  • @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.

  • @MikeBurnsArrangedAccidents
    @MikeBurnsArrangedAccidents 2 ปีที่แล้ว

    Thanks man!

  • @sherion80
    @sherion80 2 ปีที่แล้ว

    Thank you Robert! Very helpful as always!

  • @drewmichaels
    @drewmichaels 2 ปีที่แล้ว

    Thank you so much!! Helped me do something I didn't know how to 🤣

  • @StephanieKerwin
    @StephanieKerwin ปีที่แล้ว

    Thank you so much for this video! It was so helpful :)

  • @hannahbanana2224
    @hannahbanana2224 3 ปีที่แล้ว

    Fantastic tutorial, THANK YOU SO MUCH!!!

  • @Mr_Web
    @Mr_Web 3 ปีที่แล้ว +2

    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 ปีที่แล้ว +3

      I'm also use OBS for screen capture, but I add the zoom during editing. I use Davinci Resolve to edit my videos.

  • @gabriellagasz9008
    @gabriellagasz9008 4 หลายเดือนก่อน

    Super awesome! Thank You!

    • @tipswithpunch
      @tipswithpunch  4 หลายเดือนก่อน +1

      Glad you like it!

  • @SameerAhmar
    @SameerAhmar ปีที่แล้ว

    Really Helpful. Simply Amazing. Icon isn't getting displayed, what have I to do?

    • @tipswithpunch
      @tipswithpunch  ปีที่แล้ว

      glad this helped. I'm not sure why it doesn't show up. I can't tell without seeing it.

  • @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

  • @romains.6190
    @romains.6190 2 ปีที่แล้ว

    super helpful ! thanks Robert

  • @pedrofilipe8288
    @pedrofilipe8288 2 ปีที่แล้ว

    Worked perfecly! Thanks man!!

  • @iivanadevic
    @iivanadevic 3 ปีที่แล้ว +1

    Thank you so much. You helped me a lot and you explained it so well and simple.

  • @zoom7472
    @zoom7472 3 ปีที่แล้ว

    Extremely helpful. Thank you so much!

  • @NatoyaAmmon
    @NatoyaAmmon 3 ปีที่แล้ว

    Just what i needed. Thank you!

  • @sergio_grez
    @sergio_grez 3 ปีที่แล้ว

    amazing! didn't know this could be done!!!

    • @tipswithpunch
      @tipswithpunch  3 ปีที่แล้ว +1

      yeah it's pretty easy with a bit of CSS 😇

  • @UncleBillsKitchen
    @UncleBillsKitchen 2 ปีที่แล้ว

    Thank you Robert. Great content.

  • @evanrees1288
    @evanrees1288 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      Glad it worked. And yes I do have particles tutorial: th-cam.com/video/E6l5U4LJh7Y/w-d-xo.html

  • @juliociamarra
    @juliociamarra 3 ปีที่แล้ว +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  3 ปีที่แล้ว +1

      Hi Julio, does the emoji show at all on Chrome?

    • @juliociamarra
      @juliociamarra 3 ปีที่แล้ว +1

      @@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  3 ปีที่แล้ว

      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  3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      @@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 :)

  • @yuegaming-yt
    @yuegaming-yt 3 ปีที่แล้ว +1

    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

  • @soul.rebel1986
    @soul.rebel1986 2 ปีที่แล้ว

    So awesome! Thank you 🙏🏽

  • @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 :)

  • @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...

  • @yssabel25m
    @yssabel25m 2 ปีที่แล้ว

    Thanks for this

  • @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  ปีที่แล้ว +1

      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

  • @filmcrafterscanada
    @filmcrafterscanada 3 ปีที่แล้ว

    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  3 ปีที่แล้ว +1

      Some code is overwriting it... it's hard to say what without seeing the code.

    • @filmcrafterscanada
      @filmcrafterscanada 3 ปีที่แล้ว

      @@tipswithpunch thanks for the response! I will try and figure it out... eventually haha.

    • @dorian-o6s
      @dorian-o6s ปีที่แล้ว

      @@filmcrafterscanada did you figure it out?

  • @uex-c
    @uex-c 2 ปีที่แล้ว

    Brilliant👍

  • @uex-c
    @uex-c 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      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.

  • @cindyrecile4923
    @cindyrecile4923 3 ปีที่แล้ว

    thank you so much!

  • @alinep5948
    @alinep5948 3 ปีที่แล้ว

    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  3 ปีที่แล้ว +1

      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 3 ปีที่แล้ว

      @@tipswithpunch alright, I will look at those areas..thanks for the tip! I'm most impressed at your quick reply. Enjoy your day...

  • @awakinmenshealth4347
    @awakinmenshealth4347 2 ปีที่แล้ว

    great video. however on my mobile version the button is not aligned correctly with the text. it is higher

    • @tipswithpunch
      @tipswithpunch  2 ปีที่แล้ว

      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?

  • @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?

  • @davebouffard22
    @davebouffard22 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

      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

  • @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. :)

  • @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.

  • @davidfitcher2953
    @davidfitcher2953 3 ปีที่แล้ว

    Thanks man

  • @kinggonzales2067
    @kinggonzales2067 3 ปีที่แล้ว

    Can I change the location of the button like upper of my menu bars?

    • @tipswithpunch
      @tipswithpunch  3 ปีที่แล้ว

      nah, this code is specifically for the WP menu

  • @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.

  • @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.

  • @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  ปีที่แล้ว +1

      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

  • @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

  • @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.

  • @jpthinks
    @jpthinks 3 ปีที่แล้ว

    I got it mostly there but my text wont turn white. I did use the hex code any idea?

    • @tipswithpunch
      @tipswithpunch  3 ปีที่แล้ว

      maybe something is over writing it in your theme. do you have a link to your website? I can take a quick look

  • @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...

  • @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;

  • @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

  • @HOLBAG
    @HOLBAG 3 ปีที่แล้ว

    hi,
    how to move menu header location for exampel from top to middle of the page?
    Thanks

    • @tipswithpunch
      @tipswithpunch  3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      @@tipswithpunch i built with astra and mountain
      did support this?

    • @HOLBAG
      @HOLBAG 3 ปีที่แล้ว

      @@tipswithpunch I built with Astra and Mountain theme
      did support this?

    • @tipswithpunch
      @tipswithpunch  3 ปีที่แล้ว

      As far I know Astra doesn't support, mountain theme I haven't used.
      The "fake" navbar can work with any page.

  • @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

  • @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 ปีที่แล้ว +1

      Hi Marina, I show how to update the colors in the video: th-cam.com/video/j6ZkyS6wrig/w-d-xo.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 ปีที่แล้ว

      🙌

  • @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!

  • @tioluwauniquepathnigeria2965
    @tioluwauniquepathnigeria2965 หลายเดือนก่อน

    thanks but didnt work on oceanwp theme

  • @sybaritesofverona1548
    @sybaritesofverona1548 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

      maybe this is helpful: th-cam.com/video/hYMaQmYaSv0/w-d-xo.html
      You need away to trigger the popup

    • @fashdoc5636
      @fashdoc5636 3 ปีที่แล้ว

      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

  • @nicoladuru1591
    @nicoladuru1591 3 ปีที่แล้ว

    wooow worked

  • @SkymaxVisuals
    @SkymaxVisuals ปีที่แล้ว

    How do I change the height of the button on Mobile? On PC, it's good, but on mobile, it's clipped.

    • @tipswithpunch
      @tipswithpunch  ปีที่แล้ว +1

      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 ปีที่แล้ว

      @@tipswithpunch thank you!

  • @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?

  • @markj2297
    @markj2297 2 ปีที่แล้ว

    How does it look on mobile

    • @tipswithpunch
      @tipswithpunch  2 ปีที่แล้ว

      it depends on your setup, should be just a button inside the menu

  • @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

  • @aureliojmnz2959
    @aureliojmnz2959 3 ปีที่แล้ว +1

    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!

  • @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.

  • @Creathrod
    @Creathrod 3 ปีที่แล้ว +1

    👍

  • @lifechangingwords7466
    @lifechangingwords7466 2 ปีที่แล้ว

    Hi Robert, great video. I want to add a Whatsapp button there. How would I link to it?

    • @tipswithpunch
      @tipswithpunch  2 ปีที่แล้ว

      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.

  • @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 ปีที่แล้ว +1

      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  3 ปีที่แล้ว +1

      You can check any header builder. Elementor has one, but I believe it's only in the paid version.

  • @mohdasgharnaqvi5955
    @mohdasgharnaqvi5955 ปีที่แล้ว

    u lovely

  • @athenaarmani8359
    @athenaarmani8359 3 ปีที่แล้ว

    you are soooooooooooo cute :)thx a lot

  • @torahstruthsobiblicalbayan419
    @torahstruthsobiblicalbayan419 3 ปีที่แล้ว +1

    molecular structure not the same not a universal law

  • @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

  • @meditaconmarina
    @meditaconmarina ปีที่แล้ว

    Amazing video, thank you!!