Geocraft -- Hide automaticly the featured slider if no featured listing

Discussion in 'GeoCraft WordPress Theme' started by aliounn, Dec 27, 2012.

  1. aliounn

    aliounn Member

    Joined:
    Dec 7, 2012
    Messages:
    136
    Likes Received:
    6
    Hi,
    I would like to Hide automaticly the featured slider if there is no featured listings in the select category.I dont want to show an empty bloc with " no listing found ". a file attached
     

    Attached Files:

  2. colossalmktg

    colossalmktg Member

    Joined:
    Dec 22, 2012
    Messages:
    47
    Likes Received:
    1
    Location:
    Oklahoma, USA
    That's a great point. I wasn't liking the alternative. Giving some businesses a free featured listing just to make sure that section is populated with something.
     
  3. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    You need to do it manually.
    If you don't have featured listings then, Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    #wrap {
    display: none!important;}
     
    .content_wrapper .info_bar {
    display: none!important;}
     
  4. colossalmktg

    colossalmktg Member

    Joined:
    Dec 22, 2012
    Messages:
    47
    Likes Received:
    1
    Location:
    Oklahoma, USA
    Is that for ALL featured listings (carousels) or just the Home page or just the Category pages? We don't want to hide the carousel everywhere. We just want to hide it in categories that have no purchased featured listings.
     
  5. aliounn

    aliounn Member

    Joined:
    Dec 7, 2012
    Messages:
    136
    Likes Received:
    6
    Nitesh , we just want to hide this if the selected category doesn't have featured listing. this must be done automatically is any listing found.
    Also it's better to hide the jcarousel-prev and jcarousel-next images if we have less than 4 featured listings in the carousel. only show them with 4 images or more.
    please look at the attached file.

    thank's
     

    Attached Files:

  6. rogerb

    rogerb Active Member

    Joined:
    May 8, 2012
    Messages:
    481
    Likes Received:
    33
    I agree, I'm just setting up a site template ready for cloning and it does look bad with just the wording as discussed - is support listening?
     

Share This Page