Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Insert image to footer


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



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 06:05 PM.


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