Rainy Day theme Style.CSS help Rainy Day theme Style.CSS help
 

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

Rainy Day theme Style.CSS help

Started by chveron, July 05, 2007, 01:04:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chveron

I would like to Change the color of the gallery description in the Rainy day theme.
I have changed just about every color in the css and an now quite confused.
I have attached a pix of the text i wish to change.

I saw that in the css for Hardwired it is actually specified.

.gal_name
{
        color:#EAEAEA;
        white-space:nowrap;
        font-size:20px;
}

.gal_description
{
        color:#EAEAEA;
        white-space:nowrap;
        font-size:10px;
}


Thanks

Joachim Müller

Post a link to your gallery for a start.

chveron

I'm hosting this off my home PC for now and would prefer not to share that ip in a public forum. If needed, I would PM my ip to you GauGau.

Joachim Müller

You can not just make up CSS classes without assigning them in template.html as well. You have two options: either assign the classes to the corresponding section in themes/yourtheme/template.html or set the proper attributes for the HTML elements that control the stuff you want to see changed (h1 as far as I remember).

I don't want to be PMed. Self-hosting is not recommended at all.

chveron

TY for the reply. I am new to PHP so it took me a few min to figure out how to resolve this.
I found a couple odd ways of handeling it. Both quite cumbersome and I knew they weren't really the correct way to fix.

Here is what I was able to figure out;

1, Changing the colors in the CSS for <h1> change the gallery name color.
2, Changing the colors in the CSS for <h2> or <h3> did not affect anything.

Now looking at the Template.html;

I first found the <h1> assigned in the template,

            <h1>&nbsp;{GAL_NAME}</h1>

I then looked for <h2> and it was nowhere to be found.
I then looked for {GAL_DESCRIPTION} and found it as follows,

            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r3_c7.gif)" align="right">
              <h2>{GAL_DESCRIPTION}</h2>
            </td>

So i added the <h2> tags like so..

            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r3_c7.gif)" align="right">
              <h2>{GAL_DESCRIPTION}</h2>
            </td>

Once this change was made, I was able to change the color in the h2 portion of the CSS.

Thanks for the help. Got me thinking how these are 2 files are associated. (template.html and style.css)

Hope this will helps others.  :)

chveron

I don't see an exit post option =(

Quote from: chveron on July 08, 2007, 07:45:01 AM
I then looked for {GAL_DESCRIPTION} and found it as follows,

            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r3_c7.gif)" align="right">
              <h2>{GAL_DESCRIPTION}</h2>
            </td>

So i added the <h2> tags like so..

            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r3_c7.gif)" align="right">
              <h2>{GAL_DESCRIPTION}</h2>
            </td>
above text should read;

I then looked for {GAL_DESCRIPTION} and found it as follows,

            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r3_c7.gif)" align="right">
              {GAL_DESCRIPTION}
            </td>

So i added the <h2> tags like so..

            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r3_c7.gif)" align="right">
              <h2>{GAL_DESCRIPTION}</h2>
            </td>

Sami

Regular users can't edit their post
Marking as a solved
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

Quote from: chveron on July 08, 2007, 07:45:01 AM
I am new to PHP so it took me a few min to figure out how to resolve this.
No PHP involved. Only HTML/CSS.