WordPress.org

Ready to get started?Download WordPress

Forums

Menus? (2 posts)

  1. monster-it
    Member
    Posted 6 months ago #

    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(http://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="http://wordpress.org" target="_blank"><?php _e('WordPress', 'gamepress'); ?></a>. <a href="http://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>
  2. monster-it
    Member
    Posted 6 months ago #

    anyone?

Reply

You must log in to post.

About this Topic