Forums

Modifying CSS file (5 posts)

  1. JohnnyAv
    Member
    Posted 1 year ago #

    Something weird that i have noticed, everytime i change a value in a skins CSS file the content on my page will go absolutely blank. As soon as i upload the original CSS file it comes back again. I have now created a new theme and the same problem comes up.

    My CSS looks like this:

    /*
    Theme Name: XXX
    Theme URI: XXXX
    Description: XXXX
    Version: 1.0
    Author: XXXX
    Author URI: XXXX
    */

    #container {
    position: relative;
    width: 782px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    }

    Content showed up before i added the #container style. As soon as i added that the site got completely blank. Is it something Wordpress is doing which i am forgetting or ?

  2. RogerTheriault
    Member
    Posted 1 year ago #

    Since your site is blocked, might I suggest you try Firebug?

    Also, whenever you get a completely blank page always suspect a fatal error. View Source and look at the last line. Not that CSS would cause such an error, but there may be something else going on.

  3. JohnnyAv
    Member
    Posted 1 year ago #

    But its weird, if i just modify lets say the width of the default theme as well the site will go completely blank.
    I cant modify anything. Starting to wonder if it has something to do with my webserver having Safe-Mode "ON". That has always caused problems for IPB and other software.

    Will look into it, must be that.

  4. RogerTheriault
    Member
    Posted 1 year ago #

    Mine has safe mode on too. Depends how it's configured. I get warnings from all sorts of plugins, but everything works merrily (and safely).

    Do they have some weird rule about turning off the read bit somewhere? You might want to see what unix permissions the current CSS file has, and make sure you use the same. (WS_FTP allows you to remotely change permissions)

  5. gracestanat
    Member
    Posted 1 year ago #

    have you tried using "save as..." on the original file. if that doesn't work then there's something wrong with how you're saving files.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.