This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

san37

  • ***
  • 89 posts
top-cat in item-post
« on: March 05, 2016, 09:21:56 PM »
Tell me how to hide the top-cat in item post?
It is necessary that he always was veiled in item-post

People get confused, think they select a category for posting new ad

« Last Edit: March 05, 2016, 09:28:21 PM by san37 »

*

MB Themes

Re: top-cat in item-post
« Reply #1 on: March 05, 2016, 10:07:57 PM »
@san37
Add to item_post.php and item_edit.php code:
Code: [Select]
<style>
#top-cat {display:none!important;}
</style>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

san37

  • ***
  • 89 posts
Re: top-cat in item-post
« Reply #2 on: March 05, 2016, 10:17:31 PM »
thank you! :)

*

MilkyMaine

  • ***
  • 30 posts
Re: top-cat in item-post
« Reply #3 on: March 06, 2016, 03:56:49 PM »
I love this question as it is a very big necessity. But i wish to add. Is there anyway i can use a button instead to display and hide the top cat on all pages apart from the homepage?? if yes, what are the things i need to do?

*

MB Themes

Re: top-cat in item-post
« Reply #4 on: March 06, 2016, 05:06:19 PM »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MilkyMaine

  • ***
  • 30 posts
Re: top-cat in item-post
« Reply #5 on: March 06, 2016, 11:39:59 PM »
Thanks Man!

Please help me out again. I tried to change the toggle text. I want when a user clicks on "show category" it shows the category then CHANGES the "show category" text to "hide category"

I tried it below but it isn't working. Please tell me why? Thanks for your help once more.


http://jsfiddle.net/vVsAn/4816/

*

MB Themes

Re: top-cat in item-post
« Reply #6 on: March 07, 2016, 08:48:14 AM »
@MilkyMaine
I sent you pattern, you should be able to integrate it by yourself.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MilkyMaine

  • ***
  • 30 posts
Re: top-cat in item-post
« Reply #7 on: March 09, 2016, 12:48:30 AM »
Thank you very much frosticek.. I have successfully done it but i have one problem. It is also displaying on the home/landing page. How do i disable it. I don't want it show on the homepage.

Marked as best answer by frosticek on March 09, 2016, 06:35:56 AM
*

MilkyMaine

  • ***
  • 30 posts
Re: top-cat in item-post
« Reply #8 on: March 09, 2016, 01:00:13 AM »
 ;D ;D ;D ;D
Oh i fixed it. out of curiosity i played around with the main.php with this.

Code: [Select]
<style>
#hideshow {
display:none!important;
}
#content  {
    display: block!important;
}
</style>

*

MB Themes

Re: top-cat in item-post
« Reply #9 on: March 09, 2016, 06:35:46 AM »
@MilkyMaine
Yes something like that ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots