Results 1 to 3 of 3

Thread: CSS Guidance Needed

  1. #1
    Senior Member
    Join Date
    Aug 2008
    Location
    Gateshead
    Posts
    226
    Thanks
    0
    Thanked 2 Times in 1 Post

    CSS Guidance Needed

    Hello,

    Using the everyday adventure theme I'm trying to add a login/logout/register link. I am using the code below which does work;

    [PHP]<?php wp_register(); ?> <a href="#">|</a> <?php wp_loginout(); ?> [/PHP]

    I'm trying to add the code so that it is aligned to the right next to the current search bar (right of nav menu but left of search). How would I go about this? I can easily add in the code but it messes up the whole nav bar. Any ideas?

    site is blaydondistrict.org.uk

  2. #2
    Member
    Join Date
    Sep 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,
    I have done similar to what you want to do.

    If you add this [PHP]
    <div class="right">
    <li><a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=register">Register</a></li>
    <li><a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=lostpassword">Lost Password</a></li>
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    </div>[/PHP] into your header file just below:
    [PHP]<li><a href="<?php echo get_option('home'); ?>/">Home</a></li>
    <?php wp_list_pages('sort_column=menu_order&title_li'); ?>[/PHP]

    Hope that is some help
    Last edited by StevenDark7; 22-09-2011 at 09:48 PM.

  3. #3
    Senior Member
    Join Date
    Aug 2008
    Location
    Gateshead
    Posts
    226
    Thanks
    0
    Thanked 2 Times in 1 Post
    Many thanks for your help! Managed to get it sorted now. It was just getting it aligned to the right which was causing problems.

Similar Threads

  1. Social Networking Guidance
    By Russell Corrie in forum Related Discussion UK Chief Commissioner Questions
    Replies: 24
    Last Post: 12-03-2013, 06:16 PM
  2. [Answered] Social Networking Guidance
    By mediamanager in forum UK Chief Commissioner Questions (CLOSED)
    Replies: 2
    Last Post: 26-01-2013, 03:18 PM
  3. YL Missions - Guidance for Section Leaders
    By washathi in forum Scouting Talk
    Replies: 8
    Last Post: 13-04-2012, 07:41 PM
  4. [Answered] What is guidance?
    By mediamanager in forum UK Chief Commissioner Questions (CLOSED)
    Replies: 4
    Last Post: 09-03-2011, 05:01 PM
  5. Social network guidance
    By DuncanHill in forum Scouting Talk
    Replies: 2
    Last Post: 29-04-2010, 04:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •