csleh
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: get category outside the loop — code difficultyI forgot I can add links in this forum. You can see what I mean here:
http://www.puritanautomation.com/datafiles/?page_id=14the two left columns — the second (inner) one has a different background color depending on category. I’m trying to get the photo in the first one differnt depending on category as well. THat info is in sidebar-left.php
Perhaps there is a way to query the post, get the category, then do an echo?
Forum: Themes and Templates
In reply to: Insert image in header ruïns the formatdifficult to answer, it depends on your theme, the image size, the css settings for wrap, top, header, h1 and img. The code above doesn’t even have an h2 — there is a <p>. Does invisible mean the image is on top of the text? below it?
You might try adding a class to your image like <img class=”floatimage” …/>
then in the stylesheet specify the class
‘.floatimage {float:left; margin-right:12px;}’
and perhaps then play with padding on the h1 like so
‘#header h1 {padding-top:6px;}’
or even line-height.Forum: Themes and Templates
In reply to: Formating taglineI had a similar problem with titles, and used <span> </span> right in the post title editor. Try that in the tagline editor.
Forum: Themes and Templates
In reply to: Vertical main pages instead of horizontalYour navigation is showing incorrectly, by stacking instead of lining up side-by-side, correct? This is usually done in the css stylesheet.
The easiest way to find the style you need to change is to open the page (regular site view) and view source. Locate the navigation area and note the id or class assigned to the ul.In the theme editor, find that style in the stylesheet. It should have display:inline on the li. That changes the list from vertical to horizontal.
Forum: Themes and Templates
In reply to: not recognizing category-7 templateI now use the force category template plugin and it works
Forum: Fixing WordPress
In reply to: only home page content showingIt was permalinks. Finally got those working and it all works like a charm.
Forum: Fixing WordPress
In reply to: Posts displaying but pages are not (2.3)Only an idea, but have you tried adjusting the css? I had a similar problem where if the content was floated left against the sidebar the page was blank. Float:right fixed it. Senseless really, since the float:left worked in previous wordpress version.
Forum: Themes and Templates
In reply to: Changing Static Page Nameby changing the name of the page, do you mean how you link to the page, and what displays in the browser window? If so, that info is in the page SLUG, not the TITLE. You can edit the title with spaces without affecting the slug.
Forum: Themes and Templates
In reply to: layout alignment problem in IE6 but alright in IE7 and FirefoxEven though 10+180+10 equals 200, ie6 won’t figure it out correctly.
Look up “conditional comments” you can fix for just ie6 if something like padding is the problem
Forum: Fixing WordPress
In reply to: Extra white space when formattingThe problem is here:
.rounded * {
padding-left: 16px;
padding-right: 16px;}
Take off the * to fix. You will need to add some spaces in some text though.
If download the firebug tool for firefox you can find these types of things more easily.
Forum: Fixing WordPress
In reply to: only home page content showingOkay, that did point me in a direction. If I have permalinks on, only the home page shows. Urgh.
Any ideas on that one? Everything I try messes it all up.
Forum: Fixing WordPress
In reply to: only home page content showingNot sure what you mean. The pages can be seen here
http://rogiercommunications.com/capabilities/The home page you see if “/capabilities” is left off is the old html one. The content on “capabilities” should not be the home page content.
I did see this in the source:
<link rel=”EditURI” type=”application/rsd+xml” title=”RSD” href=”/xmlrpc.php?rsd” />
but it isn’t in my header file. It appears right after the link to css sheet.Even if on an edit screen I choose “view page” I only see the home page content.
Forum: Fixing WordPress
In reply to: only home page content showingAnd, I don’t have any plugins activated. Fresh install of 2.3, fresh content. Oh, and the home page doesn’t use the index template, it’s pulling the general page template as it’s hijacking the site.
Forum: Fixing WordPress
In reply to: category version of list child pages, even on child page?Hmmm, wp_list_categories has a tag that lists children, but only children of the current page — in other words, not siblings.
So I’ll move to Pages to solve most of the problem.This is what I’m going for now:
Page A
> Page a-1 (shows a-1 and a-2 as subnavigation)
> Page a-2 (shows a-1 and a-2 as subnavigation)
(a-2 is assigned to category z)
list of post titles of category z
> full post– each indent is a level, so click on A and see a-1 and a-2
– a-1 and a-2 will always display links to each other (they are subnavigation in this A section)
– Page a-2 displays post titles of category z
– click on a post title to see the full post
I’m hoping to have this automated, so if new a-X Pages are added, they automatically appear in the subnavigation. And as new posts are added to a category, they automatically appear on the assigned page. I also want to automate the templates so I don’t need a unique template for each category — new categories should automatically follow along.
Forum: Themes and Templates
In reply to: Help with CSS and FirefoxI’m using firefox on a mac and don’t see an issue.
Validating is a good idea.
There are some unconventional things going on so a transitional doctype will work better.
If you could post a screenshot of what you want and what you see in firefox that would help.
One thing I see: there is a table on the bottom whose only purpose seems to be to add a line. You could take out the table and add a style to the footer:
border-top:1px solid #999;
margin-top:30px;adding a margin top will increase the spacing between the body and the footer. Padding will adjust the spacing between the top border and the footer content.