Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Insert image to footer


  #1  
Old Jul 20, 2013, 05:11 PM
Skojverket
 
5 posts · Jul 2013
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...

Last edited by lmilesw; Jul 22, 2013 at 08:16 AM.
  #2  
Old Jul 20, 2013, 06:44 PM
juggledad's Avatar
juggledad
 
23,550 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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>	
  #3  
Old Jul 21, 2013, 03:50 AM
Skojverket
 
5 posts · Jul 2013
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>
  #4  
Old Jul 22, 2013, 04:51 AM
juggledad's Avatar
juggledad
 
23,550 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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

Bookmarks

Tags
footer, image

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Taxonomies Insert in Footer, Kicker, Byline MoriokFutai Atahualpa 3 Wordpress theme 5 Feb 1, 2013 03:26 PM
Trying to insert a background image highred Center area post/pages 4 Jul 26, 2012 03:13 PM
How insert an image in place of blogtitle over the image on the header ? gilles Header configuration & styling 3 Sep 5, 2009 10:03 AM
[SOLVED] why insert image into image header in place to the blogtitle (like a logo) ? gilles Header configuration & styling 1 Sep 5, 2009 05:14 AM


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


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