• Resolved joelee2024

    (@joelee2024)


    Hi just need some advice on how to change colours of add listing button and search banners buttons and banner text, also how to hide user tab links like orders etc please.

    Plus how to add search address field as only can see radius not location fields for address search.

    Thanks

Viewing 1 replies (of 1 total)
  • Hi @joelee2024,

    Thank you for reaching out.

    1. Changing Button and Banner Colors: If you’re using the Directorist theme, you can easily change the colors of the “Add Listing” button, search banner buttons, and banner text by going to Appearance > Theme Options > Colors in your WordPress dashboard.

      If you’re using a third-party theme, you can achieve the same result by adding the following CSS code:
      /* Button Colors */
      .btn-add-listing, .directorist-search-contents .directorist-search-form-box-wrap .directorist-search-form-action .directorist-search-form-action__submit .directorist-btn-search {
      background-color: green !important;
      border: 1px solid green !important;
      }
      /* Banner Text Colors */
      .directorist-search-top *,
      .directorist-listing-type-selection * {
      color: blue !important;
      }
      .directorist-listing-type-selection i.directorist-icon-mask:after, .directorist-listing-type-selection__item a:after {
      background-color: blue !important;
      }
      You can customize the background-color and color properties with your desired colors.
    2. Hiding User Tab Links (e.g., Orders): To hide specific user tab links like “Orders,” you can use the following CSS:
      /* Hide Dashboard Menu Item */
      ul.directorist-tab__nav__items .directorist-tab__nav__item:nth-child(7) { display: none;
      }
      This will hide the 7th item in the user dashboard menu. Adjust the nth-child(7) value to target different items as needed.
    3. Adding Search Address Field: If you’re only seeing the radius field and not the location field, you may need to ensure the location field is added in your search form settings. You can add it from Dashboard > Directory Listings > Directory Builder > Search Form and select and drag the “Location” field under the ‘Active Fields’ section.

    Let me know if you need any further assistance.

    Best Regards,
    Al-Amin Khan

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.