Forum Replies Created
-
AuthorPosts
-
David ChuParticipant
Brian,
Very cool! Glad that helped. I agree, popping a nice custom logo in there would be awesome.
Best, Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantHi, If I follow you, the following code should help with that. Note the 185. BUT... you'll need to restyle #title if you do this, because that won't play well with white.
#wrap {
background: url("images/wrap.jpg") repeat-x scroll 0 185px transparent;
margin: 0 auto;
}Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantHi!
Here's a pinch of CSS that may get you started:
.hfeed h2.entry-title a {
font-size: 15px;
}
Obviously adjust to taste.Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantI just got the Going Green theme myself, and I love it! I like the homepage scenario, but I know it's not for everyone.
The key thing is what you mentioned, the home.php file. Themes don't have to have that file; it's only used when you want to customize the homepage. To quickly disable it, you could rename the file via FTP or other means, to something like savehome.php. Then you'll notice that your homepage won't be using this code anymore, and you can decide if you like it that way.
The result will depend on what you have set up to appear on your homepage, Posts or static page, etc., all of which can be set in:
Settings.... Reading
Then if you decide you want that special loop back, or truly want to keep editing and playing with that page, you rename it back to home.php.
Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantDavid ChuParticipantHi - The big wrapper is handling that. You should see this line in your CSS.
#wrap {
clear: both;
padding: 2rem;
}---- replace the above with this, for instance ---
#wrap {
clear: both;
padding: 1rem 2rem 2rem;
}This will bring the header up sme. Adjust to taste.
Best, Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantHi,
As far as I know, I don't think a Custom Post Type will be added to the default WordPress loop without telling the theme that it's there, Genesis or not. I know that when I make them, I make a special template to display them.
Also, when the CPT is defined, it can be "excerpt-enabled", or not, by the developer. So to determine that, one might need to examine the plugin code.
I'm guessing that your plugin uses its own template(s) to display the CPT, you could have a look at that. Maybe that's where you could set it up to use the excerpt. I know that with some plugins, you can even put a template/script into your own theme's folder and hack it without disturbing the original plugin code. Its documentation may have info about that.
If I'm wrong, hopefully some uber-developer will correct me. 🙂 Hope that helps.
Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantHi,
This happens often with WordPress themes - they can be altered to use a custom loop that will override regular settings. I took a look there, and I think your theme is using some flavor of the Featured Posts widget. Take a peek at your widgets.... you may see one that's called "Home something-or-other". In any case, see if you find an active Featured Posts widget where you can change the number.
Or if there is a special admin panel for the Lifestyle theme, check for a setting that controls # of Posts visible on the Home page!
Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantHi,
Wow, that link went crazy, but I found your site anyway. 🙂If I'm following you, I don't think is_singular is going to help you in that context. Try is_archive and/or is_category for those. You may end up needing them all. I've had some pretty long lists of those in IF statements at times.
Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantAh! I totally misunderstood the question. 🙂 You're speaking of the small Peter Twiss image in the header, as opposed to the big background. I actually don't use the CSS background for the header for various reasons, including many requests for headers that traverse the whole width instead of just the "main container wrap".
When I just want to stick the same image for all pages in the header, I'll just do this, which pops it right in that title area (the following examples would just be placed in the functions.php file):
add_action( 'genesis_site_title', 'dc_stick_logo' );
function dc_stick_logo() {
echo '<div id="logoSlot"><a href="/"><img src="'.CHILD_URL.'/images/CLYCD-Logo.jpg" alt="My Site\'s Title" /></a></div>';
}But if I want to put "any" image in the header, there are several ways to do that, too. I could use a custom field, or I could leverage the Featured Image (and some additional markup may need to be added):
add_action('genesis_site_title', 'dc_put_in_featured');
function dc_put_in_featured() {
if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
the_post_thumbnail();
}
}Or you could use the handy Custom Body Class on your page and do all the rest through CSS. 🙂 Before doing any of these methods, I'll either take out (or ignore) the stock Background setting in admin.
I hope that's helpful. I have gotten so used to the handy Genesis hooks and filters that it's very rare that I edit any Genesis template files anymore. But that's a legit method, too, of course.
Cheers, Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantJim,
Glad it's working now! Hard to say what would cause that exactly. I have acquaintances on Safari, which has its own iron cache from Hell, but you're on Windows, so that wouldn't be it. (My Mac design colleague uses FF Mac instead).
Also, in my experience, Bluehost is clearly better than Godiddy, so I wouldn't point to that, either. 🙂
One of those mysteries! btw, I learned a new word, thanks! I've seen FOUT but never had a name for it.
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantThat's an intriguing question. I scratched my head for a bit, until I realized that the image is nowhere near the header, so your plan won't work, unfortunately. There's a DIV way down at the bottom of the HTML that's pumping that photo in there, actually below the footer. Take a look with Firebug or the like.
I don't have the Stretch theme, but I can infer a couple things. Somewhere in its admin there may be either a place for "homepage image" or the like. Or else there could be some custom field per page that allows you to upload a giant image background. Check those first.
In some cases like this, if the image was being displayed as a CSS background, I would override the CSS to use another image. Not in this case, as we have a full IMG tag.
I can't see inside to suggest further stuff, but that might get you on the path. Hopefully it's just a matter of something in my second paragraph there. If my ideas don't pan out, you might be in for some examination of the various functions, and maybe look for stuff that indicates sub footer or some similar nomenclature.
Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantI can see the font just fine on Bluehost on the top navigation and the header widget area.
If you're not seeing it, I do see one difference. The Bluehost site's CSS is minified, maybe that's giving you some issue, as well as the Total Cache. You could try a hard refresh, or disable those babies and see what happens.
I can't break it, and I looked at it in a couple browsers, Chrome and FF on Win.
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantThat's a pretty little problem. 🙂 If I'm following what you're saying, I think this is it... I didn't completely tear apart the code, but.... the first thing I thought of was the triple column thing. The green site doesn't have that. But I looked more closely, and I think they have that working fine.
Looking further, although this theme "responds" pretty well, it looks like long about iPad landscape size, the footer is not reducing like everything else; it's still lumbering along at its 1140 width. It just needs a little nip and tuck there - the rest reduces fine.
Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantHi All,
I used this method for centering my menu and it worked just fine. However, if you only follow what's in the article, dropdowns will be messed up. I fixed that, too - you can see what I did if you look for "dave" in the comments.
Your mileage may vary slightly, but my own base theme is based on Sample, so it should be pretty close. Hope this helps someone!
Ciao, Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
January 8, 2013 at 10:15 am in reply to: upgraded to Genesis 1.9 but my logo image not showing #10375David ChuParticipantHi,
When I move a site from one host location to another, I frequently "lose" the header image. In that case, I believe it's because of the differing lengths of "blob" fields. Since you did an upgrade, and not a move, I don't think this would exactly apply to your situation.
But you could try the same thing I do: go to Appearance... Header, and hopefully your image will be there, and you can re-select it and save.
Good luck, Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantHi,
Ithaca! One of my favorite towns around here. 🙂
If you can't wait to get HTML5 working before then, here's a very nice recipe for it.
Cheers, Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
-
AuthorPosts