Re: Help for color scheme controls Re: Help for color scheme controls
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Re: Help for color scheme controls

Started by Joachim Müller, July 13, 2005, 10:21:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joachim Müller

the # sign in front of a style definition means that the style is being applied by id. The id has to be unique on a page. Look at the html output of your forum - you'll find<div id="headerarea" style="padding: 12px 30px 4px 30px;">in your case. To do a similar thing on your gallery, you'll have to edit your template.html. However, you won't necesarily have to apply a style by id, keep on using the class attribute instead of the style attribute if you're more familiar with this, i.e. change #headarea to .headarea and set class attributes in your template.
There are many good tutorials on CSS available on the internet, e.g. http://www.w3schools.com/css/default.asp

Anhinga

Thanks; I got most of what I needed just by editing the HTML file.

The only thing I still can't figure out is what's causing the white horizontal bar between the header section and the main body.  What do I need to do in order to get rid of that?

snork13

Quote from: Anhinga on July 13, 2005, 11:54:24 AM
Thanks; I got most of what I needed just by editing the HTML file.

The only thing I still can't figure out is what's causing the white horizontal bar between the header section and the main body.  What do I need to do in order to get rid of that?

which white bar? i don't see white, just grey? On a side note i like the theme, you should be able to find the simple machine image on a black background...check there forum!

--snork

Anhinga

#3
What browser to you use?  The white bar appears there when I view the page with Firefox, but it seems like it doesn't for Internet Explorer.

I'd still like to get rid of it, though, since Firefox is what most of the people who go to my site use.

EDIT:  I've got one more question.  How do I control the color of the main font used by my gallery?  Right now it's black, which is kind of hard to read against the dark background.

Joachim Müller

font colors are inherited (as all other css attributes). Edit the color definition to the body definition in your stylesheet, as all subsequent colors will be inherited from the body section if you don't specify a different definition for a child element. Look for other instances of the color attribute and replace them as well if necessary. Like I said: this is not a particular coppermine issue, but general css knowledge - there are better places to look for help on css issues than this board. I recommend finding a good book or tutorial on css.

Joachim

P.S. We have a "one question per thread" policy on this board. You agreed to respect it when you signed up.