Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   Insert image to footer (http://forum.bytesforall.com/showthread.php?t=20672)

Skojverket Jul 20, 2013 04:11 PM

Insert image to footer
 
I would like to insert an image link in my footer.
Tried to modify footer code like this:

<p>&copy; <?php echo date( 'Y' ); ?> <?php bloginfo('name'); ?> &mdash; <?php __( 'All Rights Reserved.', 'montezuma' )<a href="http://www.skojverket.se" target="_blank">
<img src="http://www.vastraingelstad.se/Skojverket.png"</a>; ?></p>

...but then my image shows up to the left, one row down.
I want it after the "All Rights Reserved".

Please help a newbie, not so good at coding...

juggledad Jul 20, 2013 05:44 PM

try using this
HTML Code:

        <div id="my_footer_logo" class="row">
          <div  class="col5">&nbsp;</div>
                  <div  class=col2">
              <img src="http://www.vastraingelstad.se/Skojverket.png"</a></p>
            </div>
          <div  class="cf col5">
</div>
      </div>       


Skojverket Jul 21, 2013 02:50 AM

Pasted the code.
The image is now centered, but still under the copyright text. Not on the same row.
Does it matter where i paste it in footer.php?

My footer looks like this:

<div id="footer-bg">
<div id="footer" class="lw">

<p>&copy; <?php echo date( 'Y' ); ?> <?php bloginfo('name'); ?> &mdash; <?php __( 'All Rights Reserved.', 'montezuma' ); ?></p>

<!--
<p><?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds.</p>
-->

</div>

<div id="my_footer_logo" class="row">
<div class="col5">&nbsp;</div>
<div class=col2">
<img src="http://www.vastraingelstad.se/Skojverket.png"</a></p>
</div>
<div class="cf col5"></div>
</div>

</div>

juggledad Jul 22, 2013 03:51 AM

change it to
HTML Code:

<div id="footer-bg">
<div id="footer" class="lw">

<p>&copy; <?php echo date( 'Y' ); ?> <?php bloginfo('name'); ?> &mdash; <?php __( 'All Rights Reserved.', 'montezuma' ); ?>
  <img id="footer_logo" src="http://www.vastraingelstad.se/Skojverket.png" />
</p>

<!--
<p>
<?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds.</p>
-->
       

</div>

and then add
HTML Code:

#footer_logo {display: iline;}
to the CSS. you may want to play with the margins too. use FIrebug to see and play with the CSS


All times are GMT -6. The time now is 02:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.