Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

  • n1ck
    Participant

    @n1ck

    Maybe it’s somewhere here.

    
    
    @media screen and (max-width: 960px) {
    	#et-search, p#et-search-title, p#et-search-title span { background: none !important; }
    	#et-search { width: auto !important; height: auto !important; }
    		#et-search-inner { padding: 0 !important; }
    			#et-search-right { float: none !important; clear: both; text-align: left !important; }
    				#et_search_submit { background: #BBB8B8 !important; color: #111 !important; }
    			p#et-search-title { margin-bottom: 2px !important; }
    				p#et-search-title span { padding: 0 !important; text-shadow: none !important; }
    	#et-searchinput { width: auto !important; }
    	p#et_choose_posts, p#et_choose_pages, p#et_choose_date, p#et_choose_cat { float: none !important; }
    	#et-search-left { float: none !important; width: 100% !important; }
            img.game-post-entry-image {
                width: 95%;
                height: 95%;
                position: absolute;
            }
    }
    
    

    n1ck
    Participant

    @n1ck

    Double post by mistake


    n1ck
    Participant

    @n1ck

    i cant find where in syle.css it is. if i give you the style.css could you fix it for me?


    n1ck
    Participant

    @n1ck

    Where i should add this?


    n1ck
    Participant

    @n1ck

    Can you show me where i should add this?

    
    
    
    /**
     * BuddyPress Login Widget.
     *
     * @since BuddyPress (1.9.0)
     */
    class BP_Core_Login_Widget extends WP_Widget {
    
    	/**
    	 * Constructor method.
    	 */
    	public function __construct() {
    		parent::__construct(
    			false,
    			_x( '(BuddyPress) Log In', 'Title of the login widget', 'buddypress' ),
    			array(
    				'description' => __( 'Show a Log In form to logged-out visitors, and a Log Out link to those who are logged in.', 'buddypress' ),
    				'classname' => 'widget_bp_core_login_widget buddypress widget',
    			)
    		);
    	}
    
    	/**
    	 * Display the login widget.
    	 *
    	 * @see WP_Widget::widget() for description of parameters.
    	 *
    	 * @param array $args Widget arguments.
    	 * @param array $instance Widget settings, as saved by the user.
    	 */
    	public function widget( $args, $instance ) {
    		$title = apply_filters( 'widget_title', $instance['title'] );
    
    		echo $args['before_widget'];
    
    		echo $args['before_title'] . esc_html( $title ) . $args['after_title']; ?>
    
    		<?php if ( is_user_logged_in() ) : ?>
    
    			<?php do_action( 'bp_before_login_widget_loggedin' ); ?>
    
    			<div class="bp-login-widget-user-avatar">
    				">
    					<?php bp_loggedin_user_avatar( 'type=thumb&width=50&height=50' ); ?>
    				
    			</div>
    
    			<div class="bp-login-widget-user-links">
    				<div class="bp-login-widget-user-link"><?php echo bp_core_get_userlink( bp_loggedin_user_id() ); ?></div>
    				<div class="bp-login-widget-user-logout">"><?php _e( 'Log Out', 'buddypress' ); ?></div>
    			</div>
    
    			<?php do_action( 'bp_after_login_widget_loggedin' ); ?>
    
    		<?php else : ?>
    
    			<?php do_action( 'bp_before_login_widget_loggedout' ); ?>
    
    			<form name="bp-login-form" id="bp-login-widget-form" class="standard-form" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post">
    				<label for="bp-login-widget-user-login"><?php _e( 'Username', 'buddypress' ); ?></label>
    				<input type="text" name="log" id="bp-login-widget-user-login" class="input" value="" />
    
    				<label for="bp-login-widget-user-pass"><?php _e( 'Password', 'buddypress' ); ?></label>
    				<input type="password" name="pwd" id="bp-login-widget-user-pass" class="input" value=""  />
    
    				<div class="forgetmenot"><label><input name="rememberme" type="checkbox" id="bp-login-widget-rememberme" value="forever" /> <?php _e( 'Remember Me', 'buddypress' ); ?></label></div>
    
    				<input type="submit" name="wp-submit" id="bp-login-widget-submit" value="<?php _e( 'Log In', 'buddypress' ); ?>" />
    
    				<?php if ( bp_get_signup_allowed() ) : ?>
    
    					<span class="bp-login-widget-register-link"><?php printf( __( 'Register', 'buddypress' ), bp_get_signup_page() ); ?></span>
    
    				<?php endif; ?>
    
    			</form>
    
    			<?php do_action( 'bp_after_login_widget_loggedout' ); ?>
    
    		<?php endif;
    
    

    n1ck
    Participant

    @n1ck

    Thanks for your help, i changed them, if you have time take a look at my other 2 problems that i have.

    https://buddypress.org/support/topic/lower-the-search-textbox/

    https://buddypress.org/support/topic/change-textbox-size/


    n1ck
    Participant

    @n1ck

    not buddypress .css files?


    n1ck
    Participant

    @n1ck

    In which .css files do i have to change the HEX value?

Viewing 8 replies - 1 through 8 (of 8 total)
Skip to toolbar