WordPress.org

Ready to get started?Download WordPress

Forums

More "Little boxes" (9 posts)

  1. DavidDeCristoforo
    Member
    Posted 9 years ago #

    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

  2. DavidDeCristoforo
    Member
    Posted 9 years ago #


  3. YardOBeef
    Member
    Posted 9 years ago #

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

    YoB

  4. DavidDeCristoforo
    Member
    Posted 9 years ago #

  5. YardOBeef
    Member
    Posted 9 years ago #

    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.

  6. DavidDeCristoforo
    Member
    Posted 9 years ago #

    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

  7. DavidDeCristoforo
    Member
    Posted 9 years ago #

    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

  8. YardOBeef
    Member
    Posted 9 years ago #

    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

  9. DavidDeCristoforo
    Member
    Posted 9 years ago #

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

    DD

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.