Results 1 to 2 of 2

Thread: Removing Ad tabs in home page

  1. #1
    Senior Member peri2616's Avatar
    Join Date
    Feb 2016
    Posts
    162
    Thanks
    49
    Thanked 6 Times in 6 Posts

    Removing Ad tabs in home page

    Trying to remove Ad tabs in home page.

    After reading the thread
    https://forums.appthemes.com/help-us...emplate-96558/
    added the following code to functions.php in child theme.

    Code:
    function remove_front_tabs() {
    	return array();
    }
    add_filter( 'cp_ads_listing_tabs', 'remove_front_tabs' );
    Added the following code to style.css in child theme.
    Code:
    .content_left .tabcontrol {
        min-height: 0;
    }
    
    
    .content_left ul.tabnavig {
        height: 0;
    }
    Ad tabs are removed in home page. But, there is a long vertical space between search box and footer.

    Please help to remove the long vertical space.

    Thanks.

  2. #2
    Moderator ovidiubica's Avatar
    Join Date
    Mar 2011
    Posts
    5,749
    Thanks
    240
    Thanked 1,062 Times in 1,000 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Custom home page tabs
    By dwdesign in forum ClassiPress General Discussion
    Replies: 0
    Last Post: April 1st, 2015, 01:59 PM
  2. Home Page Tabs
    By adbaldw2 in forum Directory
    Replies: 0
    Last Post: July 12th, 2014, 05:24 PM
  3. Home page tabs
    By fusac in forum eClassify
    Replies: 3
    Last Post: December 17th, 2013, 11:38 AM
  4. Home page tabs can't disable
    By yl88 in forum eClassify
    Replies: 4
    Last Post: September 24th, 2013, 09:22 AM
  5. Tabs on home page
    By sarhow in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: August 9th, 2011, 01:39 PM