Show add listing and post a request in mobile view

How can I remove the “Post a Request” and “Add a listing” buttons? Or a better alternative would be to rather make their text visible on mobile, if that’s possible (otherwise, removing them is a decent option).

I wasn’t able to find a similar inquiry on the forum.

Hi,

  1. To show the “Post a Request” button text on mobile, please try to use this CSS snippet:
.hp-menu--site-header .hp-menu__item--listing-submit span {
    display: inline!important;
}

.hp-menu--site-header .hp-menu__item--listing-submit i {
    margin-right: 0.5rem!important;
}
  1. To show the “Add Listing” text in mobile view, please use this snippet:
.hp-menu--site-header button span{
	display: inline !important;
}

.hp-menu--site-header button i:first-child{
	margin-right: 0.5rem !important;
}

Additionally, please check this doc on how to add CSS: How to add custom code snippets - HivePress Help Center

Hope it helps.

Thanks! The “List a Service” button now appears in mobile view, but “Post a Request” still doesn’t. Additionally, please send me the CSS code for removing the “Post a Request” button.

Hi,

  1. Please use this CSS snippet to remove the “Post a Request” button:
.hp-menu__item.hp-menu__item--request-submit {
	display: none;
}

Hope it helps.

It works, thank you very much!

1 Like

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