Details Page Sidebar – How to remove unwanted Empty space?

This topic contains 8 replies, has 4 voices, and was last updated by  Alex Rollin 6 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #401265

    Alphonso
    Buyer
    Post count: 297

    Hi,
    Here’s my query:
    Add Listing Page – URLS information boxes are Unfilled or only Partially filled by Users

    Details Page – Sidebar has unecessary Empty Blank Space. I want to remove it. See attachment.
    Scenario 1: (How do I hide the below Empty box if ALL URL Add Listing boxes are Unfilled?)

    Scenario 2: (How do I Remove Empty Space at bottom is ONLY SOME URL Add Listing boxes are filled?)

    Please advise.
    Thanks!

    #401271

    Kor
    Moderator
    Post count: 16516

    Hi Alphonso,

    Could you please share WP temp admin access in private reply so that we could check on the issue?

    Thanks!

    #401277

    Alphonso
    Buyer
    Post count: 297
    This reply has been marked as private.
    #401314

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Many elements in GeoDirectory have set minimum heights in order to allow for a minimum number of required fields, specifically the fields that ship with the plugin.

    The sidebar listing details block is one of these, and has a min-height of 370px. The height is set to auto, but it doesn’t behave as expected if fields are rendered as images.

    You can try this as a start, but your customization with images means you might need to tune it to meet your needs.

    
    
    .geodir-company_info.geodir-details-sidebar-listing-info {
        height: auto;
        min-height: auto;
    }

    Hiding the box under certain conditions, for example if the fields are not filled in, would be a customization beyond the support we can provide here. That said, a search through the forums may help you find ways to do this based on other similar examples.

    #401327

    Alex Rollin
    Moderator
    Post count: 27815

    I’m going to ask a developer to take a look at this, too, to see if we can provide a snippet to hide that sidebar area if there are values, or if there is something to do about the height.

    #401335

    Kiran
    Moderator
    Post count: 7069

    Hi Alphonso,

    Please check.

    I have added following scripts at GeoDirectory > Design > Scripts > CSS Script.

    
    
    .geodir-company_info.geodir-details-sidebar-listing-info {
        height: auto;
        min-height: auto;
    }
    .geodir-company_info.geodir-details-sidebar-listing-info .geodir_more_info.geodir_facebook {
        float: none;
    }

    Kiran

    #401340

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    Thank you for taking a look Kiran.

    Alphonso, this is the best we can do for GD V1. Look for some updates on this feature in V2.

    #401445

    Alphonso
    Buyer
    Post count: 297

    Kiran,
    Once again, Thanks for the great scripts. This works perfectly for my needs. You are awesome! 🙂

    Alex,
    Thanks a going an extra step in providing amazing support.
    Any approx. date for V2 release? 😉

    #401451

    Alex Rollin
    Moderator
    Post count: 27815

    We will let you know when there is a date.

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

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

Open Support Ticket