Cannot find time zone designation in CSS
-
Would someone please take a look at my blog & CSS here (i have tweaked wank’s biology skin):
http://judyb12.wordpress.com/The entry date includes the time zone designation of UTC, but my blog time zone is set to GMT-5 (UTC-6). The time of the posts is correct, but the time zone is not.
I cannot find where this hardcoded UTC is in the style sheet. Can someone help me, please?
Thanks
-
You wanna change this part, right?
Sat 9 Jun 2007 – 18:19 UTC
If so, it is affected by the class “entry-date” which I don’t see in your CSS. So, to change it, you need to define it.
.entry-date{ /* attributes you want it to have */ }HTH
-
sweet; i’ll give that a try. Thanks!
Edit: Wait, the attribute is there already:
.entry-date { text-align:center; font-size:1em; font-weight:normal !important; margin-right:50px; }i’m totally lost as to what to do with this. Do i need to use a Generated Content attribute?
-
I think he means you have to define the format. But then im useless at CSS so dont take my word for it lol
-
hmm, when I searched your CSS, I couldn’t find it. I must have missed it.
Have you tried changing those attributes?
-
the only thing i changed was the font size. It seems like none of those things would have anything to do with the time zone.
Also, i noticed that the “UTC” appears on the comments, too.
-
here’s what i found while looking at the entire page source:
<div class="entry-date"><abbr class="published" title="2007-06-07T15:48:18+0000">Thu 7 Jun 2007 – 15:48 UTC</abbr></div>Can i change this, or am i stuck with it? The CSS shows the following attributes:
abbr.published { border: 0; cursor: default; margin: 0; } body.home abbr.published, body.archive abbr.published, div.page-link { font-weight: bold; } -
yeah, you can change whatever you want in your CSS.
That’s odd. I mean, just changing the entry-date class should work. It works for me in one of my blogs where I am using Sandbox.
Maybe I’m missing something here. What is it that you wanna do with that part? do you want to change font style, color?
-
I think this is a bug that i will report next week. The problem is that the wrong time zone displays in my “entry-date” (UTC instead of GMT-5), and this is not CSS-dependent.
Thanks for trying to help me!
- The topic ‘Cannot find time zone designation in CSS’ is closed to new replies.