endpeg
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Sidebar page listing problemSurely someone must be able to help! I’ve done a serach with no help other than teh fact that there may be a sidbar bug in 1.5
Forum: Fixing WordPress
In reply to: Categories in Alphabetical OrderThanks! Had exactly the same problem and it only worked after updating the template-function-category.php file.
Forum: Themes and Templates
In reply to: how do i apply font-spacing to story content?*really not freally!
Forum: Themes and Templates
In reply to: how do i apply font-spacing to story content?You should freally be using a default system font for your body text to ensure other users see what you want. Something like Georgia may be OK if you definitely want a serif. I’ve just had a look and the letter spacing looks huge on my safari browser! Try adding letter-spacing 1px (or whatever) to your paragraph tags in your style sheet
p {font-family: georgia, "times new roman", serif; letter-spacing: 1px;}or
.storycontent p {font-family: georgia, "times new roman", serif; letter-spacing: 1px;}Forum: Fixing WordPress
In reply to: PHP generated inline CSS queryAnybody?
Forum: Fixing WordPress
In reply to: PHP generated inline CSS queryThe website’s at:
http://www.endpeg.com/Home, About, Archives etc are all highlighted when you’re on those pages. I just need a ‘catch all’ piece of code for the rest of the pages that dont get highlighted.
Forum: Your WordPress
In reply to: End Pegmmmmmm… digestives!
Forum: Your WordPress
In reply to: End PegThe navigation uses PHP and an inline style to determine what button is focused on. I’m still learning PHP but I found the method by trawling this support forum:
<?php
if ( is_home() ) { $current = 'b-home a'; }
elseif ( is_page('about') ) { $current = 'b-abou a'; }
elseif ( is_page('about-the-author') ) { $current = 'b-abou a'; }
elseif ( is_page('about-the-site') ) { $current = 'b-abou a'; }
elseif ( is_page('brief-resume') ) { $current = 'b-abou a'; }
elseif ( is_page('archive-index') ) { $current = 'b-arch a'; }
elseif ( is_page('links') ) { $current = 'b-link a'; }
elseif ( is_page('contact') ) { $current = 'b-cont a'; }
?><style type="text/css">
li#<?php echo $current;Â ?> {
color: #fff;
font-weight: bold;
background: #62C061 url(/img/nav-focus.gif) repeat-x bottom left;
}
</style>Forum: Your WordPress
In reply to: End PegThanks guys. I think the sidebar is still a niggling part of the design. I wanted a pale yellow sidebar but with white-out headings so there had to be some contrast in there. I will live with it for a bit and then change it if it gets too distracting – beauty of CSS! My style of fishing is an English thing so many people simply wont ‘get it’ – I always put my fish back too! And don’t you think Erik Cole would be a bit insulted by any comparisons to me!