To insert code in a forum thread or comment wrap it in code tags : <code>...</code>.
Feature Div and Content Div missing or not working on wp-signup.php page
  • Howdy,
    When I went to check/test the wp-signup.php I have noticed that the feature DIV and content DIV have gone AWOL, so the title background is missing and the form streaches the entire width of the page.

    I am running this on a multisite platform and am currently disabling and re-enabling all the plugins to see which is causing the problem but have been unable to find the culprit. Though having other live sites on this platform makes disabling a little tricky as I'm affecting more than one site :S

    You can see what I mean here

    Any help would be great.

    Thanks in advance
  • 5 Comments sorted by
  • Hi dunskii,

    Thanks for reporting this.
    It will be fixed in the next release of striking.

    The code i added is below

    add_action( 'wp_head', 'theme_wpmu_signup_stylesheet',1 );
    function theme_wpmu_signup_stylesheet() {
    remove_action( 'wp_head', 'wpmu_signup_stylesheet');
    <style type="text/css">
    .mu_register { margin:0 auto; }
    .mu_register form { margin-top: 2em; }
    .mu_register .error,.mu_register .mu_alert {
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    border: 1px solid #bbb;
    margin-bottom: 20px;
    .mu_register .error {
    background: #FDE9EA;
    color: #A14A40;
    border-color: #FDCED0;
    .mu_register input[type="submit"],
    .mu_register #blog_title,
    .mu_register #user_email,
    .mu_register #blogname,
    .mu_register #user_name { width:100%; font-size: 24px; margin:5px 0; }
    .mu_register .prefix_address,
    .mu_register .suffix_address {font-size: 18px;display:inline; }
    .mu_register label { font-weight:700; font-size:15px; display:block; margin:10px 0; }
    .mu_register label.checkbox { display:inline; }
    .mu_register .mu_alert {
    background: #FFF9CC;
    color: #736B4C;
    border-color: #FFDB4F;

    // before wp-signup.php and before get_header()
    add_action('before_signup_form', 'theme_before_signup_form');
    function theme_before_signup_form () {

    $output = '<div id="feature">';
    $output .= '<div class="top_shadow"></div>';
    $output .= '<div class="inner">';
    $output .= '<h1>Sign Up Now</h1>';
    $output .= '</div>';
    $output .= '<div class="bottom_shadow"></div>';
    $output .= '</div>';

    $output .= '<div id="page">';
    $output .= '<div class="inner">';
    echo $output;

    // after wp-signup.php and before get_footer()
    add_action('after_signup_form', 'theme_after_signup_form');
    function theme_after_signup_form () {
    echo '</div>';
    echo '<div id="page_bottom"></div>';
    echo '</div>';

  • Hi KaptinLin,

    In which file did you add this code? I need to add a translation for "Sign Up Now" for a French/English signup page. (The header will read "Sign Up Now / S'inscrire maintenant"

  • Hi Kaptinlin,

    I posted on the ThemeForest website and was redirected back to this forum - would it be possible to get an answer to the above?

  • Hi Rob

    Not sure why anyone would post on Themeforest for a theme question?

    The code is found in the common.php file - path is striking/framework/functions, commencing on lines 688.

    Best Regards
    Striking Team
  • Awesome! Thank you very much! (I posted on Themeforest because I have other themes with Themeforest and the authors of those themes use the Themeforest Q&A function as their forum.)

    Best regards,
This discussion has been closed.
All Discussions