-
Author
-
November 6, 2014 at 14:35 #34359steveParticipant
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,
SteveNovember 6, 2014 at 17:48 #34370LauraModeratorHello, 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 solutionLaura 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 🙂
November 11, 2014 at 21:47 #35090steveParticipantHello,
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
November 12, 2014 at 03:12 #35140LauraModeratorHello, 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 solutionLaura 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 🙂
January 20, 2015 at 18:27 #42787steveParticipantHi,
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,
SteveJanuary 30, 2015 at 17:31 #44132AbeKeymasterRegistration 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.January 30, 2015 at 19:07 #44142steveParticipantThx, 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,
SteveAttachments:
You must be logged in to view attached files.February 3, 2015 at 14:51 #44545AbeKeymasterA 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.February 22, 2015 at 23:10 #47189steveParticipantHey,
link: http://network.webberry.eu/
P.S Would like that words “Required” and “Confirm” would be as “Sign Up” text color.
Thx,
SteveMarch 2, 2015 at 14:03 #48345AbeKeymasterHi, 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.March 15, 2015 at 21:33 #50214steveParticipantHi,
no i havent fixed it…i use Chrome and still gray and not white as “Sign Up” button. Can yoy check with Chrome?
Br,
SteveMarch 17, 2015 at 17:39 #50490AbeKeymasterif 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.March 20, 2015 at 23:29 #51010steveParticipantand this code I add to the child theme style.css?
Thx,
SteveMarch 23, 2015 at 16:37 #51180AbeKeymasterYes
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. -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.