theimageworks

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Showing more events in the widget #852103
    theimageworks
    Participant

    Just for yours/anyone else’s reference here is a screenshot of the finished result:

    https://www.uploady.com/#!/download/YKAQqIKC8hV/7BV_isXiDXFknvCL

    in reply to: Showing more events in the widget #852091
    theimageworks
    Participant

    I chose to only display the ‘city’ within the widget but this was too close to the date so needed spacing out. I just used this CSS

    div.tribe-events-event-details {
    margin-top: 5px;
    }

    Other CSS changes I made was to the font size & colour to fit the style of other elements in the website footer.

    Hope this helps!

    in reply to: Showing more events in the widget #849629
    theimageworks
    Participant

    You sir are awesome!

    That worked great, just a couple of css tweaks but other than that it’s spot on. Thank you again.

    in reply to: Showing more events in the widget #849298
    theimageworks
    Participant

    Sorry my bad, I was being stupid.

    I was using the ‘events calender’ widget and had removed the actual calender. Obviously this only shows this months events until you click the arrow to show next months. With it being removed I could not see this.

    I’ve swapped it out for the ‘events list’ widget and will simply style this to match the other one.

    Apologies and thanks for you help.

    in reply to: Editing the Events page #831875
    theimageworks
    Participant

    Awesome, I’ve resolved this now. Thank you for your help!

    in reply to: Creating a child theme #829754
    theimageworks
    Participant

    That’s spot on, thanks for your help.

    I had searched on Google etc but never game across that page. Sorry! :/

    in reply to: Editing the Events page #826556
    theimageworks
    Participant

    Oh sorry and the code i have to set the featured image is as follows:

    wp_enqueue_script( ‘sk-backstretch’, get_bloginfo( ‘stylesheet_directory’ ) . ‘/js/jquery.backstretch.min.js’, array( ‘jquery’ ), ‘1.0.0’ );
    wp_enqueue_script( ‘sk-backstretch-set’, get_bloginfo(‘stylesheet_directory’).’/js/backstretch-set.js’ , array( ‘jquery’, ‘sk-backstretch’ ), ‘1.0.0’ );

    wp_localize_script( ‘sk-backstretch-set’, ‘BackStretchImg’, array( ‘src’ => str_replace( ‘http:’, ”, genesis_get_image( array(‘format’ => ‘url’) ) ) ) );

    in reply to: Editing the Events page #826552
    theimageworks
    Participant

    It’s just a theme that is part of the Genesis Framework so nothing too fancy. The only thing different is that I can set featured images on pages as well as posts.

    I have the following code to move the page title over the featured image:

    if ( tribe_is_event() ) {

    echo ‘<div class=”entry-header-wrapper”><div class=”wrap”><div id=”title-desc”>’;
    genesis_do_post_title();
    echo ‘<p>We hope to see you there!</p>’;
    echo ‘</div></div></div>’;

    remove_action( ‘genesis_entry_header’, ‘genesis_entry_header_markup_open’, 5 );
    remove_action( ‘genesis_entry_header’, ‘genesis_do_post_title’ );
    remove_action( ‘genesis_entry_header’, ‘genesis_entry_header_markup_close’, 15 );

    If the events page had its own physical page it would be a piece of cake but unfortunately is doesn’t.

    So from what you’re saying I guess I need to add something along the lines of:

    if( tribe_is_month() ) {
    set the page featured image to xxxc.jpg
    }

    in reply to: Editing the Events page #824643
    theimageworks
    Participant

    This reply is private.

Viewing 9 posts - 1 through 9 (of 9 total)