cdils

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 413 total)
  • Author
    Posts
  • in reply to: Site Title out of wrap #133764

    cdils
    Participant
    Post count: 423

    Hi Kristie,

    On your CSS for .title-area, the background image is set to “no-repeat”. Change it to “repeat-x” and it’ll go the width of the container.

    If you want the blue lines stretched fully then you’ll need to add this css:

    .site-header .wrap {
        max-width: 100%;
    }

    Currently your .wrap is set at max-width: 1140px. The more specific CSS I suggested above will override that.

    Cheers,
    Carrie

    p.s. When you responded to your original post, it moved this out of the “unanswered posts” section. That’s where moderators keep tabs to see if there are unanswered posts hanging around.


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    in reply to: snippets #133207

    cdils
    Participant
    Post count: 423
    if ( ! is_singular( 'post' ) )
    		return; 
    
    if (  is_singular( 'post' ) )
    		{ }

    The first statement says, “if it’s not a single post”, exit the function, otherwise carry on. The second statement says the opposite, “if it IS a single post” then do something…” The first statement is preferred because it exits the function immediately without reading further. In the second funtion, if it doesn’t match the first conditional, it’ll execute through the remainder of the function to see if there’s anything else it needs to do.

    Regarding use of the curly braces… both statements are semantically, however in order to standardize usage, Nacin suggested in 2013 to always use braces. Not a big deal, just the direction that WordPress chose to standardize.

    Onto the thumbnail…

    You’re correct that both ways accomplish basically the same thing, but what I like about the Genesis way is:

    * The genesis_get_image() encapsulates both the has_post_thumbnail conditional check (which the other code example should have to prevent that html markup printing in the event of no thumbnail. You can get the same output with less code.

    Also:

    * I (personally) prefer not to escape PHP (end curly bracket) and go back to HTML for such a small a small amount of HTML. The Genesis version is more readable. Of course, you could refactor the second code example to do that, so that’s not a Genesis thing, just a coding preference

    The Sidebar:

    Using genesis_widget_area() nets you the advantage of including contextual HTML5 markup around the widget (assuming your site supports HTML5), so no need to manually write out those divs with hard-coded classes.

    Good questions. Hope that helps.

    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    in reply to: Why Genesis? A philosophical question from a newcomer. #119845

    cdils
    Participant
    Post count: 423

    Hi @cosmocanuck,

    First, I don’t think Genesis is a “superior” form of theme development over the “by hand” method you’ve described using yourself. You could build a light-weight, well-coded, fully-functional theme by hand that does just as much as Genesis.

    For me, the beauty of using a framework like Genesis is that it gives you a head start to building a great theme. You can start with a bare-bones stylesheet and functions.php that invokes the framework in under five minutes. If you’re using _s or Bootstrap, or another framework, you could achieve a similar head start – the point is to start with a solid code base and develop on top of that (whether you created that code base or someone else did).

    All that to say, I don’t think Genesis is the right/only way and everything else is wrong – I think it just depends on the needs of the developer. Yes, you can customize the heck out of Genesis without ever leaving functions.php. Yes, you can even further extend Genesis using the WordPress templating system as you pointed out. The choice to create a template versus just dumping all of those customizations in functions.php boils down mostly to the organization of code (developer preference).

    As my comfort level using action hooks/filters has increased, so has my ability to squeeze more out of Genesis. Going back to that initial code base, there are so many great things there that it’d take me a long time to build myself (and I wouldn’t do nearly as a good a job). So, I stay with Genesis partly due to my comfort level with the framework and partly due to the code quality.

    Beyond all that, I love working with Genesis because of the vibrant, helpful, and passionate community around it. You mentioned tutorials – there’s no shortage of them. People love working with Genesis and are vocal in their commitment to sharing their knowledge. In addition to that, Genesis contributors are actively engaged participants in the larger WordPress community and contributing at that level as well. They’re not in a bubble, but rather trying to make sure Genesis does things “the WordPress way.”

    If I sound biased, it’s because I am. At the end of the day, choose to work with a platform that 1) you enjoy and 2) helps you get your work done better/faster. If that’s not Genesis, that’s okay, but I’m hoping this sheds some light on your question about why folks choose it. :)

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    in reply to: Winning Agent – Featured Listings on HomePage #110005

    cdils
    Participant
    Post count: 423

    Hi there,

    You’ll need to open up functions.php in a text editor and around line 202, change:

    return '<a class="more-link" href="' . get_permalink() . '"> View Listing </a>';

    to

    return '<a class="more-link" href="' . get_permalink() . '"> View Project </a>';

    If you’re new to editing WordPress files, I’d encourage you to take a peek at this tutorial first.

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    in reply to: Winning Agent – Background Image Partially Showing #110004

    cdils
    Participant
    Post count: 423

    Hi there,
    I just took a look at your site in all three browsers mentioned and the background looks okay to me. What’s the specific issue you’re having?

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    in reply to: Change of Language in post meta not showing #109510

    cdils
    Participant
    Post count: 423

    Hey Lynne,
    Can you post the URL?

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    in reply to: Genesis Page Background #106809

    cdils
    Participant
    Post count: 423

    Hi there,

    You could add a transparent background to this element where the first three number sets correspond to an RGB color value (white, in this example) and the .8 refers to the percent opacity (1 is solid, 0 is transparent):

    .site-inner .wrap {
    background-color: rgba(255,255,255,.8)
    }

    If you only wanted this on the home page and not other pages, just add .home at the beginning, like this:

    .home .site-inner . wrap

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    in reply to: Post info #106688

    cdils
    Participant
    Post count: 423

    Hi Krista,

    You’d either need to remove it via the code above (to keep the author line from printing to the page) or hide it (with CSS). Is your hesitation working with code or editing a file directly? If it’s the latter, you could use a plugin like Genesis Simple Hooks to insert your custom code.

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    in reply to: responsive hamburger for portfolio category #101938

    cdils
    Participant
    Post count: 423

    Here’s a great tutorial for adding a responsive menu into Genesis > http://wpbacon.com/tutorials/genesis-responsive-menu-2-0/

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    in reply to: Change of Language in post meta not showing #101508

    cdils
    Participant
    Post count: 423

    If you want to post a private reply with an admin login, I’ll take a look.


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    in reply to: Multilanguage advice – Genesis/bbPress etc. #101505

    cdils
    Participant
    Post count: 423

    One more piece of advice that came in off of Twitter:

    https://twitter.com/pixelyzed/status/457961769630449664

    Try the Replicator plugin -> http://wpebooks.com/replicator/


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    in reply to: Multilanguage advice – Genesis/bbPress etc. #101499

    cdils
    Participant
    Post count: 423

    Hi Darren,

    First, let me lower your expectations by telling you I’m no expert in Multisite or multi-lingual sites, BUT I’ve asked some experts to take a peek at your question and chime in.

    For starters, the consensus from pros is to use Multisite, with unique sites for each language.

    Generally speaking, it’s probably easiest to set up one site in it’s entirety and then duplicate it and translate it – that way you avoid repeating some of those basic setup options.

    bbPress is great for forums.

    A combination of a custom post type and gravity forms could be an ideal way to have users submit data from the front-end and then keep it in “draft” or “pending review” mode until it’s been approved. That’s *if* you want to eventually display that custom post type (the report or whatever) on the site. If you don’t want to display it on the site and just need a method for sending in data and having it approved, you could probably eliminate the custom post type piece.

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    in reply to: qtranslate position in header shifting widget position #101493

    cdils
    Participant
    Post count: 423

    Hi,
    Can you post a link to you’re site? Much easier to troubleshoot that way. :)

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.


    cdils
    Participant
    Post count: 423

    These are the three scripts it recommends removing:

    http://www.matteoduo.com/…S1L1cjPzAA.js.pagespeed.ce.Wmpbak3q_B.js

    http://www.matteoduo.com/…5LRy83MAwA.js.pagespeed.ce.oKvfQx7EmC.js

    http://www.matteoduo.com/…i7KLCgpBgA.js.pagespeed.ce.DWqlBA6zb6.js

    Are those scripts you’ve installed on your site manually or through a plugin? They’re not default Minimum scripts. :)

    I’m not a speed pro, but it looks like whatever you’re using to minify/cache causes more slow down than it saves time.

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.


    cdils
    Participant
    Post count: 423

    Hi,

    You can change the color of the text by finding this in your style.css file:

    .ambiance-grid .entry-title a, 
    .ambiance-grid .entry-title a:hover

    and changing the color to whatever you want.

    Easiest way to move the text below the image is to remove the absolute positioning from that element. Find this:

    .ambiance-grid .entry-header

    and change the position to static instead of absolute.

    You’ll want to play with the CSS a bit to get the effect you want, but that’s the general idea.

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

Viewing 15 posts - 1 through 15 (of 413 total)