Remove basket

  • Vane
    Newbie 3 points
    November 4, 2019 at 10:35 pm

    How can i remove basket in main menu and, Details on listing display (look pictures) 😀
    tnx for help.

    You must be logged in to view attached files.
  • JamesD
    Super Guru 1,700 points
    November 8, 2019 at 3:18 am

    Hello Vane,

    The quickest/easiest way to remove the basket would probably be via CSS as opposed to editing a file.
    Try placing this CSS within your custom stylesheet or in the PremiumPress > DESIGN SETUP > CUSTOM CSS/STYLES > Header Styles (wp_head) setting and see if that takes care of it:

    #menu-mainforum li.float-lg-right { display: none; }

    To remove the block with the details you can edit the file:

    1. Make a backup of the /SO9/_download/template/content-listing.php file.
    2. Open the file and remove the HTML for that section starting around line #42 to #68
    3. Save the file and verify the section has been removed.

    The complete HTML to remove should look like:

       <div class="bg-light pr-2 pt-2 mt-2 border-top">
          <div class="row">
             <div class="col-md-9 col-sm-6 col-12 pr-0">
                <ul class="list-inline mt-1 flex-list">
                   <li class="list-inline-item bg-light border-0">
                      <i class="fa fa-shopping-basket h6"></i>
                      <span class="font-weight-bold h6"><?php echo do_shortcode('[PRICE]'); ?></span>
                   <li class="list-inline-item"> <i class="fa fa-download"></i> <?php echo do_shortcode('[DOWNLOADS]'); ?> <?php echo __("Downloads","premiumpress") ?>
                   <?php if(_ppt('comments') == 1){ ?>
                   <li class="list-inline-item">
                      <i class="fa fa-comment" aria-hidden="true"></i> <?php echo $post->comment_count; ?> <?php echo __("Comments","premiumpress") ?>
                   <?php } ?>
                   <li class="list-inline-item last"><i class="fa fa-bar-chart-o"></i> <?php echo str_replace("%s",do_shortcode('[HITS]'),__("Viewed %s times","premiumpress")); ?>
             <div class="col-md-3 col-sm-6 pl-lg-0 col-12">
                <div class="btn-group btn-block mt-1">
                   ID); ?>"><i class="fa fa-search text-white" style="width:16px; height:20px"></i>
                   ID); ?>"><?php echo __("View Details","premiumpress") ?>
  • Marie
    Super Guru 1,859 points
    November 11, 2019 at 2:25 am

    Thanks for sharing James 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes