Forum Replies Created

Viewing 15 replies - 16 through 30 (of 36 total)
  • Thread Starter AyeAaron

    (@ayeaaron)

    Is there something I can put in the CSS so the logo will move with the columns?

    /* ---------- Basic Elements ---------- */
    
    #logo
    {
    	img:url(https://aarondavis.net/wp-content/aarondavis.png);
    	margin: 0;
    	padding: 0;
    	height:55px;
    	width:100%;
    	float: left;
    	padding-top:25px;
    	padding-left:75px;
    	padding-bottom:0px;
    	text-indent: -9999px;
    //
    }
    Thread Starter AyeAaron

    (@ayeaaron)

    I replaced my blog title with an image. My blog title would move with the grid as the window resized. So, why does the image not move with the grid?

    Thread Starter AyeAaron

    (@ayeaaron)

    Awesome. Thx.

    Aa

    Thread Starter AyeAaron

    (@ayeaaron)

    oops, i’m a nube.

    https://aarondavis.net/

    Forum: Themes and Templates
    In reply to: css img tags
    Thread Starter AyeAaron

    (@ayeaaron)

    Great. Thx.

    Forum: Themes and Templates
    In reply to: css img tags
    Thread Starter AyeAaron

    (@ayeaaron)

    Here is my sidebar php code:

    https://pastebin.com/7sjxZMPY

    Here is my css code.

    https://pastebin.com/RvjfvbPK

    Thank you, let me know if you need all of the css code posted.

    Forum: Themes and Templates
    In reply to: css img tags
    Thread Starter AyeAaron

    (@ayeaaron)

    Here is my sidebar code:

    [please use a Pastebin to post large chunks of code, following forum etiquette Please only paste the relevant pieces of CSS.]

    Forum: Themes and Templates
    In reply to: css img tags
    Thread Starter AyeAaron

    (@ayeaaron)

    Thank you. I did what you said and my logo changed positions too. Will you take another look for me please?

    Thread Starter AyeAaron

    (@ayeaaron)

    Hi Shane,

    Yeah, I am using register plus, but I do not know where I can change the border to make the Name/Last Name fields match the other ones.

    Aa

    Thread Starter AyeAaron

    (@ayeaaron)

    I am using the Registration Form Widget.

    Forum: Fixing WordPress
    In reply to: Moving a Button
    Thread Starter AyeAaron

    (@ayeaaron)

    reg_passmail doesn’t show up in the CSS

    Forum: Fixing WordPress
    In reply to: Moving a Button
    Thread Starter AyeAaron

    (@ayeaaron)

    I have it like this and it still has the space in there

    <?php do_action('register_form'); ?>
            <div id="reg_passmail">
            </div>

    Forum: Fixing WordPress
    In reply to: Moving a Button
    Thread Starter AyeAaron

    (@ayeaaron)

    When I delete the whole thing I lose the Registration button.

    Forum: Fixing WordPress
    In reply to: Moving a Button
    Thread Starter AyeAaron

    (@ayeaaron)

    Do I just take out the <br /> & </p> or the whole thing?

    Thread Starter AyeAaron

    (@ayeaaron)

    Wait. here is the plug-in code:

    <?php
    /*
    Plugin Name: Registration Form Widget
    Plugin URI:  https://www.wordpressmania.it/registration-widget/
    Description: Add a registration form to your sidebar
    Author: Stefano Garuti
    Version: 1.0
    Author URI: https://www.wordpressmania.it/
    */
    
    /**
     * Display Registration widget.
     *
     * Displays Registration Form.
     *
     * @param array $args Widget arguments.
     */
    function registration_widget($args) {
    	global $pagenow;
    
    	if ($_GET['action'] != 'register'){ // we don't want to display this form in the Registration Page
    	//mydebug($args);
    	extract($args);
    	$options = get_option('widget_registration');
    	$title = empty($options['title']) ? __('') : apply_filters('widget_title', $options['title']);
    ?>
    		<?php echo $before_widget; ?>
    			<?php echo $before_title . $title . $after_title; ?>
    
    		<?php the_registration_form($args);	?>
    		<?php echo $after_widget; ?>
    <?php
    }
    }
    function the_registration_form($args=null) {
    	$register_button=__('Register');
    	if(isset($args['register_button'])) $register_button = $args['register_button'];
    		?>
    		<form class="registerform" name="registerform" id="registerform" action="<?php echo site_url('wp-login.php?action=register', 'login_post') ?>" method="post">
    
    	<p>
    			<label><?php _e('Username') ?>:</label><br />
    			<input tabindex="1" type="text" name="user_login" id="user_login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" size="20" tabindex="10" />
    			<br />
    
    			<label for="user_email" id="user_email"><?php _e('E-mail') ?>:</label><br />
    			<input tabindex="2" type="text" name="user_email" id="user_email" class="input" value="<?php echo attribute_escape(stripslashes($user_email)); ?>" size="25" tabindex="20" />
    			<br />
    		</p>
    
    			<?php do_action('register_form'); ?>
    		<p id="reg_passmail">
    			<?php _e('') ?>
    		</p>
    		<p class="submit"><input tabindex="4" type="submit" name="wp-submit" id="wp-submit" value="<?php echo($register_button) ?>" tabindex="100" /></p>
    	</form>
    	<?php
    }
    /**
     * Display and process registration widget options form.
     *
     */
    function registration_widget_control() {
    	$options = $newoptions = get_option('widget_registration');
    	if ( isset($_POST["registration-submit"]) ) {
    		$newoptions['title'] = strip_tags(stripslashes($_POST["registration-title"]));
    	}
    	if ( $options != $newoptions ) {
    		$options = $newoptions;
    		update_option('widget_registration', $options);
    	}
    	$title = attribute_escape($options['title']);
    ?>
    			<p><label for="registration-title"><?php _e('Title:'); ?> <input class="widefat" id="registration-title" name="registration-title" type="text" value="<?php echo $title; ?>" /></label></p>
    			<input type="hidden" id="registration-submit" name="registration-submit" value="1" />
    <?php
    }
    
    function registration_widget_init(){
    	register_sidebar_widget("Registration Form", "registration_widget");
    	register_widget_control("Registration Form","registration_widget_control");
    }
    
    add_action("plugins_loaded", "registration_widget_init");
    ?>
Viewing 15 replies - 16 through 30 (of 36 total)