• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

David Chu

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 17 posts - 1,461 through 1,477 (of 1,477 total)
← 1 2 3 … 72 73 74
  • Author
    Posts
  • March 4, 2013 at 10:28 am in reply to: Associate Theme – Moving the Wrap #24066
    David Chu
    Participant

    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

    March 4, 2013 at 9:40 am in reply to: Associate Theme – Moving the Wrap #24058
    David Chu
    Participant

    Hi, 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

    March 4, 2013 at 9:27 am in reply to: Minimum Theme – Portfolio Image Title Font Size #24053
    David Chu
    Participant

    Hi!

    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

    March 3, 2013 at 11:24 am in reply to: Get rid of or effectively disable grid loop? #23920
    David Chu
    Participant

    I 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

    March 1, 2013 at 7:49 am in reply to: Reduce Header Padding in Metro Theme #23493
    David Chu
    Participant

    Yay!  I love CSS.  🙂


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

    February 28, 2013 at 10:45 pm in reply to: Reduce Header Padding in Metro Theme #23440
    David Chu
    Participant

    Hi - 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

    February 27, 2013 at 3:04 pm in reply to: Costom post type the_excerpt not showing #23167
    David Chu
    Participant

    Hi,

    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

    February 27, 2013 at 2:01 pm in reply to: Can't change # of posts on home page! #23153
    David Chu
    Participant

    Hi,

    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

    February 27, 2013 at 1:47 pm in reply to: How to move the Archive Title #23149
    David Chu
    Participant

    Hi,
    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

    February 27, 2013 at 8:09 am in reply to: get_header() swap logo on sub pages #23085
    David Chu
    Participant

    Ah!  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

    February 26, 2013 at 6:26 pm in reply to: Prose and Google Fonts #23020
    David Chu
    Participant

    Jim,

    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

    February 26, 2013 at 5:07 pm in reply to: get_header() swap logo on sub pages #22999
    David Chu
    Participant

    That'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

    February 26, 2013 at 4:37 pm in reply to: Prose and Google Fonts #22993
    David Chu
    Participant

    I 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

    February 18, 2013 at 10:50 pm in reply to: Responsive Scrolling / Missing Background #21201
    David Chu
    Participant

    That'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

    January 28, 2013 at 9:14 am in reply to: SAMPLE THEME – How do i center navigation text? #15557
    David Chu
    Participant

    Hi 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 #10375
    David Chu
    Participant

    Hi,

    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

    December 11, 2012 at 8:50 am in reply to: Genesis Update and WordPress 3.5? #4489
    David Chu
    Participant

    Hi,

    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

  • Author
    Posts
Viewing 17 posts - 1,461 through 1,477 (of 1,477 total)
← 1 2 3 … 72 73 74
« Previous Page

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble