Support » Theme: Spun » How to align the footer

  • Resolved deb76

    (@deb76)


    Please, I need help about the footer.
    I would like to center it horizontally on the page.

    Someone could help me?

    Thanks

    Déb

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    deb76

    (@deb76)

    Thank you for answer Andrew.

    I insert this code in CSS:

    #colophon a {
     color: #825f4f;
     padding-top: 30px;
     text-align: center;
     horizontal-align: middle;
    }

    And I tried also :

    #colophon a {
     color: #825f4f;
     padding-top: 30px;
     text-align: center;
      text-align: center;
    }

    But it doesn’t work. I think I don’t modify the good styles.
    Can you tell where I’d have to insert code?

    Thank you

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Install this Custom CSS Manager plugin to hold your CSS modificaitons. In its section of the dashboard, enter this:

    #colophon {
     text-align: center;
    }

    deb76

    (@deb76)

    I use Custom CSS Plugin.
    I had inserted your code but it doesn’t work.

    See my footer code:

    ?>
    
    	</div><!-- #main .site-main -->
    
    	<footer id="colophon" class="site-footer" role="contentinfo">
    		<div class="site-info">
    			<?php do_action( 'spun_credits' ); ?>
    
    			<a href="http://wordpress.org/" title="<?php esc_attr_e( 'A Semantic Personal Publishing Platform', 'spun' ); ?>" rel="generator"><?php printf( __( 'Powered by %s', 'spun' ), 'WordPress' ); ?></a>
    			<span class="sep"> | </span>
    			<?php printf('Thème %1$s ', 'spun' ); ?>
    			<span class="sep"> | </span>
    			<?php printf('Copyright 2013 - Tous droits réservés'); ?>
    
    		</div><!-- .site-info -->
    	</footer><!-- #colophon .site-footer -->
    </div><!-- #page .hfeed .site -->
    
    <?php wp_footer(); ?>
    
    </body>
    </html>

    I think the problem comes from the footer.php

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Please understand that we cannot see your issue unless you provide a link to it.

    deb76

    (@deb76)

    Really sorry

    http://www.lecrindechocolat.com/

    It works because I change code in Spun theme’s stylesheet and not in Spun child theme.
    But I’d to find a solution in child theme…

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Can you put this:

    #colophon {
     text-align: center;
    }

    Into your Child Theme style.css so we can debug why it isn’t working?

    deb76

    (@deb76)

    It’s done ! 🙂

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    I assume you just didn’t clear your browser’s cache because it’s working for me.

    deb76

    (@deb76)

    You’re certainly right Andrew.
    Now it works!!

    Thank you so much!!!!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How to align the footer’ is closed to new replies.