Join

Selectively Hide the MyListing Default Header

Don't want to mess with code snippets? Request for this to be a feature of MyListing Pro.

Instructions

  1. Create a new CSS code snippet.
  2. Copy the contents of code snippet below.
  3. Paste the contents into your code snippet.
  4. Review any notes that I’ve provided.
  5. Save and enable the code snippet.
  6. Test.

Snippet

Hide Entirely

.single-listing header {
     display: none;
}

Hide For Specific Listing Types

Replace ‘events’ with the name of your Listing Type.

.single-listing.type-events .header {
    display: none;
}

You can use this snippet if you have multiple Listing Types you wish to hide the header on.

.single-listing.type-events .header, .single-listing.type-jobs .header {
    display: none;
}