The Official KSAND Kent Sandvik Web Site

Producer, guitar player, composer and maker of noise.

WordPress Theme Editing

Posted on | August 5, 2007 | 2 Comments

cat_and_catnip.jpgI had to switch to a new theme as I upgraded WordPress to 2.2.2, and the old theme stopped working. That happens, but this new theme I found today is better as it handles widgets and so on, and I’m in the middle of customizing it.

However, I noticed that the img tag paddings don’t work unless I go in and edit them via the editor, seems that the image padding is now saved in the database rather than picked up from the css. That means that I need to go through each entry and update the information. Just now the padding between images and text is not honored, so it’s too close, and I’m a perfectionist concerning easy reading of web sites.

This all means that for any of you who subscribe, and you don’t have ‘ignore modified postings’, you will later tonight get a listing of 266 or so modified entries. Sorry, but it’s better to do this today than postpone it.

It’s always a challenge to keep up to speed with software changes, indeed. But it’s better to do it early than later, I’ve learned the hard way.

Comments

2 Responses to “WordPress Theme Editing”

  1. Anthony
    August 5th, 2007 @ 10:23 PM

    Kent,

    I have special classes set in the theme for handling images. When you enter the image code you don’t have to use the align, hspace, and vspace attributes.

    For instance, the code for the image in this post is:

    By applying the css classes, it will make posting an image easier. Here’s how you would post the image in this post using the settings:

    Hope that helps…….

  2. Kent Sandvik
    August 6th, 2007 @ 8:27 AM

    Thanks for the info, appreciate it. I ended up doing the edits by hand via the WordPress editor, i.e. putting in padding for images this way. One reason is that in case I switch to other themes, they might have the same issue. I could put in something like you said, but then I need to manage the code each time I update WordPress.

Leave a Reply

You must be logged in to post a comment.

About

This is an area on your website where you can add text. This will serve as an informative location on your website, where you can talk about your site.

Subscribe to our feed

Search

Admin