|
starcalc
|
 |
« on: September 15, 2008, 03:19:50 AM » |
|
Please help me. The "News" module is displaying the titles in a weird way. To see what I mean, just go to starcalc.110mb.com. The title of the news should read "Sample News Created", but the letters are too close together. I have noticed this on the News page, too, but at least it's readable there. Is there any code or procedure that would fix this?
|
|
|
|
« Last Edit: September 15, 2008, 03:32:15 AM by starcalc »
|
Logged
|
|
|
|
Busman
Genetically Modified
Global Moderator
Advanced Authority Member
   
Offline
Posts: 1481
|
 |
« Reply #1 on: September 15, 2008, 03:32:10 AM » |
|
The problem goes away if you take out the <h1> and </h1> in <h1>Sample News Created</h1>
|
|
|
|
|
Logged
|
Hard drive failures are unavoidable. Anybody who says they are 'inevitable' is talking crap.
|
|
|
|
starcalc
|
 |
« Reply #2 on: September 15, 2008, 03:34:09 AM » |
|
The problem goes away if you take out the <h1> and </h1> in <h1>Sample News Created</h1>
Thanks. How exactly do I do that?
|
|
|
|
« Last Edit: September 15, 2008, 03:42:34 AM by starcalc »
|
Logged
|
|
|
|
|
general vegitable
|
 |
« Reply #3 on: September 15, 2008, 04:06:20 AM » |
|
just remove it from the text
|
|
|
|
|
Logged
|
|
|
|
|
starcalc
|
 |
« Reply #4 on: September 15, 2008, 05:00:50 AM » |
|
just remove it from the text
How? Is there something obvious that I'm missing?
|
|
|
|
|
Logged
|
|
|
|
|
general vegitable
|
 |
« Reply #5 on: September 15, 2008, 05:08:10 AM » |
|
right you would have put in: <h1>title</h1> right? you need to change it to just title
|
|
|
|
|
Logged
|
|
|
|
Busman
Genetically Modified
Global Moderator
Advanced Authority Member
   
Offline
Posts: 1481
|
 |
« Reply #6 on: September 15, 2008, 05:16:38 AM » |
|
I guess from his menu structure that starcalc is using the 'amazing' website creator, so a simple file edit may not be in his repertoire.
Sorry, starcalc, but I have no familiarity with the workings of the website creator.
|
|
|
|
|
Logged
|
Hard drive failures are unavoidable. Anybody who says they are 'inevitable' is talking crap.
|
|
|
|
starcalc
|
 |
« Reply #7 on: September 15, 2008, 05:18:43 AM » |
|
I can do file edits. I just need to know where the stupid file is! And yes, I do use the Website Creator. Also, it appears to work fine in IE8 (from browsershots.org), but all other browsers show the mistake.
|
|
|
|
« Last Edit: September 15, 2008, 05:26:14 AM by starcalc »
|
Logged
|
|
|
|
|
Piotr GRD
|
 |
« Reply #8 on: September 15, 2008, 05:26:44 AM » |
|
@ general vegitable He is using website builder. The <h1> over the title of the news is added automatically, he can not delete it.
@ starcalc Unfortunatelly in the template that you choose is a bug with formatting the h1 in the news section. As anyone can see, the style for the news is added in the body section inside of news section - very strange, but I guess that was most easy for programmers to implement add-on modules formatting inside of templates. Unfortunatelly I can not see any way for edit this - either the CSS style for news section or deleting the <h1> tag.
|
|
|
|
|
Logged
|
|
|
|
|
general vegitable
|
 |
« Reply #9 on: September 15, 2008, 05:33:26 AM » |
|
thanks guys, thats cleared a few issues up on my end, somehow i had a bad feeling about the website builder from the start. this issue seems like another bug in the system
|
|
|
|
|
Logged
|
|
|
|
Busman
Genetically Modified
Global Moderator
Advanced Authority Member
   
Offline
Posts: 1481
|
 |
