Hide the add to favorites "Heart" button

This topic contains 9 replies, has 4 voices, and was last updated by  Dave Flanagan 6 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #402718

    Dave Flanagan
    Free User
    Post count: 81

    I thought I had hidden all instances of favoriting a listing but I missed one. (refer to screenshot) I added some css in hopes of removing the heart but nothing seems to work.

    Thanks
    Dave

    #402730

    Kor
    Moderator
    Post count: 16516
    #402760

    Dave Flanagan
    Free User
    Post count: 81

    The favorite “heart” is still clickable after adding the css, maybe there is another setting that I haven’t checked. I’ll keep looking.

    Thanks
    Dave

    #402780

    Paolo
    Site Admin
    Post count: 31206

    Hi Dave,

    please provide a link and we’ll inspect your page.

    Thanks

    #402783

    Dave Flanagan
    Free User
    Post count: 81
    #402784

    Dave Flanagan
    Free User
    Post count: 81
    This reply has been marked as private.
    #402794

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    I used

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

    Which is part of what was referred to here: https://wpgeodirectory.com/docs/faqs/how-do-i-disable-favorites/

    .geodir-addtofav, .geodir_category_list_view li .geodir-addinfo a.geodir-pcomments, .geodir_category_list_view li .geodir-addinfo span { display: none; }

    Let us know how it works for you

    The image below shows how to use chrome devtools inspector to find, copy, and edit the selector, for your future reference. Additional instructions are here: https://wpgeodirectory.com/docs/customizing-your-style/

    Thanks!

    #402935

    Dave Flanagan
    Free User
    Post count: 81

    I added the css

    #402937

    Kor
    Moderator
    Post count: 16516

    Hi dave,

    I’ve just added an “!important” tag on the custom CSS code and it seems to work now. Could you please check?

    Thanks!

    #403238

    Dave Flanagan
    Free User
    Post count: 81

    Thank you for your help Kor!

    Dave

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

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

Open Support Ticket