Hide specific part of "Add Listing" page

This topic contains 10 replies, has 2 voices, and was last updated by  f.daliessi 8 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #64416

    f.daliessi
    Expired Member
    Post count: 85

    Hi, question is simple: how can I delete/hide this specific part of the website?

    I tried to use the code

    
    
    #geodir_content > p {display:none;}
    #geodir_content > header {display:none;}

    with success. But is it right? Or am I going to hide too many things?

    Screenshot attached

    #64446

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    yes that would be far too generic. This will do it:

    
    
    .add-listing .entry-header, .add-listing .geodir-note {
        display: none;
    }

    Let us know how you went,

    Thanks

    #64652

    f.daliessi
    Expired Member
    Post count: 85

    It worked thanks. Ps: you forgot a “,” after .add-listing

    #64688

    Paolo
    Site Admin
    Post count: 31206

    Nope I didn’t. If you put a comma after .add-listing you will hide the entire form…

    Thanks

    #64690

    f.daliessi
    Expired Member
    Post count: 85
    This reply has been marked as private.
    #64769

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    that is because the default “add-listing” page is not used in your case.

    I’ve changed the CSS to:

    
    
    .page-id-7 .entry-header, .page-id-7 .geodir-note {
        display: none;
    }

    and it works.

    Thanks

    #64828

    f.daliessi
    Expired Member
    Post count: 85

    Thanks a lot Paolo!!

    #64907

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

    #64913

    f.daliessi
    Expired Member
    Post count: 85
    This reply has been marked as private.
    #64916

    Paolo
    Site Admin
    Post count: 31206
    This reply has been marked as private.
    #64919

    f.daliessi
    Expired Member
    Post count: 85

    Ok nevermind 😉

    Creating a new thread right now

    thanks paolo

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

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

Open Support Ticket