cdils

Forum Replies Created

Viewing 15 posts - 136 through 150 (of 411 total)
  • Author
    Posts
  • in reply to: Minimum Theme Featured Images #41170

    cdils
    Participant
    Post count: 421

    Do you want to display featured images on individual lposts at all (other than for YARRP or archive pages?)

    If NOT, find this in functions.php:

    [php]
    /** Add the featured image section */
    add_action( ‘genesis_after_header’, ‘minimum_featured_image’ );
    function minimum_featured_image() {
    if ( is_home() ) {
    echo ‘<div id="featured-image"><img src="’. get_stylesheet_directory_uri() . ‘/images/sample.jpg" /></div>’;
    }
    elseif ( is_singular( array( ‘post’, ‘page’ ) ) && has_post_thumbnail() ){
    echo ‘<div id="featured-image">’;
    echo get_the_post_thumbnail($thumbnail->ID, ‘header’);
    echo ‘</div>’;
    }
    }
    [/php]

    You can remove the entire elseif block so your final code would look like this:

    [php]
    /** Add the featured image section */
    add_action( ‘genesis_after_header’, ‘minimum_featured_image’ );
    function minimum_featured_image() {
    if ( is_home() ) {
    echo ‘<div id="featured-image"><img src="’. get_stylesheet_directory_uri() . ‘/images/sample.jpg" /></div>’;
    }
    }
    [/php]

    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: 421

    Hi mcclinton,
    Please start a new thread with your question. :)

    Thanks,
    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: 421

    Andrea – glad you got it fixed!


    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: P not H1 in Header #39003

    cdils
    Participant
    Post count: 421

    Now that I think about it…maybe the difference is when using theme support for a custom header, like

    add_theme_support( ‘genesis-custom-header’…..

    I could be making stuff up. But I swear I’ve seen that P in some themes.


    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: Just Moved to Genesis! #39002

    cdils
    Participant
    Post count: 421

    p.s. If you’re on Google+, check out the Genesis WP community. Also, if you’re on Twitter, you can use the hashtag #genesiswp to interact with other Genesis folks.


    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: Just Moved to Genesis! #39001

    cdils
    Participant
    Post count: 421

    Hey Sanjeev,
    Welcome to Genesis! At first glance, your site looks fantastic- love the Metro theme. It looks like you figured out the basics of setting everything up. Now the rest of the sites you do in Genesis will be a piece of cake. :)

    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: 421

    Hrm… For starters, I’m not a Multisite expert. :)

    Can you login via FTP or similar and see the physical files on the server? If so, just confirm that the Executive Theme folder is there as it should be (complete with a style sheet and a functions.php). Assuming it is, sometimes you can activate the parent theme (or any other theme) and then RE-activate Executive and that could solve the weirdness.

    Not sure if that’ll work, but it’s the troubleshooting step I would try 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: Upgrade to 1.92 Agentpress Lost CSS #38999

    cdils
    Participant
    Post count: 421

    Hi,
    If you made edits directly to style.css in the 1.8 version of AgentPress, they will be lost will when you upgraded the child theme. If you have a backup of 1.8, you can take the style.css file and pull out the customizations you need. Otherwise, you’ll need to re-do them. :/

    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: News theme: Changing theme colour style #38997

    cdils
    Participant
    Post count: 421

    Hi there,
    You’ll need to edit the theme’s style.css and find every instance of the color you want to change and swap it out for your color.

    If you’re using Firefox or Chrome browsers, you can use Firebug to see what color is currently displayed on an item. Once you’ve identified it, then you can go about editing your CSS.

    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: P not H1 in Header #38995

    cdils
    Participant
    Post count: 421

    Ah! Okay, that’s actually perfectly normal behavior.

    H1′s are reserved for individual page/post titles. The site title’s supposed to be in a paragraph tag. :)


    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: P not H1 in Header #38989

    cdils
    Participant
    Post count: 421

    Can you post a link? Also which pages (all pages?) is it happening on? Wondering if there’s a DIV that didn’t get closed out?


    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.

    • This reply was modified 1 year, 4 months ago by  cdils.
    • This reply was modified 1 year, 4 months ago by  cdils.
    in reply to: how to make call-to-action.button #38398

    cdils
    Participant
    Post count: 421

    Hi Tonje,

    If you want to go glossy, you’ve got two basic options:

    1) Add in some crazy CSS gradients (you can do some Googling for CSS gradient button generator). Just know that it may not look great in older browsers, especially IE.

    2) Use a background image instead of a background color for your button. This is a better option in my opinion. :) Again, if you Google for “glossy buttons” or such, you’ll find lots of images you can use.

    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: Minimum header colour #38396

    cdils
    Participant
    Post count: 421

    CSS – or cascading style sheet – means that a style declaration can be overwritten by a second declaration, depending on the order it appears in your style sheet.

    If I look at your CSS using Firebug, I see this:

    #header {
    background: url(“http://www.advokateden.se/wp-content/uploads/2013/04/header.png”) no-repeat;
    }

    And this:

    #header {
    background-color: #67645F;
    background-position: center top !important;
    margin: 0 auto;
    min-height: 60px;
    overflow: hidden;
    }

    The background style takes precedence over the background-color style.

    If you’re using the Header upload built into Genesis, there’s a place you can add the background color there that will eliminate the need to add it directly to your CSS.

    If you’re adding your header background image directly to the CSS, then add the color in that declaration. It will look like this:

    #header {
    background: url(“http://www.advokateden.se/wp-content/uploads/2013/04/header.png”) no-repeat #67645f;
    }

    Otherwise, if you’re using a plugin to put that image header there, you’ll have to add the !important declaration to override the original background style. Like this:

    #header {
    background-color: #67645F !important;
    background-position: center top !important;
    margin: 0 auto;
    min-height: 60px;
    overflow: hidden;
    }

    This last option (!important) is really the least desirable, so try the other two first based on how your site’s set up.

    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: White area above below graphic on Home Page #38198

    cdils
    Participant
    Post count: 421

    Ah, okay! That makes total sense.

    You’re right -your workaround solved it temporarily, but isn’t a good permanent solution. Let’s fix it via CSS instead. Go ahead and delete the image you set above the text on the post and go back to the way things originally were.

    Once that’s done, we can dive into the CSS and figure out what we need to edit. If you’ve never used Chrome Developer Tools or Firebug to help figure out your CSS, check out this demo. Post a message when you’re ready and I’ll take a look again.

    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: Executive Theme: Background Image Size #37950

    cdils
    Participant
    Post count: 421

    The content width on the theme is 1140, so wider than that if you want the background to show around the edges. :)


    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 - 136 through 150 (of 411 total)