Homepage slider appears on signup page for Pro Sites

Why does the signup page (http://hawpress.com/wp-signup.php?hawpress) have the homepage slider on it? Whenever the "Sign Up!" link on the right of the menu is clicked, it makes the home page menu tab active and puts the slider from the home page on the signup page.

How do I get rid of the slider on the signup page, and make the home menu tab not be active when I'm on the signup page?

I really need help with this!
Thanks

  • Vaughan

    Hi Evan,

    I can't find anything in the settings of the theme to stop this happening, I would need to take a full look into the actual theme files.

    Can you send your details using the following contact form (select i have a different question from the dropdown.)

    https://premium.wpmudev.org/contact/

    Mark for attn: Vaughan
    Include a ref URL to this thread.

    Please include the following details;
    - Site login details (super-admin if on multisite)
    - FTP login details so I can take a look at the theme/plugin files.

    Thanks

  • Vaughan

    Hi Evan,

    I've taken a look and it's taken me quite a while. Whilst I couldn't figure this out from the theme itself, I decided on a workaround to achieve the same end.

    I added the following to your theme functions.php

    /**
     * Prints styles for front-end Multisite signup pages
     *
     * @since MU
     */
    function wpmudev_signup_stylesheet() {
    	?>
    	<style type="text/css">
    		.mu_register { width: 90%; margin:0 auto; }
    		.mu_register form { margin-top: 2em; }
    		.mu_register .error { font-weight:700; padding:10px; color:#333333; background:#FFEBE8; border:1px solid #CC0000; }
    		.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 { font-weight:700; padding:10px; color:#333333; background:#ffffe0; border:1px solid #e6db55; }
    
            .x-slider-revolution-container.above {
                display: none !important;
            }
    
            .x-navbar .x-nav > .current-menu-item > a, .x-navbar .sub-menu .current-menu-item > a {
                color: #fb9d45 !important;
                border-color: transparent;
    
            }
            .x-navbar .x-nav > li > a:hover, .x-navbar .x-nav > .sfHover > a, .x-navbar .sub-menu a:hover, .x-navbar .sub-menu .sfHover > a, .x-nav .x-megamenu > .sub-menu > li > a {
                color: #fd4932 !important;
            }
            .x-navbar .x-nav > .sfHover > a {
                background-color: transparent;
                border-color: rgba(0, 0, 0, 0.075);
                color: #566471;
                text-decoration: none;
            }
            .x-navbar #menu-item-219 > a {
                background-color: transparent;
                border-color: rgba(0, 0, 0, 0.075) !important;
                color: #fd4932 !important;
                text-decoration: none;
            }
    
        </style>
    	<?php
    }
        $Path=$_SERVER['REQUEST_URI'];
        $URI='http://hawpress.com'.$Path;
        if(strpos($URI,'wp-signup.php')) {
            remove_action('wp_head', 'wpmu_signup_stylesheet');
    
            add_action( 'wp_head', 'wpmudev_signup_stylesheet' );
        }

    Basicly we're checking whether the URL contains wp-signup.php, and if it does, it removes the current wp_head signup stylesheet & then replaces it with the new stylesheet in the function above.

    So I've basicly set the revslider to not display, and then manipulated the Nav menu items CSS to change the looks so it looks like the nav current_item is actually signup. I have no idea actually why the theme thinks the signup page is the homepage. But this method achieves the same goal.

    Hope this helps