• Resolved Andrew Leonard

    (@andrewleonard)


    This page works OK when the scrreen width is 1920

    If I reduce the screenwidth to 1665then the search box dissapears and is replaces with a magnifying glass icon

    If I click on this then a search box appears and there is a green “banner” with the words “Find Meetings” appears

    However this wording overlays the first meetings (events) description

    Could you help me with this. I admit to having adjusted the css in several places and I might be responsible for this situation

    Thank you

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @andrewleonard ,

    Thank you for reaching out.

    I suspect this is due to the fact that the calendar is placed in a narrow container. To try and get around this, we can try and change the responsive breakpoints (see Responsive Templates).

    Kindly try appending the following custom snippet to your theme’s functions.php file or through a Code Snippets plugin.

    function customize_tribe_events_v2_medium_breakpoint( $breakpoints ) {
    $breakpoints['full'] = 760;
    $breakpoints['medium'] = 500;
    $breakpoints['xsmall'] = 420;
    return $breakpoints;
    }

    add_filter( 'tribe_events_views_v2_view_breakpoints', 'customize_tribe_events_v2_medium_breakpoint' );
    Thread Starter Andrew Leonard

    (@andrewleonard)

    Thank you

    That stops the magnifying glass appearing at 1665 but it now appears at around 549 pixels width and the same problem occurs

    So it is not a breakpoint problem really.

    It is a problem with the css when it decides the container is too small for the search box and deals with the search in a different way by only showing a magnifying glass icon. Then when I click on the magnifying glass icon the search box appears over the first event so you cannot read it anymore

    Plugin Support tristan083

    (@tristan083)

    Hi @andrewleonard ,

    Thank you for your message and the clarification.

    I’m afraid It is a default behavior for the search box to collapse to a magnifying glass when the calendar’s container becomes too narrow for screen real estate considerations.

    In narrower screens (i.e. mobile device), the user is subtly presumed to tap on the magnifying glass icon to bring up the search field, by design.

    Thread Starter Andrew Leonard

    (@andrewleonard)

    Thanks for replying

    I think it would be easier if you could look at this image

    Can you see that the left hand image shows the screen before clicking on the magnifying glass

    The right hand image shows the result of clicking on the magnifying glass: The green banner “FIND MEETINGS” covers the date of the first meeting

    This is the problem I was hoping you could address

    I apologise if I did not make this clear before

    Plugin Support tristan083

    (@tristan083)

    Hi @andrewleonard ,

    Thank you for your message and the clarification.

    Clicking on the magnifying glass icon is supposed to work like clicking on a dropdown on this case. However, it seems there’s some space in between the search textbox and the “Find Meetings” button, which is throwing off the layout. So, what we can do here is remove that space with the following custom CSS snippet.

    Kindly try appending the following CSS snippet to your theme’s additional CSS section (Appearance -> Customize -> Additional CSS), and see if this works for you.

    .tribe-events.tribe-common--breakpoint-xsmall .tribe-common-c-btn.tribe-events-c-search__button {
    margin-top: unset !important;
    }
    Thread Starter Andrew Leonard

    (@andrewleonard)

    Thank you

    I am afraid that did not make any change at all

    The problem seems to be that it “overlays” the box below it rather than “inserting” the data and pushing all the boxes below it down

    Plugin Support tristan083

    (@tristan083)

    Hi @andrewleonard ,

    Thank you for your message, and I’m sorry to hear of the continued difficulties.

    The “overlay” behavior is intentional and is how tapping on the magnifying glass on the calendar was designed to work on mobile devices.

    However, I suspect there’s a conflict that’s causing the background elements to still be visible on the overlay here. It would be good to test for conflicts. Could you follow the following steps?

    1. Deactivate all other plugins except for The Events Calendar Plugins.
    2. Switching to the Default theme.

    Please read the Testing for Conflicts Article before doing anything. 
    To be safe, we’d recommend conducting tests and updates on a Staging Server. Also, please keep a working backup of your website.

    Plugin Support Darian

    (@d0153)

    Hi there,

    I hope you’re doing well. I just wanted to touch base and check in with you. It’s been a little while since we’ve heard from you. I was just curious if you had the chance to try out the recommendation provided above.

    Let me know if there’s anything I can assist you with.

    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that we haven’t heard back from you in a while, so I’ll go ahead and close this thread for now. If you need any more help, feel free to start a new thread and we’ll be happy to assist you.

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

The topic ‘Search box problem’ is closed to new replies.