Adding “login” to horizontal menu bar
-
My site https://kristalmiller.com uses the MyPoker theme. There is a “register” button positioned absolute right on the horizontal menu bar. I’m trying to put a Login button right before that with no luck.
In the css style sheet after this…
#pages li#siteadmin{position:absolute;right:0;top:0;}
I added this for positioning the login button…
#pages li#siteadminl{position:absolute;right:25px;top0;}
I then modified header.php by adding the second line of the following…
<?php wp_register(‘<li id=”siteadmin”>’,”); ?>
<?php wp_loginout(‘<li id=”siteadminl”>’,”); ?>But what I end up with is the register button first, login next, and the two of them stuck together (even if I modify the position on siteadminl. If you click one of the buttons you get the correct results, but how do I get them to position in the correct order and with space between the buttons?
- The topic ‘Adding “login” to horizontal menu bar’ is closed to new replies.