coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: anniesgranny on September 13, 2009, 03:12:12 PM

Title: [Solved]: Changing Antique theme from uppercase to none
Post by: anniesgranny on September 13, 2009, 03:12:12 PM
In the Antique theme the user comments are always displayed in uppercase even thought they are entered in mixed case.
How can I change this?
Title: Re: Changing Antique theme from uppercase to none
Post by: phill104 on September 13, 2009, 03:23:36 PM
Can you provide a link to your site? The version of the them in the demo shows both upper and lower case fine.
Title: Re: Changing Antique theme from uppercase to none
Post by: anniesgranny on September 13, 2009, 03:27:28 PM
Hi,
Sorry, but my site is private and contains photos I don't have the contributors permission to share.
When I check the demo the comments are mixed case in Classic theme but upper in Antique.
For me, this link displays only upper case comments on the bottom of the screen:
http://coppermine-gallery.net/demo/cpg14x/displayimage.php?album=lastcom&cat=0&pos=0

Thanks for the help!
Title: Re: Changing Antique theme from uppercase to none
Post by: phill104 on September 13, 2009, 03:43:48 PM
In that case there must be a browser issue. For me the comments are mixed case on the link you provided.

As I cannot check your site there is little else I can do to help.
Title: Re: Changing Antique theme from uppercase to none
Post by: François Keller on September 13, 2009, 03:45:40 PM
you must search in the style_wp.css file for this code
#comments,#respond {
text-transform: uppercase;
margin: 0;
margin-top: 15px;
color: #441207;
font: 0.9em verdana, helvetica, sans-serif;
}

and comment delete or modify the
text-transform: uppercase;

not tested, but should do the trick
@Phill, with the Antique theme, the comments are uppercase
Title: Re: Changing Antique theme from uppercase to none
Post by: phill104 on September 13, 2009, 03:47:19 PM
I've just noticed I was looking with the classic theme. I was being a bit thick and just clicking the supplied link :-[

Just tested and the code is around line 471 of the aformentioned file.

I would simple change

text-transform: uppercase;

to

text-transform: none;

And then keep notes somewhere incase any upgrades or restores you do in future overwrite this.
Title: Re: Changing Antique theme from uppercase to none
Post by: anniesgranny on September 13, 2009, 04:00:01 PM
Thanks for trying to help!
Yes, that did the trick. But only if I changed it in the original Antique theme and not in my own copy.
There seems to be some redirect that points to the original and not the adapted theme.
Any clues on where to look?

Title: Re: Changing Antique theme from uppercase to none
Post by: François Keller on September 13, 2009, 04:03:50 PM
yes, look at the css include path in your template.html file
Title: Re: Changing Antique theme from uppercase to none
Post by: anniesgranny on September 13, 2009, 04:10:38 PM
This is strange. The template.html points to my adapted theme.
I have changed it before, moved the side bar to the left, changed the width and it works fine.
But not this text-transform.
It seems impossible, and I have checked x number of times now that I am actually adapting the correct and active theme.
I will try to change something else in it now, color of the text or something, just to prove that to myself...

Title: Re: Changing Antique theme from uppercase to none
Post by: phill104 on September 13, 2009, 04:32:47 PM
Try clearing your browsers cache. If that doesn't work zip your custom theme folder and attach it to your next post.
Title: Re: Changing Antique theme from uppercase to none
Post by: anniesgranny on September 13, 2009, 04:39:27 PM
Clearing the cache did it! Thanks' a million!!