copyright suggestion

Started by wideye, October 02, 2004, 03:28:10 PM

Previous topic - Next topic

wideye

For designers like me, this thing is beautiful. Everything is so well organized and easily modified for look/feel, and as long as designers have a basic understanding of PHP, they can tailor it however. And it's free, so I don't have to mess with the hack developers I've hired in the past! Bravo!

BUT, like I said, I'm a designer so stylistic details are important. And with the nature of CSS and your hidden copyright function, I have no control over things like the color of links in the copyright notice. In my case, I've set up the background color of the footer to be the same color as the default color for unvisited links. That means that the links/names are invisible, for all intents and purposes. The footer is like this on every page of the site outside the message board. If I add in the style code in the index.english.php, I've apparently uncopyrighted it. So I have four choices: change the footer color in my site; create a separate class for links and apply it to every link in the site; leave it like this, in effect making the copyright names and links invisible - this seems just as bad as no copyright; or hope that there is an easy solution so I can change the link color in the footer so that I can do what I do, which is design. Somehow I doubt it.

I know I shouldn't complain because this is a pretty powerful app for free, but it's little details like that that kill me. I wouldn't dream of not giving credit. This thing rules! But in the next version I would suggest somehow giving control over at least the font attributes for the copyright notice.

Robert Boles
President, Wideye Design Group

[Unknown]

You can place a class around the copyright, and use something like:

.copyright a:link

Thanks,
-[Unknown]

Tomer

Quote from: wideye on October 02, 2004, 03:28:10 PM
......I wouldn't dream of not giving credit.......

Not everyone are like you. :)

wideye

I know. They haven't paid thousands of dollars to developers who eventually flake on you or do a terrible job on something they said would be no problem. Kind of hurts business, you know? So a copyright notice is a small price to pay, and honestly, so would changing my footer color be. I thought I'd just make a suggestion and see if there's anything that can be done.

[Unknown]

Quote from: [Unknown] on October 02, 2004, 03:30:56 PM
You can place a class around the copyright, and use something like:

.copyright a:link

Thanks,
-[Unknown]

Did you read my suggestion?  All you have to do is:

<div class="copyright">', theme_copyright(), '</div>

And then, in your CSS:

div.copyright a:link, div.copyright a:visited
{
   color: green;
}

-[Unknown]

wideye

Yeah, I tried it and various other work-arounds but they are all falling victim to cascade order. Although the div sets up a new a:link color, the actual link itself overrides it by referencing the global attribute. It almost doesn't make sense to me, but I think that's probably what's happening.

draw a flow-chart of that and you'll see what I mean. I think.

andrea

I think I did change the copyright text color in some of my themes by adding that extra css class (such as described above) and it worked fine.

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



wideye

That's the thing - the color of the text may be changed, but the links are the tricky thing. They seem to want to reference the global a:link. Global is a bad term to use here, and that's a reason why I stopped using tag specific CSS. It is global for a tag, yes, but is the set of attributes that is referenced most locally in the cascading. Now, a:link is a bit trickier because it's a special case...

This is what I've found, at least. I would love to be wrong about this...

[Unknown]

Make sure you have the class *below* the definitions for the regular link rules... for example:

a
{
...
}

.copyright a
{
...
}

Will work, but the opposite order will not.

-[Unknown]

andrea

#9
Quote from: wideye on October 02, 2004, 04:05:03 PM
That's the thing - the color of the text may be changed, but the links are the tricky thing. They seem to want to reference the global a:link. Global is a bad term to use here, and that's a reason why I stopped using tag specific CSS. It is global for a tag, yes, but is the set of attributes that is referenced most locally in the cascading. Now, a:link is a bit trickier because it's a special case...

This is what I've found, at least. I would love to be wrong about this...

I think you are wrong on this. Otherwise it would not be possible to change the link colors in any classes such as windowbg etc. Probably you have the wrong hierarchy in your css.


Edit: quote inserted to make clear to which post the reply is referring to

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



wideye

Hot damn, I was wrong on this. Sometimes I love being wrong. If only I could have that attitude with my fiance.

Yeah, it didn't make much sense to me either, honestly. I constantly confuse myself with CSS and the order in which it reads things. You're right, Andrea, and I've done that a zillion times before too. Maybe because I was up until 7am last night.

What I finally did was add attributes to the style for .copyright and suddenly it worked. I slowly deleted them from the CSS until I got back to the original and only attribute I need. It still works. Can't tell you what I did to make it work. Probably just a typo. Sorry to waste your time and thank you for your help.

andrea


Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



Advertisement: