-
-
I’m trying to remove the Project details, is there any way I can push the project description to full-width? Right now it just seems like the Project details are simply hidden but the space is still there.
The code for custom CSS right now is:
.single_portfolio_container .details h4 { display: none;}
.portfolio_single h4 { display: none;} -
Also, is it possible to change the titles of “Project Description” and “Project Details” to something else?
-
Hello,
Please go to file includes/view/portfolio/single-fullwidth.php. To remove the project details area, find these lines:
<div class="container"> <div class="row-fluid content"> <div class="span9"> <h4><?php _e('Project Description', 'codeless') ?></h4> <?php the_content(); ?> </div> <div class="span3"> <h4><?php _e('Project Details', 'codeless') ?></h4> <ul class="info"> <?php if(!empty($cl_redata['single_portfolio_custom_params']) ): for($i = 0; $i < count($cl_redata['single_portfolio_custom_params']); $i++): ?> <?php if(isset($cl_redata['single_portfolio_custom_fields'][$i]) && !empty($cl_redata['single_portfolio_custom_fields'][$i]) ): ?> <li><span class="title"><?php echo esc_attr($cl_redata['single_portfolio_custom_params'][$i]) ?></span><span><?php echo esc_attr($cl_redata['single_portfolio_custom_fields'][$i]) ?></span></li> <?php endif; ?> <?php endfor; endif; ?> <?php if($cl_redata['portfolio_post_like']): ?> <li class="post-like"><?php echo getPostLikeLink( get_the_ID() ); ?></li> <?php endif; ?> </ul> </div> </div>
Replace with these:
<div class="container"> <div class="row-fluid content"> <div class="span12"> <h4><?php _e('Project Description', 'codeless') ?></h4> <?php the_content(); ?> </div> <!--<div class="span3"> <h4><?php _e('Project Details', 'codeless') ?></h4> <ul class="info"> <?php if(!empty($cl_redata['single_portfolio_custom_params']) ): for($i = 0; $i < count($cl_redata['single_portfolio_custom_params']); $i++): ?> <?php if(isset($cl_redata['single_portfolio_custom_fields'][$i]) && !empty($cl_redata['single_portfolio_custom_fields'][$i]) ): ?> <li><span class="title"><?php echo esc_attr($cl_redata['single_portfolio_custom_params'][$i]) ?></span><span><?php echo esc_attr($cl_redata['single_portfolio_custom_fields'][$i]) ?></span></li> <?php endif; ?> <?php endfor; endif; ?> <?php if($cl_redata['portfolio_post_like']): ?> <li class="post-like"><?php echo getPostLikeLink( get_the_ID() ); ?></li> <?php endif; ?> </ul> </div>--> </div>
To edit the titles, in the same file, find the “Project Description” and “Project Details” and edit them.
Save changes.Best regards!
-
You must be logged in to reply to this topic.