CSS & Previewing not working properly??

  • Author
    Posts
  • #414676

    sampotts
    Member

    I have selected a 3 column template but all I wanted to try out was changing the colour scheme. In doing this, I dont have to change anything except for the Hex Colour. As there are no changes to the physical structure in doing this, I didnt expect things to change at all apart from the colour I entered.

    For some reason, no matter what colour I change, when I preview the CSS as either new or add to existing, I see the colour change but also different areas are within the template seem to get effected in the layout and things are not where they should be. This is probably the easiest task you can do in CSS so I am confused!!

    Why is this happening and what guarantee do I get that if I go ahead and pay for CSS Upgrade, that this wont happen once I have paid for it?

    The blog I need help with is sampotts.wordpress.com.

    #414884

    husdal
    Member

    Why is this happening and what guarantee do I get that if I go ahead and pay for CSS Upgrade, that this wont happen once I have paid for it?

    Without knowing the exact code you edited and which theme you used it is impossible to tell what could be the cause or why things did not work out as expected.

    #414939

    Do not paste the entire CSS into the CSS edit window. Paste only the specific sections, and the specific declarations that you are changing. As an example if you are changing the body background color, that section may look like this in the original CSS:

    body {
    background:#acacac;
    font:normal 1em Arial, Helvetica, sans-serif;
    margin:0;
    }

    What you would add to the CSS edit window to change the background color would be:

    body {
    background:#acacac;
    }

    and then change the hex color code.

    #414942

    devblog
    Member
    #414944

    gwideman
    Member

    > what guarantee do I get that if I go ahead and pay for
    > CSS Upgrade, that this wont happen once I have paid for it?

    … I can testify that in many hundreds of uses of wp.com’s Edit CSS feature, it has never once not done what it’s supposed to. Now the CSS might not produce quite the effect I expected in the browser, but that was always because I didn’t yet understand some aspect of CSS or browser that I later saw was the cause, and was able to remediate.

    — Graham

    #414946

    gwideman
    Member

    … and to reinforce what TSP said…. to just change a color, use the “Add this to the Xxxx theme’s CSS” option, NOT the “Start from scratch” option, and as TSP said, in the edit window only enter the CSS for items that you want to change.

    wp.com sends your custom CSS to the browser after it sends the theme’s own CSS, so your custom settings override the corresponding settings from the theme’s own CSS.

    — Graham

The topic ‘CSS & Previewing not working properly??’ is closed to new replies.