How to hide the dots that are throughout the site in home page

Hello!

  1. Currently there are the groupings of dots throughout and I have been trying to remove them via additional CSS with no luck.

I have included a ss of the dots that I am referencing.

  1. Could you please explain the function of “Price” ? It appears to be required, however we are going with an hourly rate here so I am wondering how “Price” will impact.

  1. A further issue that I am encountering on dummy accounts I have set up is with logging in.

I have a screen recording, unfortunately it won’t allow me to attach it.
When logging in, after entering the email, password then submitting it is just returning to the home screen.
No error messages and it does not log me in.
It does this on multiple (all) accounts.
While testing tonight I confirmed that it will work once after the password is updated, once logged out, it does this again.
I am using the correct password.
I have disabled all non HivePress Plugins and tested to ensure it is not a compatability issue.
This is obviously a big deal as people need to be able to log into their accounts regularly.

Thank you in advance for assistance on all of these :slight_smile:

#3 appears to have resolved for now :slight_smile:

Still need assistance with #1 and #2 if possible :slight_smile:

Hello, could I pretty please get a response :slight_smile:

Hi,

Sorry for the delay.

  1. Please try to use this CSS snippet:
.header-hero,.header-hero__images {
    background-image: none;
}

.header-hero__images::before {
    background: none;
}

.content-block::after, .content-block::before {
    background-image: none;

}

Please note that it can require further customization.

  1. Hourly rate is a custom attribute from the demo version, you can remove it in Listings > Attributes and use only the mandatory Price field, which is built-in from the Marketplace extension.

  2. Please disable third-party plugins and customizations (if there are any) and check if this issue persists. If you use a caching plugin, make sure that caching is disabled for logged-in users. Also, please refresh permalinks: How to refresh WordPress permalinks - HivePress Help Center. If this issue exists, please send a screencast to our email: support@hivepress.io

​I hope this is helpful to you

Thank you, that worked to remove it from the hero section:)

As for Q2 about price, I understand how the hourly price option works and it is what I intend to use. It is the other required “Price”, what does that one do? Is it just so there is something to display? I find it will be confusing for the customer and this is the one I’d like to remove, but first I would like to know what it does.

I appreciate your assistance :slight_smile:

I have found the code snippet to add the /day and edited it for /hr to price (and found the purpose of this, glad I didn’t delete it!!)

This snippet worked to add /hr to the listings however it did not change it on the add details section when a vendor is creating their listing.

Is there CSS or a Snippet that can adjust this here? I went in to play with the template but really don’t want to mess around with that and did not find any blocks that I found related to it.

GPT was able to work this out for me as I slowly fed it pieces of the puzzle, for anyone else looking for the code to do this when vendors are creating a listing in Experthive these are the snippets I’ve used

To display on listings:

add_filter(
    'hivepress/v1/models/listing/fields',
    function( $fields, $model ) {
        if ( isset( $fields['price'] ) ) {
            $fields['price']['display_template'] = '%value% / hr'; // Change to "/ hr"
        }

        return $fields;
    },
    1000,
    2
);

To add “Enter Price Per Hour” as a prompt

add_action('wp_footer', function() {
    ?>
    <script>
    document.addEventListener("DOMContentLoaded", function() {
        let priceField = document.querySelector('input[name="price"]'); // Target the price input field

        if (priceField) {
            priceField.placeholder = "Enter price per hour"; // Change placeholder text

            // Listen for input changes and append "/ hr" after the value
            priceField.addEventListener("input", function() {
                if (this.value && !this.value.includes("/ hr")) {
                    this.value = this.value.replace(/[^0-9.]/g, '') + " / hr"; // Ensures numeric input
                }
            });
        }
    });
    </script>
    <?php
});

1 Like

Hi,

Thank you for the solution, it will be useful for our community.

I managed to hide the dots in listing and request title (Experthive) with the following CSS:

*hide 8 dots in title*/
.hp-listing--view-page .hp-listing__title::before {
	display: none;
}

Hope this is helpful.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.