Widget options

This topic contains 7 replies, has 2 voices, and was last updated by  Guust 8 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #124430

    Joy
    Buyer
    Post count: 1076

    Hello, how would I remove the favorite option from the listing widgets? I would still like them to appear on the actual listing detail pages. Using the “display: none;” removes from both the widget and the listing.

    Thank you.

    #124686

    Guust
    Moderator
    Post count: 29970

    You just have to target the right class a bit better, for example

    #geodir_content .geodir-addtofav-icon {display:none;}

    Without seeing the page where you want to hide it, I am not sure that code will work, but you should be able to adjust it if you inspect the code.

    #124798

    Joy
    Buyer
    Post count: 1076

    Thank you, I’ve tried, but it’s not taking…I am trying to hide the favorite link and icon from the GD Popular Views Widget.

    I’ve tried this and a few others, but I believe this is the right class I should be targeting.

    
    
    #geodir-addinfo .geodir-addtofav-icon {
    	display: none;
    }
    #124804

    Guust
    Moderator
    Post count: 29970

    Without seeing the page where you want to hide it, I am not sure that code will work, so if you want us to check, post at least your URL and maybe also your WP admin details.

    #124807

    Joy
    Buyer
    Post count: 1076
    This reply has been marked as private.
    #124810

    Guust
    Moderator
    Post count: 29970

    This should work:

    .geodir_popular_post_view .geodir-addtofav-icon {display:none}

    Yours might work too, but change it to

    
    
    .geodir-addinfo .geodir-addtofav-icon {
    	display: none;
    }

    geodir-addinfo is a class, not an ID, so it needs a

    .

    instead of a

    #
    #124812

    Joy
    Buyer
    Post count: 1076

    Great, thank you so much. Your code worked for me.

    #124813

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount