Hard Boiled Greg

Forum Replies Created

Viewing 15 posts - 76 through 90 (of 100 total)
  • Author
    Posts
  • in reply to: My header logo is jacked up. #18293

    Hard Boiled Greg
    Participant
    Post count: 88

    Hello,

    You could add:

    width: 960px; to your #header rule.

    Hard Boiled Greg


    Website: Hard Boiled Greg Twitter: @hbgreg

    in reply to: Change Continue Reading text to css button / image #18291

    Hard Boiled Greg
    Participant
    Post count: 88

    Hi,

    You can add this code to your functions.php file:

    [php]/** Modify the Genesis content limit read more link */
    add_filter( ‘get_the_content_more_link’, ‘custom_read_more_link’ );
    function custom_read_more_link() {
    return ‘… <a class="more-link" href="’ . get_permalink() . ‘"><img src="image-link-here"></a>';
    }[/php]

    adding the location of your button image to the img src=

    Also the link has a class of “more-link” so your could style it’s background with a CSS gradient for a button effect instead.

    Hard Boiled Greg


    Website: Hard Boiled Greg Twitter: @hbgreg

    in reply to: How do I create a custom width page on the Minimum theme? #18282

    Hard Boiled Greg
    Participant
    Post count: 88

    Hi,

    You can add:

    [css].page-template-***** #content {
    float: none;
    margin: 0 auto;
    width: 60%;
    }[/css]

    Where .page-template-***** is the body class of your custom page template.

    Hard Boiled Greg


    Website: Hard Boiled Greg Twitter: @hbgreg

    in reply to: Breadcrumbs not enabled but still showing… #18273

    Hard Boiled Greg
    Participant
    Post count: 88

    Just a complete guess, but could the breadcrumbs be coming from WooCommerce?

    Try adding:

      remove_action( 'woocommerce_before_main_content',
    'woocommerce_breadcrumb', 20, 0);

    to your functions.php file (untested!)

    – Hard Boiled Greg


    Website: Hard Boiled Greg Twitter: @hbgreg

    in reply to: How to make a 2-column archive page #7092

    Hard Boiled Greg
    Participant
    Post count: 88

    –Extra Post– please delete


    Website: Hard Boiled Greg Twitter: @hbgreg

    in reply to: How to make a 2-column archive page #7086

    Hard Boiled Greg
    Participant
    Post count: 88

    OK, the Archive template is using the “wp_get_archives” function which apparently doesn’t have an offset, so we’ll have to “get_posts” instead.

    We don’t want to edit the parent theme files so copy the “page_archive.php” file from your genesis folder and paste it into your child theme.  Then replace this section in that file (lets try a pastie) :

    <div class=”archive-page”>

    <h4></h4>
    <ul>

    </ul>

    <h4></h4>
    <ul>

    </ul>

    </div><!– end .archive-page–>

    <div class=”archive-page”>

    <h4></h4>
    <ul>

    </ul>

    <h4></h4>
    <ul>

    </ul>

    <h4></h4>
    <ul>

    </ul>

    </div><!– end .archive-page–>

    With this:

    <div class=”archive-page”>

    <h4></h4>
    <ul>
    <!–?php global $post; $args = array( ‘numberposts’ => 25 );
    $myposts = get_posts( $args );
    foreach( $myposts as $post ) : setup_postdata($post); ?>
    <li><a href=”“></a></li>

    </ul>

    </div><!– end .archive-page–>

    <div class=”archive-page”>

    <h4></h4>
    <ul>
    <!–?php global $post; $args = array( ‘numberposts’ => 25, ‘offset’=> 25 );
    $myposts = get_posts( $args );
    foreach( $myposts as $post ) : setup_postdata($post); ?>
    <li><a href=”“></a></li>

    </ul>
    </div><!– end .archive-page–>

    Let me know how it works out for you.

    HBG


    Website: Hard Boiled Greg Twitter: @hbgreg

    • This reply was modified 1 year, 11 months ago by  Hard Boiled Greg. Reason: pastie didn't work
    • This reply was modified 1 year, 11 months ago by  Hard Boiled Greg.
    • This reply was modified 1 year, 11 months ago by  Hard Boiled Greg.
    • This reply was modified 1 year, 11 months ago by  Hard Boiled Greg. Reason: Good grief we need a better way to paste code
    • This reply was modified 1 year, 11 months ago by  Hard Boiled Greg.
    • This reply was modified 1 year, 11 months ago by  Hard Boiled Greg. Reason: pastie didn't work
    • This reply was modified 1 year, 11 months ago by  Hard Boiled Greg.
    • This reply was modified 1 year, 11 months ago by  Hard Boiled Greg.
    • This reply was modified 1 year, 11 months ago by  Hard Boiled Greg. Reason: Good grief we need a better way to paste code
    • This reply was modified 1 year, 11 months ago by  Hard Boiled Greg.
    in reply to: How to make a 2-column archive page #7079

    Hard Boiled Greg
    Participant
    Post count: 88

    Thanks for the link DigitalC!  Wrapping a few presents right now; I’ll be back a bit later with some suggestions for you.

    HBG


    Website: Hard Boiled Greg Twitter: @hbgreg

    in reply to: image logo problem #7053

    Hard Boiled Greg
    Participant
    Post count: 88

    Hi,

    I know it has been a month, but if you are still having a problem with this I’d like to help.

    Please let me know.

    HBG


    Website: Hard Boiled Greg Twitter: @hbgreg

    in reply to: How to make a 2-column archive page #7052

    Hard Boiled Greg
    Participant
    Post count: 88

    Hi,

    Are you able to post a link to your site?

    HBG


    Website: Hard Boiled Greg Twitter: @hbgreg

    in reply to: Setting up new blog and product site to help elderly #7051

    Hard Boiled Greg
    Participant
    Post count: 88

    Hi,

    Not sure what your question is.  Are you looking for suggestions with respect to the best looking theme for your topic?

    Outreach and Streamline themes that you mentioned are both really nice looking themes.  All of the StudioPress themes are great looking themes out of the box and can be further tweaked to meet your individual needs.  I suggest you choose a theme that most closely matches the layout you are interested in and then come back to this forum if you need help changing colors and font etc.

    Take care,

    HBG


    Website: Hard Boiled Greg Twitter: @hbgreg

    in reply to: Change Blog Width – Prose Theme #7046

    Hard Boiled Greg
    Participant
    Post count: 88

    If you find this section in your stylesheet:

    .sidebar-content #content, .content-sidebar #content {
    width: 630px;
    margin: 0;

    padding: 0;

    }

    You can adjust the margin (currently 0)

    You will likely need to also adjust the width here:

    #content {
    float: left;
    width: 480px !important;
    margin: 0;
    padding: 0;
    }

    to accommodate your new margins.

    HBG


    Website: Hard Boiled Greg Twitter: @hbgreg

    • This reply was modified 1 year, 11 months ago by  Hard Boiled Greg. Reason: formatting: which is still messed up
    • This reply was modified 1 year, 11 months ago by  Hard Boiled Greg. Reason: formatting: which is still messed up
    in reply to: How to create a &quot;hanging logo&quot; in 1.8+ #7012

    Hard Boiled Greg
    Participant
    Post count: 88

    Do everything I said previously and add:

    margin-top: **px;

    to the

    .header-image #header #title-area {

    we added earlier.  If you use Chrome Developer Tools (or Firebug for Firefox) you can view the CSS on my test site.

    HBG


    Website: Hard Boiled Greg Twitter: @hbgreg

    in reply to: How to create a &quot;hanging logo&quot; in 1.8+ #7007

    Hard Boiled Greg
    Participant
    Post count: 88

    Is this what you are after?

    http://testing.pvmdemo.com/

     

    HBG


    Website: Hard Boiled Greg Twitter: @hbgreg

    in reply to: Remove the Post Tags from Excerpt only? #6889

    Hard Boiled Greg
    Participant
    Post count: 88

    Paste this into functions.php:

    [php]add_action( ‘genesis_before’, ‘excerpt_post_meta_removal’ );
    function excerpt_post_meta_removal() {
    if( !is_single() ) {
    remove_action( ‘genesis_after_post_content’, ‘genesis_post_meta’ );
    }
    }[/php]

     

    HBG


    Website: Hard Boiled Greg Twitter: @hbgreg

    in reply to: How to create a &quot;hanging logo&quot; in 1.8+ #6867

    Hard Boiled Greg
    Participant
    Post count: 88

    OK, so you have two images. The grey “header” and the pink “logo”.

    Add

    background: url(images/header.png) right top no-repeat;

    after #header {

    (make sure to add the header.png to the images folder)

    Add height: ***px;

    to the:

    .header-image #header #title-area {
    background: url(images/logo.png) left top no-repeat;
    }

    we added last time. (replace ***px with the height of your logo.

    Change the height in:

    .header-image #title-area,
    .header-image #title,
    .header-image #title a {

    to the height of your logo too.

    add clear:both;

    to #inner {

    I think I covered everything.  Let me know if something is wonky.

    HBG


    Website: Hard Boiled Greg Twitter: @hbgreg

Viewing 15 posts - 76 through 90 (of 100 total)