PDA

View Full Version : combine copyright and "powered by...."


davidzvi
Apr-15-2009, 10:49 AM
I'd like to combine my image copyright notice and the powered by tag line.

I know it has something to do with the cobrand_footer (I think) but I can't figure out what property to change.
:scratch

davidzvi
Apr-16-2009, 06:48 AM
Anybody? I know I've seen at least a few people with this done.

This is one of the reason's I'd like to change it:

http://blueberryphoto.smugmug.com/photos/513766619_476Xk-L.jpg

on gallery pages, the way I have is now it displays in wrong place.

jfriend
Apr-16-2009, 07:56 AM
Anybody? I know I've seen at least a few people with this done.

This is one of the reason's I'd like to change it:

http://blueberryphoto.smugmug.com/photos/513766619_476Xk-L.jpg

on gallery pages, the way I have is now it displays in wrong place. I don't know of any easy way to combine them onto the same line, but it would not be hard to fix your CSS so you don't get the overlap showing in your screen shot.

The overlap is caused by the two lines in red below in your CSS. If you remove them, the overlap goes away. If there's a specific screen that you added these for, then please let me know what screen that is because there is a better way to solve that problem without creating this other problem:

#my_footer{
position: relative;
margin: 0 auto;
background: none;
color: #00184E;
font-size: 12px;
font-weight: 400;
top: -25px;
}

davidzvi
Apr-16-2009, 08:13 AM
I don't know of any easy way to combine them onto the same line, but it would not be hard to fix your CSS so you don't get the overlap showing in your screen shot.

The overlap is caused by the two lines in red below in your CSS. If you remove them, the overlap goes away. If there's a specific screen that you added these for, then please let me know what screen that is because there is a better way to solve that problem without creating this other problem:

#my_footer{
position: relative;
margin: 0 auto;
background: none;
color: #00184E;
font-size: 12px;
font-weight: 400;
top: -25px;
}


Can't think of any reason I added that originally, unless it was to bring the line up closer under the gallery on the home page. Or it was just part of what I copied when I found the code for the navbar originally.

But of course as I was contacting you I got a PM back from one of the people I found that has this modification on their site.

Bottom Jscript



function AddReferralCode() {
var links = this.getElementsByTagName("A");
if (links && (links.length != 0)) {
var smugLink = links.item(0);
smugLink.href = "http://www.smugmug.com/?referrer=#########";
}
var myFoot = document.getElementById('footer');
myFoot.innerHTML = myFoot.innerHTML.replace(
'Portions',
'Copyright &copy; 2009 XXXXXXXX. All rights reserved.</span> | <span class="text">Portions');
}
YE.onAvailable('footer', AddReferralCode);


I have a bridal show this weekend and getting my site finally looking close to the way I want is one of the things I really need to get done by Sunday, almost there. My services page and updating my images galleries are the last things to do. At least the image updates will be easy.

jfriend
Apr-16-2009, 08:19 AM
Can't think of any reason I added that originally, unless it was to bring the line up closer under the gallery on the home page. Or it was just part of what I copied when I found the code for the navbar originally.

But of course as I was contacting you I got a PM back from one of the people I found that has this modification on their site.

Bottom Jscript



function AddReferralCode() {
var links = this.getElementsByTagName("A");
if (links && (links.length != 0)) {
var smugLink = links.item(0);
smugLink.href = "http://www.smugmug.com/?referrer=#########";
}
var myFoot = document.getElementById('footer');
myFoot.innerHTML = myFoot.innerHTML.replace(
'Portions',
'Copyright &copy; 2009 XXXXXXXX. All rights reserved.</span> | <span class="text">Portions');
}
YE.onAvailable('footer', AddReferralCode);

I have a bridal show this weekend and getting my site finally looking close to the way I want is one of the things I really need to get done by Sunday, almost there. My services page and updating my images galleries are the last things to do. At least the image updates will be easy. That code changes the Smugmug footer. You would have to modify it to incorporate your copyright message into it without changing the Smugmug portion of the copyright that is required to be on your site. Personally, I wouldn't put them on the same line - I'd just fix your formatting as I've suggested.

davidzvi
Apr-16-2009, 08:28 AM
That code changes the Smugmug footer. You would have to modify it to incorporate your copyright message into it without changing the Smugmug portion of the copyright that is required to be on your site. Personally, I wouldn't put them on the same line - I'd just fix your formatting as I've suggested.

This is the code he sent me. I'm changing it a little, replacing "portions" with "powered". Yes it changes that line, but I have seen font and text changes on several sites and some that even set the font size so small as to make it look like just a line at the bottom of the page. This is exactly what I was looking for:

http://blueberryphoto.smugmug.com/photos/513809915_8eEg7-L.jpg

jfriend
Apr-16-2009, 08:44 AM
This is the code he sent me. I'm changing it a little, replacing "portions" with "powered". Yes it changes that line, but I have seen font and text changes on several sites and some that even set the font size so small as to make it look like just a line at the bottom of the page. This is exactly what I was looking for:

http://blueberryphoto.smugmug.com/photos/513809915_8eEg7-L.jpg If that's what you want, then go with it. I was just offering you my opinion.