![]() |
change upper to lower case
Hi all, I cant find my old posting on this. Im trying to find how I can change my template skin from showing upper case automatically to lower case as standard but with the first letter as uppercase.
Can anyone help please? thank you :O) |
Re: change upper to lower case
Check the skin1.css:
Quote:
|
Re: change upper to lower case
thanks dalmuti, Im confused if this is to go into the css file as the format is different
eg: Category page */ .SubcatTitle { padding-left: 5px; width: 95%; text-align: left; } .SubcatInfo { white-space: nowrap; color: #000000; text-align: right; } /* I would guess I would put it in like this: */ .SubcatTitle { padding-left: 5px; width: 95%; text-align: left; } <style> P { text-transform: uppercase } </style> .SubcatInfo { white-space: nowrap; color: #000000; text-align: right; } /* but Im not sure if that looks correct, the syntax does not look right.. |
Re: change upper to lower case
I am new to the Xcart
Can someone tell me how to change my catorgeries from upper case to capital to the first letter and where i would do it Thanks in advance Gave up with CCP6 and trying Xcart out |
Re: change upper to lower case
I gave up on this, too fiddly for me so I got 7dana to do it and it was done in a flash.
|
Re: change upper to lower case
Code:
{$c.category|capitalize:true} http://smarty.php.net/manual/en/language.modifiers.php#language.modifier.capitaliz e |
Re: change upper to lower case
Thanks but where does this code go
lewis |
Re: change upper to lower case
skin1/customer/categories.tpl
|
Re: change upper to lower case
Thanks That was quick
:D/ |
Re: change upper to lower case
hello PhilJ
It does not seem to work I have tried it in a few places From this:- <tr class="CategoriesListRow"> <td valign="top" class="CategoriesListImg"><img src="{$ImagesDir}/custom/blue_arr.gif" width="10" height="14" alt="" /> </td> <td width="100%" class="CategoriesList"><a href="home.php?cat={$c.categoryid}" class="VertMenuItems">{$c.category}</a></td> </tr> <tr> To This :- <tr class="CategoriesListRow"> <td valign="top" class="CategoriesListImg"><img src="{$ImagesDir}/custom/blue_arr.gif" width="10" height="14" alt="" /> </td> <td width="100%" class="CategoriesList"><a href="home.php?cat={$c.categoryid}" class="VertMenuItems">{$c.category|capitalize:true }</a></td> </tr> Still all in capitals i only want the first letter caps |
Re: change upper to lower case
Strange, it should work, try clearing your template cache (run cleanup.php) then refresh.
|
Re: change upper to lower case
Sorry But not that advanced
How do i run cleanup.php Strange, it should work, try clearing your template cache (run cleanup.php) then refresh. Thanks again Sorry Found how to run cleanup.php But still no change I have run W3C validator and the page dont validate Any Idea's and maybe to with this (help!!!)
|
Re: change upper to lower case
Quote:
Open skin1.css file and remove the text-transform: uppercase; property from following classes: .VertMenuTitle .DialogTitle .DialogTitle2 .ProductTitle, .ProductTitle a .categories a .categories a:hover You can use the :first-letter pseudo-element to create "the first letter as uppercase" effects....for example: .VertMenuTitle:first-letter {text-transform: uppercase; font-weight: bold;} |
Re: change upper to lower case
Thanks again for your Patience
I am trying very hard but None found in the skin1.css file .VertMenuTitle { BACKGROUND-COLOR: #081589; COLOR: #FFFFFF; FONT-WEIGHT: bold; PADDING: 1px; } Tried adding .VertMenuTitle:first-letter {text-transform: uppercase; font-weight: bold;} Made no differance It seems to be part of my skin 'Neon Lights' the demo Skin put the catergories in full upper case Really stuck now thanks again lewis |
Re: change upper to lower case
Lewis, I replied to crazyoval question about Natural template. I don't have any expirience related to 'Neon Lights' template, but try open skin1.css and remove the text-transform: uppercase; property from:
.CategoriesList TD.VertMenuTitle FONT.VertMenuTitle |
Re: change upper to lower case
Found It
Thanks for all your help it was in skin1_c.css .CategoriesList { FONT-SIZE: 11px; TEXT-TRANSFORM: uppercase; FONT-WEIGHT: bold; LINE-HEIGHT: 16px; } and change it to .CategoriesList { FONT-SIZE: 11px; FONT-WEIGHT: bold; LINE-HEIGHT: 16px; } Now working fine Again thanks for you help and guidence i would have never found it on my own lewis afford www.qualitechnic.co.uk (CCP6) www.mobile-phone-batteries.eu/xcart/home.php (xcart - under construction) |
All times are GMT -8. The time now is 10:43 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.