Support Forums - Classified Ads Script Osclass
Osclass theme support => Zara Osclass Responsive Theme => Topic started by: MeroWish.com on March 11, 2017, 04:45:02 AM
-
Hello sir, will you please help me for th category on homepage how to minimize that section and on down side how to add that small button of "Post Ad"
Waiting for your kind response & reply .
-
I will work on your request just give a few minutes
-
In order to contract the category option, you need to open the reponsive.css and look for this code
.top-cat-wrap.home
and add this comment to the display code {/*display:block;*/}
.
In order to show the last items on the homepage, just add this code at the bottom of the responsive.css file
.hc-latest{
display: block;
}
In order to show an "Add Post" in the right corner at the bottom, just add this code in responsive.css
.float{
position:fixed;
width:80px;
height:30px;
bottom:16px;
right:11px;
background-color:#448aff;
color:#FFF;
border-radius:0px;
text-align:center;
box-shadow: 2px 2px 3px #999;
font-family:inherit;
text-decoration: none;
}
.my-float{
margin-top:8px;
}
The last thing is to add the button to the footer, open footer.php and in line 402 add this code
<a href="<?php echo osc_item_post_url(); ?>" class="float">
<i class="fa fa-plus my-float"></i> Add Post
</a>