Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #446385

    Hi,
    is it possible to get the upcoming Events displayed horizontally with the image on top like enclosed screenshot?
    Thanks!

    #446414

    Hey dm!

    Can you please post the link to your events page?

    Cheers!
    Yigit

    #446420
    This reply has been marked as private.
    #447811

    Hi!

    try this code in Quick CSS:

    .av-upcoming-event-data {
    margin-top: 65px;
    }
    a.av-upcoming-event-entry.av-upcoming-event-without-image {
    display: inline-block;
    }
    

    Cheers!
    Andy

    #447924
    This reply has been marked as private.
    #448929

    Hi!

    Add this:

    a.av-upcoming-event-entry.av-upcoming-event-without-image {
      width: 20.5%;
      margin-left: 6%;
    }
    
    a.av-upcoming-event-entry.av-upcoming-event-without-image:first-child {
      margin-left: 0;
    }

    Cheers!
    Ismael

    #449211
    This reply has been marked as private.
    #449374

    Hi!

    Please try the following as well:

    @media only screen and (max-width: 767px) {
    a.av-upcoming-event-entry.av-upcoming-event-without-image {
      width: 43.5% !important;
      margin-left: 0% !important;
    }
    }

    Cheers!
    Rikard

    #449745
    This reply has been marked as private.
    #450430

    Hi!

    It’s because of the thumbnail that is being used in the events template. Add this in the functions.php file:

    add_action( 'after_setup_theme', 'ava_image_sizes', 10 );
    function ava_image_sizes() { 
    	add_image_size( 'square', 260, 185 );
    }
    

    Regenerate the thumbnails: https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.