coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: chveron on July 05, 2007, 01:04:00 AM

Title: Rainy Day theme Style.CSS help
Post by: chveron on July 05, 2007, 01:04:00 AM
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
Title: Re: Rainy Day theme Style.CSS help
Post by: Joachim Müller on July 05, 2007, 06:52:12 AM
Post a link to your gallery for a start.
Title: Re: Rainy Day theme Style.CSS help
Post by: chveron on July 05, 2007, 11:31:37 PM
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.
Title: Re: Rainy Day theme Style.CSS help
Post by: Joachim Müller on July 06, 2007, 09:10:35 AM
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.
Title: Re: Rainy Day theme Style.CSS help
Post by: chveron on July 08, 2007, 07:45:01 AM
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.  :)
Title: Re: Rainy Day theme Style.CSS help
Post by: chveron on July 08, 2007, 07:54:43 AM
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>
Title: Re: Rainy Day theme Style.CSS help
Post by: Sami on July 08, 2007, 08:40:41 AM
Regular users can't edit their post
Marking as a solved
Title: Re: Rainy Day theme Style.CSS help
Post by: Joachim Müller on July 08, 2007, 09:47:48 AM
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.