This topic has 14 replies, 3 voices, and was last updated 9 years by steve.

  • Author
  • #34359
     steve
    Participant

    Hi,

    would like to use both forms (Search and Registration) on homepage. Can do it, but after adding code theme adds horizontal form. How to change it? Would like to add same style (vertical) as search form. And is it possible to add this form to the right side so some information text on left and form on right side?

    Thank you,
    Steve

    #34370
     Laura
    Moderator

    Hello, there is no need to add any code, just go to Sweetdate admin panel > Homepage, and in Search form select Mixed form.

    Hope it helps 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #35090
     steve
    Participant

    Hello,

    yes, but this option only shows 1 version at simultaneously. Want to show both formas at the same time (search and registration). How could do that?

    Steve

    #35140
     Laura
    Moderator

    Hello, go to Sweetdate theme > page-parts and download home-search-form.php ,now create a folder called page-parts inside sweetdate-child theme, then upload this file inside, then edit it and replace all with this:

    COPY CODE
    
    <?php 
    /* Hide the starting and ending columns if used as shortcode */
    global $bp_reg_form_show_cols, $bp_reg_form_show_carousel, $bp_reg_form_title, $bp_reg_form_details;
    if (!isset($bp_reg_form_show_cols)) { ?>
    <div class="twelve columns">
    	<div class="row">
    		<div class="five columns">
    <?php } ?>
    			
    			<div class="form-wrapper">
    				<div class="form-header">
    					<h4 class="white-text">
    						<?php 
    						/* if set via shortcode */
    						if (isset($bp_reg_form_title)) {
    							echo $bp_reg_form_title; 
    						} else {
    							_e("Create an Account", 'kleo_framework');
    						}
    						?>
    					</h4>
    					<p class="reg-form-details">
    						<?php 
    						/* if set via shortcode */
    						if (isset($bp_reg_form_details)) {
    							echo $bp_reg_form_details; 
    						} else {
    							_e("Registering for this site is easy, just fill in the fields below and we will get a new account set up for you in no time.",'kleo_framework');
    						}
    						?>
    					</p>
    				</div>
    				<!--Search form-->
    				<form id="register_form_front" action="<?php if (function_exists('bp_is_active')) bp_signup_page(); else echo get_bloginfo('url')."/wp-login.php?action=register"; ?>" method="post" class="custom form-search">
    
    					<div class="row">
    					  <div class="five mobile-four columns">
    						<label class="right inline"><?php _e("Username",'kleo_framework');?>:</label>
    					  </div>
    					  <div class="seven mobile-four columns">
    						<input name="signup_username" required="required" type="text" placeholder="<?php _e("Required",'kleo_framework');?>">
    					  </div>
    					</div><!--end row-->
    
    					<div class="row">
    					  <div class="five mobile-four columns">
    						<label class="right inline"><?php _e("Email Address",'kleo_framework');?>:</label>
    					  </div>
    					  <div class="seven mobile-four columns">
    						<input name="signup_email" type="text" required="required" placeholder="<?php _e("Required",'kleo_framework');?>">
    					  </div>
    					</div><!--end row-->
    
    
    					<div class="row">
    					  <div class="five mobile-one columns">
    						<label class="right inline"><?php _e("Password",'kleo_framework');?>:</label>
    					  </div>
    					  <div class="three mobile-one columns">
    						<input type="password" name="signup_password" required="required" placeholder="<?php _e("Required",'kleo_framework');?>">
    					  </div>
    					  <div class="one mobile-one columns text-center">
    						<label class="inline"></label>
    					  </div>
    					  <div class="three mobile-one columns">
    						<input type="password" name="signup_password_confirm" required="required" placeholder="<?php _e("Confirm",'kleo_framework');?>">
    					  </div>
    					</div><!--end row-->  
    
    					<?php do_action('kleo_register_form_extra'); ?>
    
    					<div class="row">
    					  <div class="seven offset-by-five columns"><button class="button radius front-form-button"><i class="icon-user"></i>  <?php _e("Sign Up",'kleo_framework');?></button>
    					  <?php do_action('fb_popup_register_button_front'); ?>
    					  </div>
    					</div>
    					<span class="notch"></span>
    				</form>
    				<!--end search form-->
    
    				<?php 
    				/* Show latest profiles carousel */
    				$show_carousel = false;
    				if (function_exists('bp_is_active')) {
    					if (isset($bp_reg_form_show_carousel)) {
    						if ($bp_reg_form_show_carousel == 1) {
    							$show_carousel = true;
    						}
    					} elseif(sq_option('home_search_members', 1) == 1) {
    						$show_carousel = true;
    					}
    				}
    
    				if ($show_carousel): ?>
    				<!--Form footer-->
    				<div class="form-footer">
    
    				  <?php do_action('kleo_bps_before_carousel');?>
    
    				  <?php echo do_shortcode('[kleo_members_carousel]');?>
    
    				</div><!--end form-footer-->
    
    
    				<?php else: ?>
    					<?php $main_color_rgb = hexToRGB(sq_option('button_bg_color_hover')); ?>
    					<div class="form-footer" style="border-left:none;border-right: none;padding:0;background: <?php echo sq_option('button_bg_color'); ?>; <?php echo 'border-bottom: 10px solid rgba('.$main_color_rgb['r'].', '.$main_color_rgb['g'].', '.$main_color_rgb['b'].', 0.3)'; ?>"></div>
    				<?php endif; ?>
    				
    			</div><!--end form-wrapper-->
    			
    <?php if (!isset($bp_reg_form_show_cols)) { ?>
    		</div>
              <div class="five columns">
                <?php do_action('kleo_bp_search_form', (sq_option('home_search_members', '1') ==1?true:false) ); ?>   
              </div>
          </div><!--end row-->
        </div><!--end twelve-->
    <?php } ?>   
    
    

    Also select search form in sweetdate menu 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #42787
     steve
    Participant

    Hi,

    thx, on the moment seems the mixed form is better. From where can change this registrationform texts:

    Create an Account
    Registering for this site is easy, just fill in the fields below and we will get a new account set up for you in no time.

    And 2nd question, how can change font colour inside the form fields?

    Thx,
    Steve

    #44132
     Abe
    Keymaster

    Registration text can be changed from this template: wp-content/themes/sweetdate/page-parts/home-register-form.php

    The font should be changed by CSS and applied only for the elements you need. You require CSS knowledge

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #44142
     steve
    Participant

    Thx, got to change the texts like needed, but the texts inside the box are gray would like to show white texts. Can´t use shortcode to add to Quick CSS?

    Br,
    Steve

    Attachments:
    You must be logged in to view attached files.
    #44545
     Abe
    Keymaster

    A link to your site would be good to check it live

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #47189
     steve
    Participant

    Hey,

    link: http://network.webberry.eu/

    P.S Would like that words “Required” and “Confirm” would be as “Sign Up” text color.

    Thx,
    Steve

    #48345
     Abe
    Keymaster

    Hi, I see you already fixed it

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #50214
     steve
    Participant

    Hi,

    no i havent fixed it…i use Chrome and still gray and not white as “Sign Up” button. Can yoy check with Chrome?

    http://network.webberry.eu/

    Br,
    Steve

    #50490
     Abe
    Keymaster

    if you type something it is white.. chrome adds its own styling to the placeholders(in this case named Required)

    Try something like this as it the article

    COPY CODE
    
    ::-webkit-input-placeholder { /* WebKit browsers */
        color:    #fff;
    }
    

    http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #51010
     steve
    Participant

    and this code I add to the child theme style.css?

    Thx,
    Steve

    #51180
     Abe
    Keymaster

    Yes

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #52102
     steve
    Participant

    Thx

Viewing 15 posts - 1 through 15 (of 15 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?