JonMeek
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Add HTML using Filter HooksHey Jan, thanks for the reply.
Yep, I did try wp_head just as you suggested. The problem with that is it places the code inside the HTML <head></head> tag.
To be a little clearer about what I’m trying to accomplish: I have created a child theme for Twenty Eleven, and I want to add a div between the “branding” and “main” divs.
I usually start with a basic layout in Illustrator and/or Photoshop, and then slice it up manually. By this I mean I don’t use the Slice Tool, I just create some guides and then crop the parts and “Save for Web” as separate files.
Then I go to Dreamweaver and do the XHTML/CSS layout to get the basic design nailed down.
Recently I have been creating child themes, that are based on other themes such as Sandbox or Thematic. In that case all that’s needed is to create a custom CSS file that manages the layout.
In the past to start from scratch, one simple way that I have done things is to still start with a theme that was close to what I wanted, at least in terms of functionality such as widgets, columns, etc. That way you can grab the various template tags that you need and insert them into your homemade temple files. Then if you need more template tags, it’s off to the Developer Docs.
To create the template files, just take the original HTML and break it up into the required parts, header, footer, etc. Then add the template tags extracted from a theme or just from the Docs.
That is a very quick description. BTW, I really love creating WP themes, and I guess that makes me a geek! Woohoo!
Jon
Forum: Fixing WordPress
In reply to: Firefox layout is very diferent from IEIt looks like iridiax is right, you have a good deal of code that does not validate.
Short of fixing that, you may want to try adding this to the body tag of your style sheet:
margin:auto;
text-align:center;Jon
Forum: Fixing WordPress
In reply to: jpg not rendering in IEI have seen this problem before, and though I can’t tell you all of the technical reasons behind the scenes, I think I do have a fix. The basics are that the internal data for the jpeg file are written in a way that is unreadable by Internet Explorer, and I guess Chrome too. I heard once that it has to do with the segmentation length. The fix is to resave the file in a graphics program such as Photoshop.
Here is what I did:
1. I saved your jpg file locally, and tested it in IE. It still doesn’t open.
2. I opened it in Photoshop and used the “Save for Web” settings and resaved it.
3. It opened fine in IE after that. It also opens in Chrome.I see that you have posted a gif version of the file, so you may not even need this fix, but if you do, here it is.
As a side note, in the case of your picture there was a problem with the color profile in Photoshop and the colors changed drastically. I fixed this by doing a screen capture of the original file and making tweaks in Photoshop. Anyway, here is a link to a version of the file that I fixed that should work in all browsers:
http://jonmeek.com/test/logo_martinafugazzotto-small_fix.jpg
Jon
You don’t really need the nestedList class. You can accomplish what you want with just one class. Then you just add each new ul in the CSS file like this:
#list ul { list-style:none; font-weight:bold; } #list ul ul { color:#099; font-weight: normal; } #list ul ul ul { color:#909; font-weight:normal; } #list ul ul ul ul { color:#990; font-weight:normal; }I have posted an example page: nestedlists.html
Hope that helps.
Forum: Your WordPress
In reply to: Examples of WP that don’t look like blogs?I built our company site completely with WordPress and a few plugins:
It is a pretty straight forward site. It does not currently have a blog, but there are plans to add one in the near future.
Jon