Peter Boosten
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Need help for Title css and imageWhat title are you referring to? The title of a post? Assuming this, ans assuming you’re actually talking about the first half (in number of characters) of the title, then:
I think it’s possible, but you would have to extract the title from the post directly, split it in two, and apply to different classes to the concatenated strings. You cannot use the_title(), because it’ll echo the title to your browser immediately, without you being able to modify.
$title=$post->post_title;Will put the title in a variable called $title. After that you can determine the length of the title, split it in half with substr.
I’ll leave the rest up to you.
Peter
Forum: Themes and Templates
In reply to: Creating links for my navigation in the header graphicsame cutting technique 🙂
Then insert the image (not as background, but in your xhtml), and surround it with an anchor link. You probably have to remove the border in css afterwards, but that’s piece of cake.
Peter
Forum: Themes and Templates
In reply to: Post Title Character limit?It’s the background image of the btr class
btr { background-image:url(images/atr.jpg); height:100px; right:-3px; top:-3px; width:120px; }Easiest fix is to remove it.
Peter
Forum: Themes and Templates
In reply to: Constructor Theme Font QueryFind this in your stylesheet (broncasaurus.com line 162):
.hentry .title a, .hentry .title span { border-bottom:3px dotted #127DFF; }and remove the border-bottom line.
Peter
Forum: Themes and Templates
In reply to: My sidebar drops to the bottom of my page?!?!?Your sidebar (class SR – 380px width) is part of the class SC (width 480px), which also holds the content (there’s simply no room to hold the sidebar).
I suspect (didn’t check) a missing
</div>tag.You should also have a look at these validation errors
Peter
Forum: Themes and Templates
In reply to: image uploading problem in the postSounds like a permissions issue.
The account your web server runs with needs write (and create if you’re on Windows) permission in [webroot]/wp-content/uploads
Peter
Forum: Themes and Templates
In reply to: Custom page – add content via php?you would have to use the_content(). (don’t forget, it has to be in the loop).
Peter
Forum: Themes and Templates
In reply to: Every Image shows twice on the pageIt just a template problem.
You have to fix your template.Indeed is a very helpful advise…
@hardeep1singh: can you publish your single.php on pastebin?
Peter
Forum: Themes and Templates
In reply to: Where is the code for this colour.sidebar1 h2 { background:#D13F01 none repeat scroll 0 0; border:1px solid #FF7800; color:#FFFFFF; font-family:Georgia,Century gothic,Arial,sans-serif; font-size:14px; font-weight:bold; line-height:30px; margin:5px 0 0; padding:0 0 0 5px; text-transform:uppercase; }It’s #D13F01 😉
Peter
Forum: Themes and Templates
In reply to: Removing dots and expanding widthborder-bottom and border-left in your style.css
#tabber { background:#FFFFFF none repeat scroll 0 0; border-bottom:1px dotted #C0C0C0; float:left; margin:0; padding:0 0 5px; width:480px; }#homeleft { border-right:1px dotted #C0C0C0; display:inline; float:left; margin:20px 0 10px 10px; padding:0 20px 0 10px; width:480px; }The width in #tabber, #homeleft and .abouthome (in style.css) are responsible for how your content looks like.
Peter
Forum: Themes and Templates
In reply to: problem with aliging images to the left (IE6)not reachable….
Peter
Forum: Themes and Templates
In reply to: Creating links for my navigation in the header graphicA good method would be to cut the images from your background, and use them as background images for your list items.
Peter
Forum: Themes and Templates
In reply to: Trying to Avoid duplication in theme file layoutOke, now that we’ve established that: what exactly were your reasons not to use custom fields (as I come to think of it: since the page template and all of its surrounding functions – the sidebars) all have the same name (number), you could even use the pages postID to name and call these.
You wouldn’t even have to include anything:
<!-- begin the loop --> if sidebar(postID)-right exists, call that one if sidebar(postID)-left exists, call that one if sidebar(postID)-center exists, call that one <!-- end the loop -->I think a single page.php could do the trick.
Peter
Forum: Themes and Templates
In reply to: How to remove border on gallery images???oke, next file to look in is functions.php
Peter
Forum: Themes and Templates
In reply to: Creating links for my navigation in the header graphicHmmm, it must be because of that anchor link.
I’m going to experiment here (=my own system) a bit.
Peter