WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How do I remove the list from this code? (4 posts)

  1. playinJ30
    Member
    Posted 4 years ago #

    Pasted below is the code.

    you can visit my site at http://www.tournaction.com

    I want to make that light grey subheader with no list for the log in. I would like to have the log in, site admin (you can see this cuz you aren't logged in to my site) links and search form all in one line with no list or at least no bullets.

    Please help!

    <?php
    global $user_ID;
    if($user_ID) {
    echo '<li class="secondary">' . __('Log Out', 'carrington') . '';
    } else {
    echo '<li class="secondary">' . __('Log In', 'carrington') . '';
    }
    ?>
    <?php wp_register('<li class="secondary">', ''); ?>
    <?php cfct_form('search'); ?>

  2. playinJ30
    Member
    Posted 4 years ago #

    <?php
    						global $user_ID;
    						if($user_ID) {
    							echo '<li class="secondary"><a href="' . site_url('wp-login.php?action=logout', 'login') . '">' . __('Log Out', 'carrington') . '</a></li>';
    						} else {
    							echo '<li class="secondary"><a href="' . site_url('wp-login.php', 'login') . '">' . __('Log In', 'carrington') . '</a></li>';
    						}
    						 ?>
    <?php wp_register('<li class="secondary">', '</li>'); ?>
    <?php cfct_form('search'); ?>
  3. playinJ30
    Member
    Posted 4 years ago #

    BUMP.

    Please help

  4. Mark / t31os
    Moderator
    Posted 4 years ago #

    At the bottom of.
    http://www.tournaction.com/wp-content/themes/carrington-blog/css/carrington-blog.css

    Find this..

    #navigation li.secondary {
    	float:left;
    	margin-left:0em;
    }

    Change to.

    #navigation li.secondary {
    	float:left;
    	margin-left:0em;
    	list-style:none;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.