• I’m using the Vesuvius template (WP 1.2). In the right col, there are two bordered boxes. I would like to add more. It looks to me like I can add the div tags in the appropriate location in the index.php file and then set the size and border attributes in the wp-layout.css file. Is this correct or am I missing something?

    Thanx
    DD

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter daviddecristoforo

    (@daviddecristoforo)

    I’ll take a look at your site if you give me the URL.

    YoB

    Thread Starter daviddecristoforo

    (@daviddecristoforo)

    You are correct about adding the divs in index.php and editing wp-layout.css to change the border. You don’t need to specify height in the sideboxes though. Try out the web developer extension for Mozilla Firefox to edit the CSS and have a live preview before uploading your changes. Very helpful.

    Interesting site. I often read Nutrition Action.

    Thread Starter daviddecristoforo

    (@daviddecristoforo)

    Thanx. We are just getting started with the blog…lots of work to do. When you say I don’t need to spec height, is that because it will “expand” to fit content? Do you have a URL for the extension?

    Thanx
    DD

    Thread Starter daviddecristoforo

    (@daviddecristoforo)

    OK never mind the URL…I found and installed the extension. Am I correct is assuming that any changes I make using the extension will be written to the site’s wp-layout.css file? If so, a backup first would seem a logical precaution…no?

    Thanx
    DD

    Yes, the div should expand to fit the content, unless you specify a background image for the div within the CSS file. Example:
    background: url("images/bg.png");

    The Firefox extention does not edit the CSS file on the site. It just reads it. The browser then reinterprets what changes you make. Then you cut and paste your changes from your browser into your CSS file on the server. This way you don’t waste time loading and reloading the file to see your changes.

    Just don’t visit another page when using that extention. It will load the CSS from the new site and you will lose your changes.

    YoB

    Thread Starter daviddecristoforo

    (@daviddecristoforo)

    Got it. Seems like a very helpful tool…thanx for the tip.

    DD

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘More “Little boxes”’ is closed to new replies.