Skip to main content
Known Participant
May 19, 2008 8:27 PM UTC
Answered

Heading Styles

WebHelp Pro
RH7

I am re-working a style sheet nightmare, like so many of us. To do so, I am selecting all in each topic and applying Normal to all the text. I have then applied Heading 1 to the topic title, and all I've done to that is raise the font size to 25pt in the style sheet. No matter what I do, though, the correct Heading 1 style does not show up when I compile and preview.

I don't know what style it is, but it isn't Heading 1. I have even deleted the old topic title, retyped it, and applied Heading 1. What am I doing wrong?
This topic is closed to new replies. Start a new post to keep the conversation going.
Captiv8r
Captiv8rCorrect answer
Legend
May 21, 2008 4:27 PM UTC
Hi Harooki

When you are editing your forum post via the web interface, look below where you type your reply. I'll upload a screen capture for you.

Click here to see

Cheers... Rick

Hi all

Apologies if someone else has offered this and I overlooked it.

Harooki, if you examine the HTML code of your topic and look near the top, you should see a Head section. Inside that section may be lurking an embedded style. It might look like this:

<style type="text/css"><!--
H1 {
font-size: 24pt;
color: #800000;
}
LI.H1 {
font-size: 24pt;
color: #800000;
}
-->
</style>

Note that I just tossed one together to see what it might look like. Your code (I'm guessing this is the issue) would look different, yet still start and end with <style> and </style>.

See if you can find that and blow it away. Always remember that embedded styles will override style sheets.

Again, apologies if this has already been covered. I did scan the longish thread but don't recall seeing it.

Cheers... Rick

17 replies

RoboColum_n_
Legend
May 21, 2008 2:46 PM UTC
Can I step back a bit. Have you got the correct style sheet assigned to the topics? Remember that templates also have a style sheet assigned to them.
Translate
harooki2Author
Known Participant
May 21, 2008 3:24 PM UTC
Wow, I thought you had it. That sounded so good, because there was a template attached to the bad one. So, I removed it.

Both topics have the same style sheet attached. They both now have no template attached. But, alas, I'm getting the same result.
Translate
RoboColum_n_
Legend
May 21, 2008 3:37 PM UTC
If you are using folders inside your project, check that there isn't another version of the style sheet inside the folder where the offending topic exists. You can check this quickly by using the Topic Properties report with the Style Sheet option selected.
Translate
harooki2Author
Known Participant
May 21, 2008 2:25 PM UTC
This is the second time someone has mention the Attach Code button. Can someone tell me specifically where that button is? I can't find it.
Translate
RoboColum_n_
Legend
May 21, 2008 2:33 PM UTC
It does not appear if you use the "Quick Reply" button to post to these forums. Instead click on the "Reply" link above each post and you'll find it there.
Translate
harooki2Author
Known Participant
May 21, 2008 2:39 PM UTC
The code for each of these headings (the bad one and good one) are exactly the same. Unless I misunderstand what I should be looking for, the text is enclosed with a simple h1 tag.
Translate
Peter Grainge
Community Expert
Community Expert
May 20, 2008 5:56 AM UTC
Have you looked at the HTML code in True Code / HTML View/

Translate
Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
MergeThis
Inspiring
May 20, 2008 11:38 AM UTC
The "whs" styles appear only in the output files, indicating that RH has converted your source styles into browser-friendly styles.

As Peter suggests, try checking the TrueCode for one of the topics. You could even copy one of the H1 elements (the entire line) and provide it here using the Attach Code button below. We might spot the problem easier if we can see that.


Good luck,
Leon
Translate
harooki2Author
Known Participant
May 19, 2008 8:39 PM UTC
Thanks, but that didn't work. The only way I can get Heading1 to work is to create a new topic.

I've searched the style sheet and the styles available in this topic, and there's no style that even looks like what is being rendered. And, by the way, what are styles that are named "whs" followed by a number?

-------------------------------------------------------------------------

I have found that creating a new topic, then cut & pasting from the old topic resolves this problem. However, it will probably create others; and I want to know what's going on here. Although I have the workaround, I still would appreciate expert feedback.
Translate
Inspiring
May 19, 2008 8:34 PM UTC
oops, sorry for the triplicate reply, my computer's very slow to respond today...
Translate
Inspiring
May 19, 2008 8:33 PM UTC
you might try applying "(none)" instead of Normal to your headings before you re-style.... I think that (none) does a better job of stripping out any underlying codes
Translate
Inspiring
May 19, 2008 8:33 PM UTC
you might try applying "(none)" instead of Normal to your headings before you re-style.... I think that (none) does a better job of stripping out any underlying codes
Translate
Inspiring
May 19, 2008 8:32 PM UTC
you might try applying "(none)" instead of Normal to your headings before you re-style.... I think that (none) does a better job of stripping out any underlying codes
Translate