Join our new community forum for support & discussion

Join Now

Home Support Themes RentalHive Display A Banner At The Top Of All The Pages

Display A Banner At The Top Of All The Pages

  • Author
    Posts
  • Jessie

    Hello,
    Can you share a solution to display a banner on top of the page.

    Thank you!

    yevhen developer

    Please let me know if you mean some specific page or just adding a banner for all the pages? It is possible, but this would require overriding the header.php file (it contains the header section HTML) via a child theme and adding the banner to its code.

    Stiffcio

    I was wondering about the same.
    For example, after using the search engine without typing, there should be a slider with the words “select categories”

    https://listinghive.hivepress.io/?post_type=hp_listing&latitude=&longitude=&_category=&s=&location=

    Jessie

    Hi Yevhen, any one of the following options would be great:
    1: Adding banner at all pages.

    Or 2: Adding a pop up when sending message or click on “Booking”. The popup is “Vetting is your responsibility, Link to Terms & Condition”, and user can only proceed by clicking “OK”. Or click “Cancel”.

    yevhen developer

    @Jessie The easiest way to add it to all pages would be creating a child theme and overriding the header.php file (it contains the header layout for all pages), and inserting the custom banner HTML. This requires basic coding skills.


    @Stiffcio
    If you mean adding some content conditionally it is possible, but requires a custom snippet that checks the HivePress listings page and outputs custom HTML (e.g. slider). You can also enforce selecting a category first by checking the “Display categories instead of listings” option in settings.

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

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.