Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 2nd Jun 2011, 11:29 AM   #1
HyperActive Warrior
War Room Member
 
Join Date: 2010
Location: Vancouver, BC, Canada
Posts: 202
Thanks: 19
Thanked 4 Times in 3 Posts
Default
How to center my footer
Share on: 
fb share twitter share gplus share more share

www.pinklilies.org is under development and Ive been trying to get my footer to be centered yet its proving a little hard to do. Can someone help me?
Anthony K is offline  
Unread 2nd Jun 2011, 08:16 PM   #2
HyperActive Warrior
War Room Member
 
Join Date: 2010
Location: Vancouver, BC, Canada
Posts: 202
Thanks: 19
Thanked 4 Times in 3 Posts
Default
Re: How to center my footer
Share on: 
fb share twitter share gplus share more share

well I cant find scauto in my foot code :S this is my code as is seen in my footer.php

<div class="clear"></div>
</div> <!-- end content -->

<div id="footer">

<?php
global $getoption;

if ( $getoption['footerText'] )
echo htmlspecialchars_decode( do_shortcode( $getoption['footerText'] ) );
?>

<?php
// Footer widgets - Only displayed when it has widgets
if ( is_active_sidebar('footer-widgets') ) {

echo '<div id="footer-cols">';
dynamic_sidebar( 'Footer' );
echo '</div>';

}
?>

</div> <!-- end footer -->

</div> <!-- end wrapper -->

<?php if ( $getoption['prettyPhoto'] == 1 ) { ?>
<script src="<?php bloginfo('template_directory'); ?>/js/jquery.prettyPhoto.js" type="text/javascript" ></script>
<?php } ?>

<script src="<?php bloginfo('template_directory'); ?>/js/script.js" type="text/javascript" ></script>

<?php
wp_footer();

echo htmlspecialchars_decode( $getoption['analytics'], ENT_QUOTES );
?>

</body>
</html>
Anthony K is offline  
Unread 3rd Jun 2011, 12:06 AM   #3
Warrior Member
 
Join Date: 2011
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: How to center my footer
Share on: 
fb share twitter share gplus share more share

why u have to do it using php? u can easily do it using css

suomi hakukone markkinointi ja hakukoneoptimointi
zach1988 is offline  
Unread 3rd Jun 2011, 01:55 AM   #4
Warrior Member
 
Join Date: 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: How to center my footer
Share on: 
fb share twitter share gplus share more share

Setting the Header Page Occurrence

Specify the pages on which a header appears using the occurrence attribute of <ctheader>. For example, if you want a header to only appear on even-numbered pages, you can use the following tag:
<!--<ctheader occurrence="even"><p>This is an even page.</p></ctheader>-->
Acceptable values for the occurrence attribute include: all, allbutfirst, odd, oddbutfirst, and even.
Highwire supports multiple headers, each with different occurrence settings. For example, you can define one header that occurs on odd pages and another header that occurs on even pages.
Setting Header Margins

Because the header is placed in the top margin of the page, that margin must be big enough to contain the header. If the margin isn't big enough and the header is cut off, you can change the page's top margin. For more information, see Document Margins.
Header margins control the position of the header within the page's top margin. Header margins do not affect the page margins. To change header margins, use the style attribute of <ctheader>, which supports the following styles: margin, margin-left, margin-right, and margin-top. For example, the following code defines a header with a margin of 2 inches on the sides:
<ctheader style="margin-left:2in;margin-right:2in">My Header</ctheader>
Change the margin size by replacing 2in with another size definition (such as 72pt). Size definitions require a number followed by a unit of measurement. Valid units of measurement include: in, cm, mm, px, pc, pt, em, and ex. The default header margin is .25 in.

addy john is offline  
Unread 3rd Jun 2011, 02:00 AM   #5
Warrior Member
 
Join Date: 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: How to center my footer
Share on: 
fb share twitter share gplus share more share

Click on the "Tools" menu and select "Options".
Click the "Under the Bonnet" tab, locate the "Privacy" section and click the "Clear browsing data" button.
Select "Delete cookies and other site data" to delete all cookies from the list (alternatively, you can remove all cookies created within a specific time period by selecting the period you want from the dropdown list).
Select "Clear browsing history" to delete traces of which websites you've visited.
Select "Clear download history" to delete records of which files and programs you've downloaded.
Select "Empty the cache" to delete cached website pages.
You can also delete saved passwords (which log you into websites) and saved form data (such as your name and address).
Then click on the "Clear browsing data" button.
Click on the Close button when you've finished.

addy john is offline  
Unread 3rd Jun 2011, 11:49 AM   #6
Senior Warrior Member
War Room Member
 
Join Date: 2010
Posts: 1,072
Thanks: 339
Thanked 194 Times in 134 Posts
Default
Re: How to center my footer
Share on: 
fb share twitter share gplus share more share

<center> </center>

Jake Gray is offline  
Closed Thread


Bookmarks

Tags
center, footer


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 12:01 AM.