-
AuthorPosts
-
July 31, 2015 at 8:21 pm #346791
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
MaxJuly 31, 2015 at 8:27 pm #346799Sorry, 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
MAxAugust 1, 2015 at 12:31 am #346920Thanks 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.
August 1, 2015 at 3:48 am #347017Hi
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
MaxAugust 1, 2015 at 3:52 am #347022This reply has been marked as private.August 1, 2015 at 4:16 am #347031Hello 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.
August 1, 2015 at 4:32 am #347037Um, 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
August 1, 2015 at 4:59 am #347055Hello 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_registerNow 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.
August 1, 2015 at 5:51 pm #347339Ahh
Im so sorry.
I got it now. Thanks for your help.
You were very patient.
Cheers
MAxAugust 1, 2015 at 11:44 pm #347463You’re welcome Max!
-
AuthorPosts