Business hours open/close arrow

This topic contains 5 replies, has 3 voices, and was last updated by  Kor 4 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #488459

    Barbara Magee
    Expired Member
    Post count: 146

    We would like to hide the business hours open/close arrow just in widgets, such as GD-Best of Listings, in the related posts area, etc since the width of those areas is narrow and when the hours are opened it overflows the area.

    Can you advise how we hide it just in widgets? Thanks!

    #488462

    Kor
    Moderator
    Post count: 16516

    Hi Barbara,

    Thanks for your reply. This can be done using custom CSS code. Could you share the URL of the page where I can see the business hours and also highlight the area that you’d like to remove on a screenshot?

    Thanks!

    #488494

    Barbara Magee
    Expired Member
    Post count: 146

    The GD-Best of Listings is in sidebar of the Main blog page:
    https://thelocaldish.dbkdev.com/blog/
    and the right sidebar of single post pages: https://thelocaldish.dbkdev.com/top-wine-bars-portland-suburbs/

    When the user activates the up/down button next to Closed Now to display the business hours, the display doesn’t fit well in the sidebar, so we would like to hide that little up/down arrow so they can’t open the display. We do, however, want to show the words Closed Now or Open Now.

    We solved the same issue at the bottom of the details page by reducing gridview from onefourth to onethird.[gd_recently_viewed post_limit=”3″ layout=”gridview_onethird” post_type=”gd_place”]

    #488516

    Alex Rollin
    Moderator
    Post count: 27815
    #488549

    Barbara Magee
    Expired Member
    Post count: 146

    Double checking on this code. I wasn’t clear enough in my post.

    On our website we have the business hours display configured to be closed at time of page load and the user has to click the toggle to open/display the hours.

    I uploaded that blog page image in my original post just to demonstrate how the business hours fall outside the sidebar when they’re opened by the user, and thus our reason for wanting to hide the toggle and display only the label of Open now or Closed Now.

    /* GeoDirectory V2 Business Hours – hide the toggle so it cannot be closed*/
    span.gd-bh-expand-range {
    display: none;
    }

    Will this code hide the toggle on the whole site? We want to be sure the code hides the toggle only in the sidebar widget titled GD-Best of Listings.

    Thanks for your help.

    #488572

    Kor
    Moderator
    Post count: 16516

    Hi Barbara,

    Please use the code below to achieve this.

    #sidebar .geodir-best-of .gd-bh-expand {display:none!important;}
Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket