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

Title: I need category section on homepage like lakompra.com
Post 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 .
Title: Re: I need category section on homepage like lakompra.com
Post by: Carlos Carcamo on March 11, 2017, 05:33:14 AM
I will work on your request just give a few minutes
Title: Re: I need category section on homepage like lakompra.com
Post by: Carlos Carcamo on March 11, 2017, 05:52:26 AM
In order to contract the category option, you need to open the reponsive.css and look for this code
Code: [Select]
.top-cat-wrap.home and add this comment to the display code
Code: [Select]
{/*display:block;*/}.

In order to show the last items on the homepage, just add this code at the bottom of the responsive.css file

Code: [Select]
.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

Code: [Select]
.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

Code: [Select]
<a href="<?php echo osc_item_post_url(); ?>" class="float">
<i class="fa fa-plus my-float"></i> Add Post
</a>