Peter Boosten
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Different style on homepage and on subpagesHow about this?
Peter
Forum: Themes and Templates
In reply to: Problem with custom header replacement in KubrickIn the head tag of the xhtml file you’re currently editing (the header.php?).
<style type='text/css'> <!--#headerimg { display: none } --></style>Peter
Forum: Themes and Templates
In reply to: Problem with custom header replacement in KubrickFirst of all you have a
display: none;in #headerimg, which, hence the name, will not display whatever is in that element.Next to that you have several #headerimg in your stylesheet, with conflicting values. That could lead to confusion (on your part, the browser only uses the last values). So maybe it’s wise to combine those.
If you’re wondering why the images don’t aline: #page is 760px of width, while the images are a total of 795px wide (201+205+205+184).
Peter
Forum: Themes and Templates
In reply to: Problem with custom header replacement in Kubrickthen start by copying the original style.css from the default theme.
Peter
Forum: Themes and Templates
In reply to: Problem with custom header replacement in Kubrickbut is the code you posted meant to go onto the style.css page to correct the problem or are you just showing me what I did wrong?
From your header you reference the style.css as the file that contains the, ermm, styling. Since it doesn’t contain any, your home page isn’t styled.
Yet I saw in another page (the author page to be specific) that stlyes are embedded in the page itself (that’s possible with CSS or Cascading Style Sheets, albeit unwise).
So you have to make some corrections: either you copy the styles from the author page into the homepage, or you correct your complete site by removing those styles and bundle them in the style.css file (which exists for this purpose).
The code posted above (currently being in your style.css) isn’t valid css.
Peter
Forum: Themes and Templates
In reply to: Eliminating the edit function at the bottom of a themeYou see the edit link because you are logged in.
Log out and see if it’s gone.
Peter
Forum: Themes and Templates
In reply to: Problem with custom header replacement in KubrickThis is in it:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> <!-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> --> <HTML> <HEAD> <META HTTP-EQUIV="Refresh" CONTENT="0.1"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> <TITLE></TITLE> </HEAD> <BODY><P></BODY> </HTML>(although pretending to be strict xhtml, it’s actually very bad 😉 ).
Peter
Forum: Themes and Templates
In reply to: Problem with custom header replacement in Kubrickyou messed up your stylesheet. style.css doesn’t contain any styling, but some html.
Peter
Forum: Themes and Templates
In reply to: CSS image centering issueAlthough these classes exist in your css (I suspect, I didn’t check), there’s no way the image knows it has to apply these settings, since there’s no connection between the image and the class.
This might help:
.post img { display: block; margin-left: auto; margin-right: auto; }Peter
Forum: Themes and Templates
In reply to: IE layout issueAgain, you should NOT be positioning containers with (left) margins, because that’ll give unexpected results in different browsers.
example:
<div id="wrapper"> <div id="content"> <div class="post"> <p>your content goes here</p> </div> <!-- end class post --> <div class="post"> <p>your content goes here</p> </div> <!-- end class post --> </div> <!-- end content --> <div id="sidebar"> <ul> <li>sidebar entry</li> <li>sidebar entry</li> </ul> </div> <!-- end sidebar --> </div> <!-- end wrapper -->and the css:
#wrapper { width: 900px; margin: 0 auto; } #content { width: 600px; float: left; } #sidebar { width: 300px; float: left; }Peter
Forum: Themes and Templates
In reply to: Php help – mystery codeSo… regardless of how you construct the single.php page, as long as that plugin is active, it’s going to insert the code?
Yes.
And again, why wouldn’t removing/editing that stop the plugin from affecting posts?
I would have to examine the entire code for that.
Peter
Forum: Themes and Templates
In reply to: Customization Of PixelThe easiest way is changing this:
body { background:#000000 url(images/bgbody.jpg) no-repeat scroll center top; font-family:trebuchet ms,arial,helvetica,sans-serif; margin:0; padding:0 0 15px; text-align:center; }into this:
body { background:#000000 url(images/bgbody.jpg) repeat-y scroll center top; font-family:trebuchet ms,arial,helvetica,sans-serif; margin:0; padding:0 0 15px; text-align:center; }In your stylesheet (style.css), but it doesn’t give the result you desire (I think at least). The image is fading to black, so you would have to cut a piece of the background image, and make it tiling.
Peter
Forum: Themes and Templates
In reply to: Different headerOr you could use body_class().
Good addition, esmi, didn’t know about that one.
Peter
Forum: Themes and Templates
In reply to: Php help – mystery codeThe plugin is a filter using a hook in the the_content() function.
Everything that passes the_content(), passes that particular function. You could call it sneaky, but that’s by design 😉
Peter
Forum: Themes and Templates
In reply to: Fonts suddenly to largeYour post-entry class (in style.css) has a font-size of 1.1em, but that didn’t get in there by itself. Maybe that’s the cause?
.post-entry { font-size:1.1em; text-align:justify; }Peter