?listing_type=gd_place

This topic contains 3 replies, has 2 voices, and was last updated by  Alex Rollin 7 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #419313

    Julie H
    Free User
    Post count: 44

    Hello,
    I’d like to add CSS on the add listing form page (to hide some default fields – like place description or key word) but I don’t find the good php. file to do that.

    On the web site, the url of the page is : http://www.onvaauparc.com/ajouter-un-parc-2/?listing_type=gd_place

    But In GD function files, I don’t find it.

    Hope you’ll understand my request.

    Thank you

    #419340

    Alex Rollin
    Moderator
    Post count: 27815

    Place description can be made optional with a snippet.

    https://wpgeodirectory.com/docs/common-code-snippets/#desc

    Once rendered optional, you can hide it with CSS.

    Tags can also be hidden with CSS, and is already optional.

    For information about using snippets, creating custom CSS, and adding custom CSS to your GD, we have this page:

    https://wpgeodirectory.com/docs/customizing-your-style/

    Which field do you mean by “keyword”?

    #419451

    Julie H
    Free User
    Post count: 44

    Thank you but you already replied this to a previous message.
    I already rendered these fileds optional.

    To add custom CSS, I have to find the correct code to copy it in my child theme. That’s the point, I don’t find it.
    I’ll retry to find it with inspector and tell you.

    (Sorry, keyword is tag)

    thanks !

    #419511

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    yes, you should use the inspector to identify the selector.

    Here is the selector for the description:

    
    
    
    div#geodir_post_desc_row {
        visibility: hidden !important;
        display: none !important;
    }
    

    and tags

    
    
    
    div#geodir_post_tags_row {
        visibility: hidden !important;
        display: none !important;
    }
    
Viewing 4 posts - 1 through 4 (of 4 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