« Reply #10 on: September 15, 2008, 05:43:12 AM » |
|
@starcalc :
When you edit your page, enter h1 tags in reverse order around the text in the title field..
</h1>Sample News Created<h1>
The website creator will then pad your text with h1 tags in the correct order, which will be nullified by yours.
Edit: Piotr Grd's solution below is more 'scientific' and elegant, but I'll leave my quick-and-dirty solution on the record in case another visitor needs the same solution, and doesn't feel competent enough to edit the CSS.
|
|
|
|
« Last Edit: September 15, 2008, 06:22:23 AM by Busman »
|
Logged
|
Hard drive failures are unavoidable. Anybody who says they are 'inevitable' is talking crap.
|
|
|
|
Piotr GRD
|
 |
« Reply #11 on: September 15, 2008, 05:44:35 AM » |
|
OK. I think I got the solution for you.
Either with File Mager or FTP client find a file /images/default.css on your account. Inside of it there is:
h1 { letter-spacing: -3px; font-size: 2.6em; }
The red is a problem. Add inside of this file new style:
#NewsTitle h1 { letter-spacing: 0px; }
Should work.
Basically everything is OK, but only not in this template.
edit: Aha! Clear your browsers cache after ding this modification of CSS file to see the changes. And remember to make backup copy of original just for a case.
@ Busman Your solution is working. There is only a field for title of the news, but HTML is not wipped out from there.
|
|
|
|
« Last Edit: September 15, 2008, 05:53:57 AM by Piotr GRD »
|
Logged
|
|
|
|
|
starcalc
|
 |
« Reply #12 on: September 15, 2008, 05:57:38 AM » |
|
Where do I add that code? Is there any way you can post the sections before and after the place where I'm supposed to add it? Also, couldn't I just change the "-3px" to "0px"?
|
|
|
|
|
Logged
|
|
|
|
|
Piotr GRD
|
 |
« Reply #13 on: September 15, 2008, 06:04:38 AM » |
|
Inside of that .css file. I guess that will work anywhere - put it at the very end of the file for sure.
And if you just change it all <h1> tags will be affected. And you just (I guess) want to change only <h1> tags inside of the #NewsTitle div.
|
|
|
|
|
Logged
|
|
|
|
|
starcalc
|
 |
« Reply #14 on: September 15, 2008, 06:06:46 AM » |
|
And if you just change it all <h1> tags will be affected. And you just (I guess) want to change only <h1> tags inside of the #NewsTitle div.
I don't want scrunched-up text anywhere, so I just changed it. While I was at it, I changed the -2px in h2 to 0px, too.
|
|
|
|
|
Logged
|
|
|
|
|
Piotr GRD
|
 |
« Reply #15 on: September 15, 2008, 06:12:49 AM » |
|
Outside of the news section <h1> and <h2> have large fonts, so that letter-spacing is well-founded for that. But of course it's all up to you. 
|
|
|
|
|
Logged
|
|
|
|
|
starcalc
|
 |
« Reply #16 on: September 15, 2008, 07:14:27 AM » |
|
I noticed that the title was too spread-out with 0px, and the page subtitles were to srunched-up with -3px/-2px, so I changed it to -2px/-1px, and added the news thing. Also, xx.xx.xx.xx, from London, United Kingdom (England), was the first real visitor to my site since I installed the hit counter. He (or she) clicked on a link in this thread to view the home page. This person uses Windows XP, with Internet Explorer 7. His screen resolution is 1280x1024, and he visited today at 5:00:30 PM EDT (10:00:30 PM London time, 21:00:30 GMT/UT)
|
|
|
|
« Last Edit: September 15, 2008, 12:14:12 PM by inp o҉rtb »
|
Logged
|
|
|
|
|
Piotr GRD
|
 |
« Reply #17 on: September 15, 2008, 07:25:02 AM » |
|
Well... I think that IP you should edit into ***, some persons don't want to show their IP to publicity. done that ~inportbAnyway - nice to hear that you resolve your problem. 
|
|
|
|
« Last Edit: September 15, 2008, 12:14:40 PM by inp o҉rtb »
|
Logged
|
|
|
|
|