• Hi All,

    Currently i’m developing a simple site for a customer of mine and he wants the menu image to span the whole length of the site but when i’ve done 100% it moves the text across also.

    Is there a way to keep the menu central and just add the image as dynamic as the side is fluid.

    Heres the code from my css and footer.php

    css

    /*-----------------------------------------------------------------------------------*/
    /*	07.	Prefooter
    /*-----------------------------------------------------------------------------------*/
    
    #prefooter {
    	text-align: center;
    	padding-bottom: 36px;
    }
    #prefooter-inner {
    	width: 980px;
    	padding: 35px 0 0 0;
    	margin: 0 auto;
    	text-align: left;
    	position: relative;
    }
    
    /*-----------------------------------------------------------------------------------*/
    /*	08.	Footer
    /*-----------------------------------------------------------------------------------*/
    
    #footer-border{
    	height: 2px;
    }
    #footer-inner {
    	width: 980px;
    	padding: 0;
    	margin: 0 auto;
    	font-size: 11px;
    	overflow: hidden;
    	background: url(https://ecocomm.aurahost.co.uk/wp-content/uploads/2014/01/footer.png);
    }

    Footer.php

    </div>
    	<!-- END #CONTENT-INNER -->
    	</div>
    	<!-- END #CONTENT-WRAPPER -->
        <?php
            get_template_part( 'content','prefooter' );
        ?>
    	<!-- FOOTER -->
    	<footer>
    		<div id="footer-border"></div>
    		<div id="footer-inner">
    			<span class="alignleft">
    			Copyright &copy; <?php echo date('Y'); ?> <strong><a href="<?php echo home_url( '/' ); ?>"><?php bloginfo( 'name' ); ?></a></strong>
    			<div id="site-generator">
    
    				<small><?php _e('Proudly powered by', 'gamepress'); ?> <a href="https://www.ads-software.com" target="_blank"><?php _e('WordPress', 'gamepress'); ?></a>. <a href="https://webtuts.pl/themes/" title="<?php _e('GamePress', 'gamepress'); ?>" target="_blank"><?php _e('GamePress', 'gamepress'); ?></a></small>
    
    			</div><!-- #site-generator -->
    			</span>
    			<span class="alignright"><a href="#" class="scrollup"><?php _e('BACK TO TOP','gamepress'); ?> &uarr;</a></span>
    		</div>
    		<!-- END #FOOTER-INNER -->
    	</footer>
    	<!-- END FOOTER -->
    </div>
    <!-- END #PAGE -->
    <?php wp_footer(); ?>
    </body>
    </html>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Menus?’ is closed to new replies.