Sidebar on the right (or hide)

  • Author
    Posts
  • mohammad

    Hi dear friends.
    I apologize for the simple question. How to enable the sidebar of ‘Listings’ page on the right?

    Or hw to hide the sidebar and get full page? I tried this, but doesn’t help (http://a.zavod.tj/).

    .tax-hp_listing_category .hp-page__sidebar {display:none}
    .tax-hp_listing_category .hp-page__content {flex-basis:100%; max-width:100%}
    ihordeveloper

    This CSS snippet should do it:

    .hp-template--listings-view-page .hp-page > .hp-row {flex-direction:row-reverse}

    mohammad

    Thank you a lot, it has worked! Thanks for support, you are great!

    But if I want to hide it?

    ihordeveloper

    Try using this one:

    .hp-template--listings-view-page .hp-page__sidebar {display:none}
    .hp-template--listings-view-page .hp-page__content {flex-basis:100%; max-width:100%}
    mohammad

    Thanks so much!

    mohammad

    But I have other problems.
    1. I need to put the number of all the ads on the front page.
    2. During the adding ad, after “Description”, before the button “Send an ad” should be placed a note with the text “Your ad will be hidden in 14 days”.
    Could you show me any solution, please….

    ihordeveloper

    Sorry, but I can’t help you with customizing your site, you can consider hiring someone for this purpose. Also, you can try searching the forum to find a solution https://hivepress.io/support/topic/number-of-ads/

    mohammad

    Understand, Thank you a lot for all.

    But I used those code to appear the sidebar on the right, because I wanted it appeared on the right and also in phone version it will be after listings, not before, I tried this snipped and it worked in computer version:
    .hp-template--listings-view-page .hp-page > .hp-row {flex-direction:row-reverse}
    How to appear the sidebar in phone after listings (sorry for bad english….)

    ihordeveloper

    Please check this topic, there’s a PHP snippet that changes the sidebar position via PHP instead of CSS https://hivepress.io/support/topic/default-listing-page-edit/#post-3765

    mohammad

    Thank you, your support is the best!

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

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.