Change pic_caption and pic_title font Change pic_caption and pic_title font
 

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

Change pic_caption and pic_title font

Started by Walkinman, March 20, 2011, 10:20:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Walkinman

Hey folks

I know this is 2 topics, kinda .. but they're so closely related I thought it might be OK to make one post instead of 2. I'm trying to tweak the code for the pic_caption and the pic_title .. I've recoded the style sheet to say this:

.pic_title {
        color: #ffffff;
        font-size: 100%;
        font-family: Arial, Helvetica, sans-serif;
        font-weight:bold;
        text-align : center;
        padding-top:0px;
        padding-bottom:0px;
        margin-top:0px;
        margin-bottom:0px;
        line-height:1.0em;
}

.pic_caption {
        color: #ffffff;
        font-size: 75%;
font-style: italic;
        font-family: Arial, Helvetica, sans-serif;
       /* font-weight:bold; */
        text-align : center;
        padding-top:3px;
padding-right: 10px;
        padding-bottom:3px;
padding-left: 10px;
        margin-top:0px;
        margin-bottom:0px;
        line-height:1.0em;


but the fonts are not as styled here; they look like [irl=http://skolaiimages.com/stock_1.5/displayimage.php?album=1&pid=4561#top_display_media]this[/url]:

They should look like they do on my older version of cpg here:

What am I doing wrong. I thought just tweaking those t elements in the style sheet would fix this, but apparently not.

Appreciate your help.

Thank you.

Cheers

Carl

Walkinman

Ha ha .. fixed . I had to also copy the section starting at
/******************************************************************************
** Section <<<theme_display_image>>> - START
******************************************************************************/


to my theme. Cool. Getting closer. Marking solved.

Cheers

Carl

Walkinman

Hhhmm .. well .. I took the above section out of my theme.php, and the edits in the style sheet are still working fine. I'm not sure what's going on, or why it wasn't working before, and why it IS working now, but it seems to be fine.

Cheers

Carl

Αndré

Quote from: Walkinman on March 20, 2011, 10:51:02 PM
Ha ha .. fixed . I had to also copy the section starting at
/******************************************************************************
** Section <<<theme_display_image>>> - START
******************************************************************************/


to my theme.
That's just a comment that will be ignored by PHP, so it doesn't have an effect. I assume you haven't cleared your browser cache, that's why it wasn't working.

Walkinman

Hey André

I meant I copied that whole section BEGIN to END .. but even when I removed it, the page still works properly, so it must have been a browser thing, as you suggest.

Thank you.

Cheers

Carl