Osclass Support Forums
Osclass theme support => Beta Osclass Theme => Topic started by: Miller on September 08, 2019, 03:16:14 PM
-
How to add “POST A AD “ in search page
https://prnt.sc/p3d56k
-
@Miller
On search page is "Filter" icon so it may overflow this button.
You can go to footer.php and find this code:
<?php if(osc_is_home_page()) { ?>
Replace it with:
<?php if(osc_is_home_page() || osc_is_search_page()) { ?>
-
Not working
-
Then you have not done it properly. Check css as well.
-
Please check this
https://prnt.sc/p3vhu3
-
@Miller
In responsive.css of theme folder you have:
body#body-item .mobile-post, body#body-search .mobile-post { display: none; }
-
Solved :)
-
In responsive.css add this line inside of this
@media screen and (max-width: 420px) {
body#body-item .mobile-post, body#body-search .mobile-post { display:initial; }
}
now showing Post an Ad button while scrolling down in mobile view mode