WordPress.org

Support

Support » Themes and Templates » [Resolved] Aligning footer to the right

[Resolved] Aligning footer to the right

  • acrobson

    @acrobsongmailcom

    I am currently using the ZeeSynergie theme as part of developing a website for a college project and need to align the footer to the right in the CSS. Basically the link that credits the theme to the developer/author.

    Thanks,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The link is already right aligned…unless you mean something else?
    From style.css …
    .credit_link {
    float: right;
    font-size: 0.8em;
    }

    acrobson

    @acrobsongmailcom

    I agree, the CSS does say it’s already right aligned, however when I change this to left or even change the font-size and refresh the site it’s doesn’t affect it.

    You can see the project website via this link – http:/www.paradigm-secured.com

    I just want to be able to display the company name and copyright info in the footer.

    I have tried amending the text in the ‘Footer’ box within the Theme Options General tab in the theme settings. However nothing changes.

    From Theme functions –

    // Display Credit Link Function
    function themezee_credit_link() { ?>
    <?php _e(‘© 2012 Company Name’, ‘themezee_lang’); ?>
    <?php
    }

    ===

    From Footer.php

    </div>
    <div id=”footer”>
    <div id=”foot”>

    <?php
    $options = get_option(‘themezee_options’);
    if ( isset($options[‘themeZee_general_footer’]) and $options[‘themeZee_general_footer’] <> “” ) {
    echo $options[‘themezee_credit_link’]; }
    ?>
    <div class=”themezee_credit_link”><?themezee_credit_link(); ?></div>
    <div class=”clear”></div>
    </div>
    </div>
    </div>
    <?php wp_footer(); ?>
    </body>
    </html>

    ===

    From CSS – It says ‘right’ but it’s not. Also the size doesn’t change when this is amended.

    .credit_link {
    float: right;
    font-size: 0.6em;
    }
    .credit_link a {
    text-decoration: none;
    }

    WPyogi

    @wpyogi

    Forum Moderator

    You have the wrong class name — it’s themezee_credit_link not credit_link

    acrobson

    @acrobsongmailcom

    Ha, yeah. Cheers for that. Much appreciated. All sorted now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Aligning footer to the right’ is closed to new replies.