Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

How to remove project description/details in a portfolio item?

    • 8 years, 7 months ago mire82
      Participant

      Expired

      Hello! I would like to remove the “project description” and “project details” from all the portfolio pages – is there a way to do this in the settings?

      Thank you!

      Mirela

       

    • 8 years, 7 months ago Mirela
      Participant

      Hello,

      You can do this in two ways:
      -By editing theme files. Not recommended as it would prevent you from taking future important theme updates.
      -With custom css. Recommended, as the code is added in General Options > Custom css box. It will be saved in the database and it’s independent from any theme update.
      Add this code:

      .portfolio_single h4 { display: none;}
      .portfolio_single .row-fluid .span9 {  width: 100% !important;}

      Result screenshot: https://pho.to/AWpzB
      Let us know.

      Best regards!

      • This reply was modified 8 years, 7 months ago by Mirela.
    • 8 years, 7 months ago mire82
      Participant

      Expired

      Thank you! I did it with custom css and it works.

      Thanks for your help!

    • 8 years, 7 months ago mire82
      Participant

      Expired

      One more question: I have been trying to remove the dropdown menu from the “genealogy services” but I didn’t manage. Is there a way to do it in the settings?

      Thank you so much.

    • 8 years, 7 months ago Mirela
      Participant

      Hello,

      Please go to your Appearance > Menus. Select the main menu and click on the menu item. In the drop down you will see the “remove” option in red(screenshot). Click it to remove the unwanted item. Save changes.

      Best regards!

    • 6 years, 7 months ago staciemercure
      Participant

      Hello!

      I am having the same issue and trying to remove Project Description and Project Details from the Portfolio interface. How do I do this? The forum below did not help when pasting the code above into the custom CSS box.

      Thank you in advance!

       

    • 6 years, 7 months ago Ruco
      Keymaster

      Hello,

      Please try to add this line in the end of style.css file of the child theme:

      .portfolio_single h4 {display:none;}

      Keep in mind this custom css will work only for Tower WordPress Theme.

      Let us know.

      Regards!

    • 6 years, 7 months ago staciemercure
      Participant

      Great, that worked.

      Now, how do you remove the magnifying glass and link icon and just have the image link to the new page. I do not want the option for an image to be enlarged, just click through to the page. This is all under Portfolio.

       

      Thank you!

    • 6 years, 7 months ago Ruco
      Keymaster

      Hello,

      If you want to remove the the two icons from the portfolio page you have to edit the portfolio page style;

      Check the documentation: https://codeless.co/tower/documentation/main.html#portfolio_page

      You have to set the Portfolio Style : Overlay with base color and effect

      Also to add a custom link you have to edit the Portfolio Items and on the Page Styles: Switch on the “Overwrite the link with your custom link” option and write down your link.

      In case you want to maintain the basic style and remove the two icons you have to add this css code:

      .portfolio-item.basic .bg { display:none }

      To link the image you and not only the title on the basic style you have to edit the file themes\tower\includes\view\portfolio\loop-grid.php.

      Find the lines below:

      if($style == 'basic'){ ?>
      
                       <div class="portfolio-item mix <?php echo esc_attr($sort_classes) ?> <?php echo esc_attr($extra_class) ?>  <?php echo esc_attr($style) ?>" data-id="<?php echo get_the_ID() ?>">
                          <div class="he-wrap tpl2">
                              <?php if($columns == 5) $columns = 4; ?>                
                              <img src="<?php echo esc_url(codeless_image_by_id(get_post_thumbnail_id(), 'port'.$columns, 'url')) ?>" alt="">

      and replace with:

      if($style == 'basic'){ ?>
      
                       <div class="portfolio-item mix <?php echo esc_attr($sort_classes) ?> <?php echo esc_attr($extra_class) ?>  <?php echo esc_attr($style) ?>" data-id="<?php echo get_the_ID() ?>">
                          <div class="he-wrap tpl2">
                              <?php if($columns == 5) $columns = 4; ?>                
                              <a href="<?php echo $link ?>"><img src="<?php echo esc_url(codeless_image_by_id(get_post_thumbnail_id(), 'port'.$columns, 'url')) ?>" alt=""></a>

      Save the file and everything will be ok.

      Best Regards!

Viewing 8 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password