Skip to main content
Known Participant
December 8, 2011
Answered

Updating style.css or style itself doesn't update topics

  • December 8, 2011
  • 1 reply
  • 1609 views

I am having an issue with the styles within RH. There is a defined style.css that was created, however, when the individual fonts or formats are changed within it, it doesn't change the topics. In addition, when I tried to just update a specific style on the style and formatting pod, I make the changes, it stores them, but when I select it to update selected paragraph of text, it changes the font to something totally different and the formatting as well. Am I missing some other area where possibly a default is taking over and I am not seeing it?    It is becoming more and more frustrating, because I have had to go through topics over and over again, because it keeps re-formatting them on me.  Any help would be greatly appreciated.

    This topic has been closed for replies.
    Correct answer Willam van Weelden

    William,

    I did this, and when IE opens it displays the same things as the preview window (no color settings).

    This morning, while working on it, I noticed that for some reason , although all of the topics are assigned to the style.css file as their appearance properties, from the print preview window and in IE, they are linked to the default.css. Which I then opened and noticed that it had different formats than the style.css which is why they are look different than the actual topics. I tried searching to see where it might over-ride the style.css and use the default, but wasn't finding anything. It is for all topics, so it makes me think it is something globally that I need to correct now, but still not understanding why if we only made that one change with deleting the line with the wrong fonts in it, that it would then send everything back to the default.css instead of the assigned style.css as prior to the change.

    Any suggestions?


    How annoying,

    I just tested the HTML you posted with the CSS you posted and I could not reproduce this problem. Can you share an example topic so I can try to reproduce the problem?

    Greet,

    Willam

    1 reply

    Willam van Weelden
    Inspiring
    December 8, 2011

    Hi,

    Since the change in style is reflected in your css, you probably have some kind of inline styling that prevents the style from your style sheet to take effect. Take a look at the HTML code. You will probably see many style attributes in your tags. You may also see a <style> block in the header of your document.

    Can you post screen shots of what is going wrong with the different fonts getting assigned?

    Greet,

    Willam

    Message was edited by: Willam van Weelden

    pmudge07Author
    Known Participant
    December 8, 2011

    Thank you for the quick response.....here is what I am seeing:  I noticed that there is inforrmation in the header, but I am still not understanding why the the information further down doesn't match the information that I set for the "normal" setting in the style guide. ( I have bolded the text that I am speaking of). The normal template I stated to use an arial font, 11pt, and a right margin of 256pt. However, when I select the normal style from the drop down (within design view), I get a veranda font, 11pt, and 281px right margin. I cannot seem to get rid of it. I also happened to notice this happen with the other styles too.....that in some instances, it always defaults back to veranda font, when no where in the settings does it say to use it, nor does it say in the html code. (weird), I also added a picture of the style setting....hope its helpful.

    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="Adobe RoboHelp 9" />
    <title>Add or Update an Order Group</title>
    <link rel="StyleSheet" href="../../styles.css" type="text/css" />
    </head>

    <body>
    <h1><span><img src="../../Images/New_Button.jpg" alt="" style="border-left-style: Outset;
         border-left-width: 2px; border-right-style: Outset; border-right-width: 2px;
         border-top-style: Outset; border-top-width: 2px; border-bottom-style: Outset;
         border-bottom-width: 2px;" width="35" height="33" border="2" />
    Add or Update an Inserter Order Group</span></h1>
    <p style="text-align: justify; margin-right: 281px;"><span style="font-family: Arial, sans-serif;">The
    instructions below explain how to create a new inserter order group. To
    update an order group, display the <a href="Inserter_Schedule_-_Inserter_Order_Group_Window.htm"
               style="font-family: Arial, sans-serif;
               color: #0000ff; font-weight: bold;">Inserter
    Schedule - Inserter Order Group window</a>, select the inserter order
    group you want to update from the <a href="Inserter_Order_Group_List.htm"
               style="font-family: Arial, sans-serif;
               color: #0000ff; font-weight: bold;">Inserter
    Order Group list</a>, and make changes to the appropriate <a href="Inserter_Order_Group_Details.htm"
      style="font-family: Arial, sans-serif; color: #0000ff; font-weight: bold;">Inserter
    Order Group details</a>. Remember to save your changes as explained in
    Step 4 below.</span></p>

    Willam van Weelden
    Inspiring
    December 8, 2011

    William,

    well....I thought it was working, I just opened up the project again after lunch, and now none of the headings are formatted correctly....below is a pic of what they should look like, and what they look like after I made the changes above. It still shows in the file, but now in the design screen they show up, but when I preview after saving, the color and formatting is gone....and it is formatted differently. ...what did I do wrong?????, all of my topics now look like this.


    Hi again,

    What happens if you choose View with and use IE or Firefox to view the page? I'd like to know whether this problem of the preview window or of your topic.

    Greet,

    Willam