• Hi,
    i’ve got problem with drop-down menu using in mobile version of my site. Menu doesn’t work except the main site. I checked my plugins, looked at firebug but I can’t find any mistake in code. Could you help me?

    Here’s the url to my beta-version site http://goodefoode.nazwa.pl/gf_new

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try temporarily deactivating all your plugins. If that solves the problem, then reactivate them one by one to see which one is causing it.

    If that doesn’t help, try running with your child theme deactivated and the parent Customizr theme active.

    I suspect the child theme: In it, you seem to be running a second copy of red.css. The child theme should contain style.css (in its root directory), which should replace individual rules, but not be a copy of the whole stylesheet.

    If you used my Snippet, I didn’t explain the Child Theme properly and will be updating the Snippet this week.

    I need to test it, but basically the new red.css would need to be moved to customizr-child/inc/css rather than stay in customizr-child/

    Thread Starter azupak

    (@azupak)

    Hi, thanks for your help. I found out that the problem was in footer file. I added there function which display full footer at main page and different footer on subpage. When I deleted my custom footer file, menu works fine. How can I change it without affecting the menu?

    Here’s my code:

    <?php
     /**
     * The template for displaying the footer.
     *
     *
     * @package Customizr
     * @since Customizr 3.0
     */
    ?>
    
    	<?php if (is_home() ) { ?>
    
    	<?php tc__f('rec' , __FILE__ , __FUNCTION__ ); ?>
    
    		<?php do_action( '__before_footer' ); ?>     
    
    			<!-- FOOTER -->
    			<footer id="footer" class="<?php echo apply_filters('__footer_classes', '') ?>">
    			 	<?php do_action( '__footer' ); // hook of footer widget and colophon?>
    			</footer>
    
    		<?php wp_footer(); //do not remove, used by the theme and many plugins?>
    
    		<?php do_action( '__after_footer' ); ?>
    
            <?php }
    else { ?> 
    
    	<div style="background-color:#C14139; text-align:center; height:50px; color:#fff !important; ">
                <div class="container footer-widgets">
    
            <div class="credits">   	<p class="pull-right">
    	    		<a class="back-to-top" href="#" style="color:#fff;"><?php _e( 'Back to top' , 'customizr' ) ?></a>
    	    	</p>
        	<?php tc__f( 'tip' , __FUNCTION__ , __CLASS__, __FILE__ ); ?>
    	    	<?php
    		    	$credits =  sprintf( '<p> &copy; %1$s <a href="%2$s" title="%3$s" rel="bookmark" style="color:#fff;">%3$s</a> Designed by %4$s </p>',
    					    esc_attr( date( 'Y' ) ),
    					    esc_url( home_url() ),
    					    esc_attr(get_bloginfo()),
    					    '<a href="'.TC_WEBSITE.'" style="color:#fff;">Themes & Co</a>'
    				);
    				echo $credits;
    
    			?>
             	</div></div>
            </div>
    
                <?php } ?>
    
    	</body>
    
    </html>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘drop-down menu for subpages doesn't work ( on front page works properly)’ is closed to new replies.