• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Footer, Text Over Image

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Apr-17-2009, 10:51 AM
#1
Thunder Rabbit is offline Thunder Rabbit OP
It's now. Be here.
Thunder Rabbit's Avatar
Footer, Text Over Image
Howdy.

So far, so good. But my brain is nearing the melt down point. I want to do something simple, but can't figure it out. Checked the FAQs. No luck. The answer may be there, but I seem to be having an extended senior moment.

I want my footer to have a background image with text on top. I can get the image in, but I can't figure out how to insert the text, and control its font, color, size, and alignment.

Any help would be appreciated.
__________________
Peace,
Lee

Thunder Rabbit GRFX
www.thunderrabbitgrfx.com
Old Apr-17-2009, 11:56 AM
#2
BeachsidePaul is offline BeachsidePaul
Big grins
BeachsidePaul's Avatar
Code:
<div id="LDP_copyright" style="background-image:url('http://lightdynamics.smugmug.com/photos/504050662_bet4w-L-1.png'); background-position:center; background-repeat:no-repeat;">
All photographs displayed on this site and galleries are copyrighted works of the respective<br>
photographers and may not be used for any personal or commercial purpose without express written permission of the photographer.</div>
This works for me, obviously you need to change the image link and the words we use for our copyright info. Also, note our footer is wrapped in a division with the id of LDP_copyright. Hope this helps, Paul

EDIT: I tested it on our website and it worked fine but have removed the image so don't go there to look at it.
__________________
Light Dynamics Photography

"There are no rules for good photographs, there are only good photographs. " ... Ansel Adams
Old Apr-17-2009, 01:28 PM
#3
Thunder Rabbit is offline Thunder Rabbit OP
It's now. Be here.
Thunder Rabbit's Avatar
Howdy.

Thanks, Paul, for your reply. I tried your code in my CSS and Custom Footer boxes, and couldn't get it to work. It doesn't look like CSS. Where does it go?

Right now, I'm using this code:

CSS Box:

#my_footer {
width:750px;
height:120px;
margin: 0 auto;
background: url(http://thunderrabbitgrfx.smugmug.com/photos/514450761_RZZ2M-L.jpg); }

Custom Footer Box:

<div id="my_footer"> </div>

This gives me the footer on my pages now.

I was hoping to overlay it with text and control the text attributes in the CSS. I tried some variations on the tutorial on how to make a cool custom header. Then adding it to my Custom Footer Box. But all I get is my background image.

Am I using the right approach?

Thanks again in advance.
__________________
Peace,
Lee

Thunder Rabbit GRFX
www.thunderrabbitgrfx.com
Old Apr-17-2009, 01:42 PM
#4
BeachsidePaul is offline BeachsidePaul
Big grins
BeachsidePaul's Avatar
Your CSS is fine but you need to put the URL in quotes. Also, the text for your footer needs to go in the <div> for your footer. Hope this helps, I'm really terrible at putting what I know into words LOL ... Later, Paul

EDIT: Sorry, not thinking straight (happens with old age) ... I put the same basic stuff that you have in your CSS in my footer HTML code for a quick test, net result should be the same if you add the quotes in the URL. Also, you probably don't have to set your height or width on you #my_footer CSS, won't hurt but if you go to stretchie theme it might break. I'm far from an expert on this but, as I said, it worked for me. Paul

EDIT: Don't even say it! Also add this to your CSS for the footer "text-align:center;" I'll get it right eventually.
__________________
Light Dynamics Photography

"There are no rules for good photographs, there are only good photographs. " ... Ansel Adams

Last edited by BeachsidePaul; Apr-17-2009 at 02:18 PM.
Old Apr-17-2009, 04:57 PM
#5
Thunder Rabbit is offline Thunder Rabbit OP
It's now. Be here.
Thunder Rabbit's Avatar
Howdy.

Thanks again, Paul.

I got it working. It's centered horizontally, and I was trying to figure out how to center it vertically, or at least set a top margin.

And then, I decided to take the cowards way out. I just put the whole text and everything in one image and stuck it in and called it good.

All is well.
__________________
Peace,
Lee

Thunder Rabbit GRFX
www.thunderrabbitgrfx.com
Tell The World!  

Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump