Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #346791

    gimmechefs
    Participant

    Good morning!

    I have activated x child theme and altered top navbar code as per your instructions in this thread.

    https://community.theme.co//forums/topic/custom-login-page-and-social-menu-topbar-replacement/

    It works fine on Safari on iphone but not on any desktop browsers or chrome on iphone.

    This is an image capture from my desktop on chrome, but it looks the same on all desktop browsers as well as chrome on iphone.

    https://drive.google.com/file/d/0BxDDN4obw13YcmEyMDR3Z3NOTjA/view?usp=sharing

    Any help would be greatly appreciated.

    Please disregard message below. It’s nonsense. Is there anyway we can delete posts we make on the forum. It would save you guys loads of time and us embarrassment.

    Regards
    Max

    #346799

    gimmechefs
    Participant

    Sorry, I got the above wrong.

    It works fine on safari on iphone, but displays like the image in all desktop browsers and chrome on iphone.

    Cheers
    MAx

    #346920

    Christopher
    Moderator

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #347017

    gimmechefs
    Participant

    Hi

    Thanks for getting back to me. I will put my login details in a private reply below.

    Couple of things.

    I have disabled the under construction add on.

    Please go to the site first and see the problem. http://www.gimmechefs.com (top nav bar button problem)

    Then login to my wordpress account.

    If you are logged in it all works perfectly in cornerstone and “view site” from main dashboard in wordpress.

    It’s when you are logged out (or in another browser) that you will see the problem.

    Hope this helps
    Max

    #347022

    gimmechefs
    Participant
    This reply has been marked as private.
    #347031

    Rue Nel
    Moderator

    Hello There,

    Thanks for providing the access information to your site. After further investigation, it is not showing the register link url because registration is disabled in your site. It will only display “Register” when it is allowed. You can set this up in Settings > General > Membership

    Now it most website the registration is disable of course, what you can do is change your code or just totally remove this line: <div class="x-btn"><?php wp_register('', ''); ?></div> or replace it with a different button that will point to another or your page containing a sign up form.

    Let us know if this has been helpful to you.

    #347037

    gimmechefs
    Participant

    Um, Im talking about the buttons layout, not any links.

    The left button is not the same as the right button in top nav bar

    NOTE: You have to log out of the wp admin to see the button layout error.

    Thanks

    #347055

    Rue Nel
    Moderator

    Hello There,

    Yes, that’s what I am looking at. The thing is, you are using this line of code here: <?php wp_register('', ''); ?> which will display “Register” text when you are not logged in and will display “Site Admin” when you are logged in. And the code cannot display the “Register” link because registration is disabled. That is why the button doeosn’t looked good because it doens’t have a text in it.

    For more details about this piece of code, you can check out the Codex.
    https://codex.wordpress.org/Function_Reference/wp_register

    Now what I want you to do is at least try to enable or allow anyone to register so that you will see the difference.

    Hope this make sense. Thank you.

    #347339

    gimmechefs
    Participant

    Ahh

    Im so sorry.

    I got it now. Thanks for your help.

    You were very patient.

    Cheers
    MAx

    #347463

    Rad
    Moderator

    You’re welcome Max!